1.4.0 • Published 7 years ago

@niksy/tv-shows-cli v1.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

tv-shows-cli

Build Status

Personal TV shows manager.

npm.io

Install

npm install -g @niksy/tv-shows-cli

Usage

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

Configuration is stored in .tvshowsrc file and parsed with cosmiconfig.

PropertyTypeDefaultDescription
subtitleLanguageString|NumberSubtitle language.
qualityString[]Video/audio quality.
countryString[]Country schedule.
excludeTorrentServiceString[][]Exclude torrent service from checking.
showsDirStringOS homedirShows directory location. Used for default subtitle download location.
maxItemsNumber15Maximum number of torrents and subtitles to display.
refreshPlexLibraryBooleanfalseRefresh Plex library when organizing files.
removeWatchedEpisodesBooleanfalseRemove watched episodes from Plex library.
showsObject[]List of shows.

Example

{
	"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 }}"
			]
		}
	]
}

License

MIT © Ivan Nikolić