@niksy/tv-shows-cli

1.4.0 • Public • Published

tv-shows-cli

Build Status

Personal TV shows manager.

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.

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.

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ć

Package Sidebar

Install

npm i @niksy/tv-shows-cli

Weekly Downloads

3

Version

1.4.0

License

MIT

Last publish

Collaborators

  • niksy