l3uddz / traktarr

Script to add new series & movies to Sonarr/Radarr based on Trakt lists.
GNU General Public License v3.0
576 stars 52 forks source link

Blacklisted show because it has no language #123

Open garlandkr opened 4 years ago

garlandkr commented 4 years ago

Describe the bug A show is being skipped and blacklisted because it has no language specified.

To Reproduce Steps to reproduce the behavior:

  1. Add show to Watchlist on Trakt
  2. python traktarr.py shows -t watchlist --authenticate-user

Expected behavior Allow shows to be added with unknown language or override language to EN or other.

Logs

2020-02-26 13:20:55,796 - DEBUG      - Traktarr                            - shows                               - Set series type for 'Heartbreak Holiday (2019)' to: Standard
2020-02-26 13:20:55,884 - DEBUG      - helpers.tvdb                        - verify_series_exists_on_tvdb        - 'Heartbreak Holiday (2019)' [TVDB ID: 368429] exists on TVDB.
2020-02-26 13:20:55,885 - DEBUG      - helpers.trakt                       - blacklisted_show_id                 - 'Heartbreak Holiday' | Blacklisted IDs Check        | Passed.
2020-02-26 13:20:55,886 - DEBUG      - helpers.trakt                       - blacklisted_show_year               - 'Heartbreak Holiday' | Blacklisted Years Check      | Passed.
2020-02-26 13:20:55,886 - DEBUG      - helpers.trakt                       - blacklisted_show_network            - 'Heartbreak Holiday' | Blacklisted Networks Check   | Passed.
2020-02-26 13:20:55,887 - DEBUG      - helpers.trakt                       - blacklisted_show_country            - 'Heartbreak Holiday' | Blacklisted Countries Check  | Skipped.
2020-02-26 13:20:55,887 - DEBUG      - helpers.trakt                       - blacklisted_show_country            - 'Heartbreak Holiday' | Blacklisted Countries Check  | Passed.
2020-02-26 13:20:55,888 - DEBUG      - helpers.trakt                       - blacklisted_show_language           - 'Heartbreak Holiday' | Blacklisted Languages Check  | Blacklisted because it had no language specified.
2020-02-26 13:20:55,888 - DEBUG      - helpers.trakt                       - blacklisted_show_genre              - 'Heartbreak Holiday' | Blacklisted Genres Check     | Skipped.
2020-02-26 13:20:55,889 - DEBUG      - helpers.trakt                       - blacklisted_show_genre              - 'Heartbreak Holiday' | Blacklisted Genres Check     | Passed.
2020-02-26 13:20:55,889 - DEBUG      - helpers.trakt                       - blacklisted_show_runtime            - 'Heartbreak Holiday' | Blacklisted Runtime Check    | Passed.

You can enable debug mode with core.debug in the config.json file.

System Information

Additional context The language is set to English on TVDB - HeartBreak Holiday (2019)

bn0 commented 4 years ago

Workaround: add the following to your config file

"allowed_languages": ["ignore"]
spoonys commented 4 years ago

I added this and it didn't work - still skipping due to language

ChuckNozzle commented 4 years ago

Having the same issue.

mondychan commented 4 years ago

Same issue here, any workaround? using "ignore" tag doesnt change anything

edit: never mind, i was placing the rule into the "movie" section of the config file filters, while using it for adding TV shows. my mistake when put in the =RIGHT= part of the config file, it works !

i think this one is solved?