Skip to content

cadivus/tvrecinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tvrecinfo

This tool is for getting information about episodes of tv-series by specifying the title of an episode.

Help output

$ tvrecinfo --help
usage: tvrecinfo [-h] [--get-column GET_COLUMN] [--title TITLE]
                 [--in-database]
                 database

positional arguments:
  database              Specifies database-source

optional arguments:
  -h, --help            show this help message and exit
  --get-column GET_COLUMN
                        Specifies column to print
  --title TITLE         Specifies title
  --in-database         Prints whether title is in database

Examples

$ tvrecinfo "https://www.eplists.de/eplist.cgi?action=show&file=Alf" --title="Der Rollentausch" --in-database
True
$ tvrecinfo "https://www.eplists.de/eplist.cgi?action=show&file=Alf" --title="Der Rollentausch" --get-column="No."
20
$ var=$(tvrecinfo "https://www.eplists.de/eplist.cgi?action=show&file=Alf" --title="Der Rollentausch" --get-column="SE")
$ echo $var
01

Use cases

Sort VDR-Recording

https://github.com/cadivus/tvrecinfo/tree/master/examples/VDR

Series

Series-Directory

Sort MediathekView abos

https://github.com/cadivus/tvrecinfo/tree/master/examples/MediathekView

Example:

/media/NAS/MediathekView/Tatort/ARD___Tatort___Wer_das_Schweigen_bricht___HD.mp4 
 -> /media/NAS/Filme/Tatort/Frankfurt__Steier_und_Mey/0870__Tatort_Frankfurt_-_Wer_das_Schweigen_bricht.mp4