Personal TV shows manager.
npm install -g @niksy/tv-shows-cli
tv-shows
Personal TV shows manager.
Usage
$ tv-shows [options]
Options
-d, --date [human date] Display TV shows for given (airing) date or range of dates in human readable format (Default: yesterday)
-s, --choose-show Choose TV show regardless of date
-o, --organize-files Organize subtitle and video files (optionally refreshing Plex Media Server library and removing watched episodes)
Configuration is stored in .tvshowsrc
file and parsed with cosmiconfig.
Property | Type | Default | Description |
---|---|---|---|
subtitleLanguage |
`String | Number` | |
quality |
String[] |
Video/audio quality. | |
country |
String[] |
Country schedule. | |
excludeTorrentService |
String[] |
[] |
Exclude torrent service from checking. |
showsDir |
String |
OS homedir | Shows directory location. Used for default subtitle download location. |
maxItems |
Number |
15 |
Maximum number of torrents and subtitles to display. |
refreshPlexLibrary |
Boolean |
false |
Refresh Plex library when organizing files. |
removeWatchedEpisodes |
Boolean |
false |
Remove watched episodes from Plex library. |
shows |
Object[] |
List of shows. |
{
"subtitleLanguage": "en_US",
"quality": ["720p"],
"country": ["US", "GB"],
"excludeTorrentService": [],
"showsDir": "~/Movies",
"maxItems": 15,
"refreshPlexLibrary": false,
"removeWatchedEpisodes": false,
"shows": [
{
"title": "Game of Thrones",
"webChannel": false,
"tvmazeId": 123,
"addic7edId": 456,
"searchQuery": [
"game of thrones",
"of thrones"
],
"advancedSearchQuery": [
"game of thrones {{ season }} {{ episode }}"
]
}
]
}
MIT © Ivan Nikolić