diff --git a/.dockerignore b/.dockerignore index 82cbdf1..8abf5bc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -22,6 +22,10 @@ __pycache__/ # configs *.cfg *.json +*.json.sample + +# documents +*.md # generators *.bat diff --git a/README.md b/README.md index 805f472..673d8f0 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Types of Trakt lists supported: -- Official Trakt lists +- Official Trakt Lists - Trending @@ -21,13 +21,17 @@ Types of Trakt lists supported: - Boxoffice -- Public lists + - Most Watched -- Private lists* + - Most Played + +- Public Lists + +- Private Lists* - Watchlist - - Custom list(s) + - Custom List(s) \* Support for multiple (authenticated) users. @@ -69,8 +73,9 @@ Types of Trakt lists supported: - [Movies (Multiple Movies)](#movies-multiple-movies) - [Show (Single Show)](#show-single-show) - [Shows (Multiple Shows)](#shows-multiple-shows) - - [Examples (Manual)](#examples-manual) - + - [Examples (CLI)](#examples-cli) + - [Movies](#movies) + - [Shows](#shows) --- @@ -299,8 +304,9 @@ You can repeat this process for as many users as you like. }, ``` -`debug` - show debug messages. - - Default is `false` (keep it off unless your having issues). +`debug` - Toggle debug messages in the log. Default is `false`. + + - Set to `true`, if you are having issues and want to diagnose why. ## Automatic @@ -318,27 +324,51 @@ _Note: These settings are only needed if you plan to use traktarr on a schedule "interval": 24, "popular": 3, "trending": 2, + "watched": 2, + "played_all": 2, "watchlist": {}, - "lists": {} + "lists": {}, }, "shows": { "anticipated": 10, "interval": 48, "popular": 1, "trending": 2, + "watched_monthly": 2, + "played": 2, "watchlist": {}, "lists": {} } }, ``` -`interval` - specify how often (in hours) to run traktarr task. +`interval` - Specify how often (in hours) to run traktarr task. + +`anticipated`, `popular`, `trending`, `boxoffice` (movies only) - Specify how many items from each Trakt list to find. + +`watched` - Adds items that are the most watched by unique Trakt users (mutliple viewings excluded). -`anticipated`, `popular`, `trending`, `boxoffice` (movies only) - specify how many items from each Trakt list to find. + - `watched` / `watched_weekly` - Most watched in the week. -`watchlist` - specify which watchlists to fetch (see explanation below) + - `watched_monthly` - Most watched in the month. -`lists` - specify which custom lists to fetch (see explanation below) + - `watched_yearly` - Most watched in the year. + + - `watched_all` - Most watched of all time. + +`played` - Adds items that are most the played items by Trakt users (mutliple viewings included). + + - `played` / `played_weekly` - Most played in the week. + + - `played_monthly` - Most played in the month. + + - `played_yearly` - Most played in the year. + + - `played_all` Most played of all time. + +`watchlist` - Specify which watchlists to fetch (see explanation below). + +`lists` - Specify which custom lists to fetch (see explanation below). ### Personal Watchlists @@ -470,7 +500,9 @@ Use filters to specify the movie/shows's country of origin or blacklist (i.e. fi }, ``` -`disabled_for` - specify for which lists the blacklist must be disabled when running in automatic mode +`disabled_for` - Specify for which lists the blacklist is disabled for, when running in automatic mode. + +- This is similar to running `--ignore-blacklist` via the CLI command. Example: @@ -482,24 +514,33 @@ Example: ], ``` -`allowed_countries` - only add movies from these countries. +`allowed_countries` - Only add movies from these countries. Listed as two-letter country codes. -`allowed_languages` - only add movies with these languages (default/blank=English). +- [List of available country codes](list_of_country_codes.md). + +`allowed_languages` - Only add movies with these languages. Listed as two-letter language codes. + +- By default, traktarr will only query movies in English. If you need to search for other languages (e.g. Japanese for anime), you must add those languages here. -- By default, traktarr will only query shows in English. If you need to search for other languages (e.g. Japanese for anime), you must add those languages here. - Languages are in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (e.g. `ja` for Japanese.) +- [List of available language codes](list_of_language_codes.md). + `blacklist_title_keywords` - blacklist certain words in titles. -`blacklisted_genres` - blacklist certain genres. +`blacklisted_genres` - Blacklist certain genres. + + - [List of available genres](list_of_movie_genres.md). -`blacklisted_max_year` - blacklist release dates after specified year. + - For an updated list, visit [here](https://trakt.docs.apiary.io/#reference/genres/list/get-genres). -`blacklisted_min_runtime` - blacklist runtime duration lower than specified time (in minutes). +`blacklisted_max_year` - Blacklist release dates after specified year. -`blacklisted_min_year` - blacklist release dates before specified year. +`blacklisted_min_runtime` - Blacklist runtime duration lower than specified time (in minutes). -`blacklisted_tmdb_ids` - blacklist certain movies with their TMDB IDs. +`blacklisted_min_year` - Blacklist release dates before specified year. + +`blacklisted_tmdb_ids` - Blacklist certain movies with their TMDB IDs. ### Shows @@ -546,7 +587,10 @@ Example: } ``` -`disabled_for` - specify for which lists the blacklist must be disabled when running in automatic mode +`disabled_for` - Specify for which lists the blacklist is disabled for, when running in automatic mode. + +- This is similar to running `--ignore-blacklist` via the CLI command. + Example: @@ -558,24 +602,33 @@ Example: ], ``` -`allowed_countries` - only add shows from these countries. +`allowed_countries` - Only add shows from these countries. Listed as two-letter country codes. + +- [List of available country codes](list_of_country_codes.md). -`allowed_languages` - only add shows with these languages (default/blank=English). +`allowed_languages` - Only add shows with these languages. - By default, traktarr will only query shows in English. If you need to search for other languages (e.g. Japanese for anime), you must add those languages here. + - Languages are in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (e.g. `ja` for Japanese.) -`blacklisted_genres` - blacklist certain genres. +- [List of available language codes](list_of_language_codes.md). + +`blacklisted_genres` - Blacklist certain genres. + +- [List of available genres](list_of_show_genres.md). -`blacklisted_max_year` - blacklist release dates after specified year. +- For an updated list, visit [here](https://trakt.docs.apiary.io/#reference/genres/list/get-genres). -`blacklisted_min_runtime` - blacklist runtime duration lower than specified time (in minutes). +`blacklisted_max_year` - Blacklist release dates after specified year. -`blacklisted_min_year` - blacklist release dates before specified year. +`blacklisted_min_runtime` - Blacklist runtime duration lower than specified time (in minutes). -`blacklisted_networks` - blacklist certain network. +`blacklisted_min_year` - Blacklist release dates before specified year. -`blacklisted_tvdb_ids` - blacklist certain shows with their TVDB IDs. +`blacklisted_networks` - Blacklist certain network. + +`blacklisted_tvdb_ids` - Blacklist certain shows with their TVDB IDs. ## Notifications @@ -603,13 +656,14 @@ Currently, only Pushover and Slack are supported. More will be added later. }, ``` -`verbose` - toggle detailed notifications. - - Default is `true` (keep it off unless your having issues). +`verbose` - Toggle detailed notifications. Default is `true`. + + - Set to `false`, if you want to reduce the amount of detailed notifications (e.g. the names of the movies/shows added vs just the total). ### Pushover -`app_token` and `user_token` - retrieve from Pushover.net. +`app_token` and `user_token` - Retrieve from Pushover.net. You can specify a priority for the messages send via Pushover using the `priority` key. It can be any Pushover priority value (https://pushover.net/api#priority). @@ -618,7 +672,7 @@ _Note: The key name (i.e the name right under notifications) can be anything, bu ### Slack -`webhook_url` - webhook URL you get after creating an "Incoming Webhook" under "Custom Integrations". +`webhook_url` - Webhook URL you get after creating an "Incoming Webhook" under "Custom Integrations". _Note: The key name (i.e the name right under notifications) can be anything, but the `"service":` must be exactly `"slack"`._ @@ -665,7 +719,7 @@ Sonarr configuration. `root_folder` - Root folder for TV shows. -`tags` - assign tags to shows based the network it airs on. More details on this below. +`tags` - Assign tags to shows based the network it airs on. More details on this below. `url` - Sonarr's URL. @@ -739,7 +793,7 @@ To have traktarr get Movies and Shows for you automatically, on set interval, do 1. `sudo cp /opt/traktarr/systemd/traktarr.service /etc/systemd/system/` -2. `sudo nano /etc/systemd/system/traktarr.service` and edit user/group to match yours. +2. `sudo nano /etc/systemd/system/traktarr.service` and edit user/group to match yours' (run `id` to check). 3. `sudo systemctl daemon-reload` @@ -751,23 +805,56 @@ To have traktarr get Movies and Shows for you automatically, on set interval, do You can customize how the scheduled traktarr is ran by editing the `traktarr.service` file and adding any of the following options: +\* Remember, other configuration options need to go into the `config.json` file under the `Automatic` section. + ``` - -d, --add-delay FLOAT Seconds between each add request to Sonarr / Radarr. - [default: 2.5] - --no-search Disable search when adding to Sonarr / Radarr. - --run-now Do a first run immediately without waiting. - --no-notifications Disable notifications. - --ignore-blacklist Ignores the blacklist when running the command. - --help Show this message and exit. +traktarr run --help ``` -You can bring up the list, anytime, by running the following command: +``` +Usage: traktarr run [OPTIONS] + Run in automatic mode. + +Options: + -d, --add-delay FLOAT Seconds between each add request to Sonarr / + Radarr. [default: 2.5] + -s, --sort [votes|rating|release] + Sort list to process. + --no-search Disable search when adding to Sonarr / + Radarr. + --run-now Do a first run immediately without waiting. + --no-notifications Disable notifications. + --ignore-blacklist Ignores the blacklist when running the + command. + --help Show this message and exit. ``` -traktarr run --help + + +`-d`, `--add-delay` - Add seconds delay between each add request to Sonarr / Radarr. Dfault is 2.5 seconds. + + - Example: `-d 5` + +`-s`, `--sort` - Sort list by highest `votes`, highest `rating`, or the latest `release` dates. Default is highest `votes`. + + - Example: `-s release` + +`--no-search` - Tells Sonarr / Radarr to not automatically search for added shows / movies. + +`--run-now` - Traktarr will run first automated search on start, without waiting for next interval. + +`--no-notifications` - Disable notifications. Default is `enabled`. + +`--ignore-blacklist` - Ignores blacklist filtering. Equivalent of `disabled_for` in config.json. + + +Example of a modified line from the traktarr.service file that will always add from the most recent releases matched: + +``` +ExecStart=/usr/bin/python3 /opt/traktarr/traktarr.py run -s release ``` -\* Remember, other configuration options need to go into the `config.json` file under the `Automatic` section. + ## Manual (CLI) @@ -830,24 +917,75 @@ Usage: traktarr movies [OPTIONS] Add multiple movies to Radarr. Options: - -t, --list-type TEXT Trakt list to process. For example, anticipated, - trending, popular, boxoffice, watchlist or any URL - to a list [required] - -l, --add-limit INTEGER Limit number of movies added to Radarr. [default: - 0] - -d, --add-delay FLOAT Seconds between each add request to Radarr. - [default: 2.5] - -g, --genre TEXT Only add movies from this genre to Radarr. - -f, --folder TEXT Add movies with this root folder to Radarr. - --no-search Disable search when adding movies to Radarr. - --notifications Send notifications. - --ignore-blacklist Ignores the blacklist when running the command. - --authenticate-user TEXT Specify which user to authenticate with to - retrieve Trakt lists. Default: first user in the - config. - --help Show this message and exit. + -t, --list-type TEXT Trakt list to process. For example, + anticipated, trending, popular, boxoffice, + watched, played, watchlist or any URL to a + list [required] + -l, --add-limit INTEGER Limit number of movies added to Radarr. + [default: 0] + -d, --add-delay FLOAT Seconds between each add request to Radarr. + [default: 2.5] + -s, --sort [votes|rating|release] + Sort list to process. + -g, --genre TEXT Only add movies from this genre to Radarr. + -f, --folder TEXT Add movies with this root folder to Radarr. + --no-search Disable search when adding movies to Radarr. + --notifications Send notifications. + --authenticate-user TEXT Specify which user to authenticate with to + retrieve Trakt lists. Default: first user in + the config. + --ignore-blacklist Ignores the blacklist when running the + command. + --help Show this message and exit. ``` +`-t`, `--list-type` - Trakt list to process. Choices are: `anticipated`, `trending`, `popular`, `boxoffice`, `watched`, `played`, `URL` (trakt list). + +- Watched Lists: Movies that are the most watched by unique Trakt users (mutliple viewings excluded). + + - `watched` / `watched_weekly` - Most watched in the week. + + - `watched_monthly` - Most watched in the month. + + - `watched_yearly` - Most watched in the year. + + - `watched_all` - Most watched of all time. + +- Played Lists: Movies that are the most played by Trakt users (mutliple viewings included). + + - `played` / `played_weekly` - Most played in the week. + + - `played_monthly` - Most played in the month. + + - `played_yearly` - Most played in the year. + + - `played_all` Most played of all time. + +`-l`, `--add-limit` - Limit number of movies added to Radarr. + +`-d`, `--add-delay` - Add seconds delay between each add request to Radarr. Default is 2.5 seconds. + + - Example: `-d 5` + +`-s`, `--sort` - Sort list by highest `votes`, highest `rating`, or the latest `release` dates. Default is highest `votes`. + + - Example: `-s release` + +`-g`, `--genre` - Only add movies from this genre to Radarr. + +- Can find a list [here](list_of_movie_genres.md). + +`-f`, `--folder` - Add shows to a specific root folder in Radarr. + + - Example: `-f /mnt/unionfs/Media/Movies/Movies-Kids/` + +`--no-search` - Tells Radarr to not automatically search for added shows / movies. + +`--notifications` - To enable notifications. Default is `disabled`. + +`--ignore-blacklist` - Ignores blacklist filtering. Equivalent of `disabled_for` in config.json. + + ### Show (Single Show) ``` @@ -883,25 +1021,79 @@ Usage: traktarr shows [OPTIONS] Add multiple shows to Sonarr. Options: - -t, --list-type TEXT Trakt list to process. For example, anticipated, - trending, popular, watchlist or any URL to a list - [required] - -l, --add-limit INTEGER Limit number of shows added to Sonarr. [default: - 0] - -d, --add-delay FLOAT Seconds between each add request to Sonarr. - [default: 2.5] - -g, --genre TEXT Only add shows from this genre to Sonarr. - -f, --folder TEXT Add shows with this root folder to Sonarr. - --no-search Disable search when adding shows to Sonarr. - --notifications Send notifications. - --ignore-blacklist Ignores the blacklist when running the command. - --authenticate-user TEXT Specify which user to authenticate with to - retrieve Trakt lists. Default: first user in the - config - --help Show this message and exit. -``` - -## Examples (Manual) + -t, --list-type TEXT Trakt list to process. For example, + anticipated, trending, popular, watched, + played, watchlist or any URL to a list + [required] + -l, --add-limit INTEGER Limit number of shows added to Sonarr. + [default: 0] + -d, --add-delay FLOAT Seconds between each add request to Sonarr. + [default: 2.5] + -s, --sort [votes|rating|release] + Sort list to process. + -g, --genre TEXT Only add shows from this genre to Sonarr. + -f, --folder TEXT Add shows with this root folder to Sonarr. + --no-search Disable search when adding shows to Sonarr. + --notifications Send notifications. + --authenticate-user TEXT Specify which user to authenticate with to + retrieve Trakt lists. Default: first user in + the config + --ignore-blacklist Ignores the blacklist when running the + command. + --help Show this message and exit. +``` + + +`-t`, `--list-type` - Trakt list to process. Choices are: `anticipated`, `trending`, `popular`, `watched`, `played`, `URL` (trakt list). + +- Watched Lists: Shows that are the most watched by unique Trakt users (mutliple viewings excluded). + + - `watched` / `watched_weekly` - Most watched in the week. + + - `watched_monthly` - Most watched in the month. + + - `watched_yearly` - Most watched in the year. + + - `watched_all` - Most watched of all time. + +- Played Lists: Shows that are the most played by Trakt users (mutliple viewings included). + + - `played` / `played_weekly` - Most played in the week. + + - `played_monthly` - Most played in the month. + + - `played_yearly` - Most played in the year. + + - `played_all` Most played of all time. + +`-l`, `--add-limit` - Limit number of shows added to Radarr. + +`-d`, `--add-delay` - Add seconds delay between each add request to Sonarr. Default is 2.5 seconds. + + - Example: `-d 5` + +`-s`, `--sort` - Sort list by highest `votes`, highest `rating`, or the latest `release` dates. Default is highest `votes`. + + - Example: `-s release` + +`-g`, `--genre` - Only add shows from this genre to Sonarr. + +- Can find a list [here](list_of_show_genres.md). + +`-f`, `--folder` - Add shows to a specific root folder in Sonarr. + + - Example: `-f /mnt/unionfs/Media/Shows/Shows-Kids/` + +`--no-search` - Tells Sonarr to not automatically search for added shows / movies. + +`--notifications` - To enable notifications. Default is `disabled`. + +`--ignore-blacklist` - Ignores blacklist filtering. Equivalent of `disabled_for` in config.json. + + +## Examples (CLI) + +### Movies - Add the movie "Black Panther (2018)": @@ -909,38 +1101,77 @@ Options: traktarr movie -id black-panther-2018 ``` -- Add the show "The 100": +- Add movies, from the popular list, labeled with the thriller genre, limited to 5 items, and sorted by latest release date. ``` - traktarr show -id the-100 + traktarr movies -t popular -g thriller -l 5 -s release ``` -- Add boxoffice movies, labeled with the comedy genre, limited to 10 items, and send notifications: +- Add movies, from the boxoffice list, labeled with the comedy genre, limited to 10 items, and send notifications: ``` traktarr movies -t boxoffice -g comedy -l 10 --notifications ``` -- Add popular shows, limited to 2 items, and don't start the search in Sonarr: +- Add movies, from a list of most watched this week, and limited to 5 items. ``` - traktarr shows -t popular -l 2 --no-search + traktarr movies -t watched -l 5 ``` -- Add all shows from the watchlist of `user1`: +- Add movies, from a list of most played this month, and limited to 5 items. ``` - traktarr shows -t watchlist --authenticate-user user1 + traktarr movies -t played_monthly -l 5 ``` -- Add all movies from the public list `https://trakt.tv/users/rkerwin/lists/top-100-movies`: +- Add (all) movies from the public list `https://trakt.tv/users/rkerwin/lists/top-100-movies`: ``` traktarr movies -t https://trakt.tv/users/rkerwin/lists/top-100-movies ``` -- Add all movies from the private list `https://trakt.tv/users/user1/lists/private-movies-list` of `user1`: +- Add (all) movies from the private list `https://trakt.tv/users/user1/lists/private-movies-list` of `user1`: ``` traktarr movies -t https://trakt.tv/users/user1/lists/private-movies-list --authenticate-user=user1 ``` + + +### Shows + +- Add the show "The 100": + + ``` + traktarr show -id the-100 + ``` + +- Add shows, from the popular list, limited to 5 items, and sorted by higest ratings. + + ``` + traktarr shows -t popular -l 5 -s rating + ``` + +- Add shows, from the popular list, limited to 2 items, and don't start automatic for them in Sonarr: + + ``` + traktarr shows -t popular -l 2 --no-search + ``` + +- Add shows, from a list of most played this year, and limited to 5 items. + + ``` + traktarr shows -t watched_yearly -l 5 + ``` + +- Add shows, from a list of most played of all time, and limited to 5 items. + + ``` + traktarr shows -t played_all -l 5 + ``` + +- Add (all) shows from the watchlist of `user1`: + + ``` + traktarr shows -t watchlist --authenticate-user user1 + ``` diff --git a/config.json.sample b/config.json.sample new file mode 100644 index 0000000..a79bd65 --- /dev/null +++ b/config.json.sample @@ -0,0 +1,112 @@ +{ + "core": { + "debug": false + }, + "automatic": { + "movies": { + "anticipated": 3, + "boxoffice": 10, + "interval": 24, + "popular": 3, + "trending": 2 + }, + "shows": { + "anticipated": 10, + "interval": 48, + "popular": 1, + "trending": 2 + } + }, + "notifications": { + "verbose": false + }, + "filters": { + "shows": { + "allowed_countries": [ + "us", + "gb", + "ca" + ], + "allowed_languages": [], + "blacklisted_min_runtime": 15, + "blacklisted_min_year": 2010, + "blacklisted_max_year": 2019, + "blacklisted_genres": [ + "animation", + "game-show", + "talk-show", + "home-and-garden", + "children", + "reality", + "anime", + "news", + "documentary", + "special-interest" + ], + "blacklisted_networks": [ + "twitch", + "youtube", + "nickelodeon", + "hallmark", + "reelzchannel", + "disney", + "cnn", + "cbbc", + "the movie network", + "teletoon", + "cartoon network", + "espn", + "fox sports", + "yahoo!" + ], + "disabled_for": [], + }, + "movies": { + "allowed_countries": [ + "us", + "gb", + "ca" + ], + "allowed_languages": [], + "blacklisted_genres": [ + "documentary", + "music", + "short", + "sporting-event", + "film-noir", + "fan-film" + ], + "blacklist_title_keywords": [ + "untitled", + "barbie", + "ufc" + ], + "blacklisted_min_runtime": 60, + "blacklisted_min_year": 2000, + "blacklisted_max_year": 2019, + "allowed_countries": [ + "us", + "gb", + "ca" + ], + "disabled_for": [], + } + }, + "radarr": { + "api_key": "", + "profile": "HD-1080p", + "url": "http://localhost:7878/", + "root_folder": "/movies/" + }, + "sonarr": { + "api_key": "", + "profile": "HD-1080p", + "url": "http://localhost:8989/", + "root_folder": "/tv/", + "tags": {} + }, + "trakt": { + "client_id": "", + "client_secret": "" + } +} diff --git a/list_of_country_codes.md b/list_of_country_codes.md new file mode 100644 index 0000000..c57a9a6 --- /dev/null +++ b/list_of_country_codes.md @@ -0,0 +1,79 @@ +- `au` (Australia) +- `at` (Austria) +- `be` (Belgium) +- `bo` (Bolivia, Plurinational State of) +- `ba` (Bosnia and Herzegovina) +- `br` (Brazil) +- `io` (British Indian Ocean Territory) +- `bg` (Bulgaria) +- `ca` (Canada) +- `cl` (Chile) +- `cn` (China) +- `co` (Colombia) +- `hr` (Croatia) +- `cu` (Cuba) +- `cz` (Czech Republic) +- `dk` (Denmark) +- `eg` (Egypt) +- `ee` (Estonia) +- `fi` (Finland) +- `fr` (France) +- `pf` (French Polynesia) +- `ge` (Georgia) +- `de` (Germany) +- `gr` (Greece) +- `hk` (Hong Kong) +- `hu` (Hungary) +- `is` (Iceland) +- `in` (India) +- `id` (Indonesia) +- `ir` (Iran, Islamic Republic of) +- `ie` (Ireland) +- `il` (Israel) +- `it` (Italy) +- `jp` (Japan) +- `ke` (Kenya) +- `kp` (Korea, Democratic People's Republic of) +- `kr` (Korea, Republic of) +- `kw` (Kuwait) +- `lv` (Latvia) +- `lb` (Lebanon) +- `lt` (Lithuania) +- `mk` (Macedonia, Republic of) +- `my` (Malaysia) +- `mv` (Maldives) +- `mx` (Mexico) +- `mn` (Mongolia) +- `me` (Montenegro) +- `ma` (Morocco) +- `nl` (Netherlands) +- `nz` (New Zealand) +- `ng` (Nigeria) +- `no` (Norway) +- `pk` (Pakistan) +- `py` (Paraguay) +- `ph` (Philippines) +- `pl` (Poland) +- `pt` (Portugal) +- `ro` (Romania) +- `ru` (Russian Federation) +- `sa` (Saudi Arabia) +- `rs` (Serbia) +- `sg` (Singapore) +- `sk` (Slovakia) +- `si` (Slovenia) +- `za` (South Africa) +- `es` (Spain) +- `sz` (Swaziland) +- `se` (Sweden) +- `ch` (Switzerland) +- `tw` (Taiwan) +- `th` (Thailand) +- `tr` (Turkey) +- `ua` (Ukraine) +- `ae` (United Arab Emirates) +- `gb` (United Kingdom) +- `us` (United States) +- `um` (United States Minor Outlying Islands) +- `ve` (Venezuela, Bolivarian Republic of) +- `vn` (Vietnam) diff --git a/list_of_language_codes.md b/list_of_language_codes.md new file mode 100644 index 0000000..45c74d3 --- /dev/null +++ b/list_of_language_codes.md @@ -0,0 +1,131 @@ +- `af` (Afrikaans) +- `ak` (Akan) +- `sq` (Albanian) +- `am` (Amharic) +- `ar` (Arabic) +- `hy` (Armenian) +- `as` (Assamese) +- `ay` (Aymara) +- `az` (Azerbaijani) +- `bm` (Bambara) +- `eu` (Basque) +- `be` (Belarusian) +- `bn` (Bengali) +- `nb` (Bokmål, Norwegian; Norwegian Bokmål) +- `bs` (Bosnian) +- `br` (Breton) +- `bg` (Bulgarian) +- `my` (Burmese) +- `ca` (Catalan; Valencian) +- `km` (Central Khmer) +- `ch` (Chamorro) +- `ce` (Chechen) +- `zh` (Chinese) +- `kw` (Cornish) +- `co` (Corsican) +- `cr` (Cree) +- `hr` (Croatian) +- `cs` (Czech) +- `da` (Danish) +- `dv` (Divehi; Dhivehi; Maldivian) +- `nl` (Dutch; Flemish) +- `dz` (Dzongkha) +- `en` (English) +- `eo` (Esperanto) +- `et` (Estonian) +- `ee` (Ewe) +- `fo` (Faroese) +- `fi` (Finnish) +- `fr` (French) +- `gd` (Gaelic; Scottish Gaelic) +- `gl` (Galician) +- `ka` (Georgian) +- `de` (German) +- `el` (Greek, Modern (1453-)) +- `gn` (Guarani) +- `gu` (Gujarati) +- `ht` (Haitian; Haitian Creole) +- `ha` (Hausa) +- `he` (Hebrew) +- `hi` (Hindi) +- `hu` (Hungarian) +- `is` (Icelandic) +- `ig` (Igbo) +- `id` (Indonesian) +- `iu` (Inuktitut) +- `ga` (Irish) +- `it` (Italian) +- `ja` (Japanese) +- `jv` (Javanese) +- `kl` (Kalaallisut; Greenlandic) +- `kn` (Kannada) +- `kk` (Kazakh) +- `rw` (Kinyarwanda) +- `ky` (Kirghiz; Kyrgyz) +- `ko` (Korean) +- `ku` (Kurdish) +- `lo` (Lao) +- `la` (Latin) +- `lv` (Latvian) +- `lt` (Lithuanian) +- `lb` (Luxembourgish; Letzeburgesch) +- `mk` (Macedonian) +- `mg` (Malagasy) +- `ms` (Malay) +- `ml` (Malayalam) +- `mt` (Maltese) +- `mi` (Maori) +- `mr` (Marathi) +- `mh` (Marshallese) +- `mn` (Mongolian) +- `nv` (Navajo; Navaho) +- `nr` (Ndebele, South; South Ndebele) +- `ne` (Nepali) +- `no` (Norwegian) +- `nn` (Norwegian Nynorsk; Nynorsk, Norwegian) +- `oc` (Occitan (post 1500); Provençal) +- `pa` (Panjabi; Punjabi) +- `fa` (Persian) +- `pl` (Polish) +- `pt` (Portuguese) +- `ps` (Pushto; Pashto) +- `qu` (Quechua) +- `ro` (Romanian; Moldavian; Moldovan) +- `rn` (Rundi) +- `ru` (Russian) +- `sm` (Samoan) +- `sg` (Sango) +- `sa` (Sanskrit) +- `sr` (Serbian) +- `sn` (Shona) +- `si` (Sinhala; Sinhalese) +- `sk` (Slovak) +- `sl` (Slovenian) +- `so` (Somali) +- `es` (Spanish; Castilian) +- `sw` (Swahili) +- `sv` (Swedish) +- `tl` (Tagalog) +- `ty` (Tahitian) +- `tg` (Tajik) +- `ta` (Tamil) +- `tt` (Tatar) +- `te` (Telugu) +- `th` (Thai) +- `bo` (Tibetan) +- `ti` (Tigrinya) +- `to` (Tonga (Tonga Islands)) +- `tr` (Turkish) +- `tk` (Turkmen) +- `uk` (Ukrainian) +- `ur` (Urdu) +- `uz` (Uzbek) +- `ve` (Venda) +- `vi` (Vietnamese) +- `cy` (Welsh) +- `fy` (Western Frisian) +- `wo` (Wolof) +- `xh` (Xhosa) +- `yi` (Yiddish) +- `za` (Zhuang; Chuang) +- `zu` (Zulu) diff --git a/list_of_movie_genres.md b/list_of_movie_genres.md new file mode 100644 index 0000000..feee12d --- /dev/null +++ b/list_of_movie_genres.md @@ -0,0 +1,34 @@ +- `action` +- `adventure` +- `animation` +- `anime` +- `comedy` +- `crime` +- `disaster` +- `documentary` +- `drama` +- `eastern` +- `family` +- `fan-film` +- `fantasy` +- `film-noir` +- `history` +- `holiday` +- `horror` +- `indie` +- `music` +- `musical` +- `mystery` +- `none` +- `road` +- `romance` +- `science-fiction` +- `short` +- `sporting-event` +- `sports` +- `superhero` +- `suspense` +- `thriller` +- `tv-movie` +- `war` +- `western` diff --git a/list_of_show_genres.md b/list_of_show_genres.md new file mode 100644 index 0000000..b7dd63e --- /dev/null +++ b/list_of_show_genres.md @@ -0,0 +1,39 @@ +- `action` +- `adventure` +- `animation` +- `anime` +- `biography` +- `children` +- `comedy` +- `crime` +- `disaster` +- `documentary` +- `drama` +- `eastern` +- `family` +- `fantasy` +- `game-show` +- `history` +- `holiday` +- `home-and-garden` +- `horror` +- `mini-series` +- `music` +- `musical` +- `mystery` +- `news` +- `none` +- `reality` +- `romance` +- `science-fiction` +- `short` +- `soap` +- `special-interest` +- `sporting-event` +- `sports` +- `superhero` +- `suspense` +- `talk-show` +- `thriller` +- `war` +- `western`