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

TV Shows Skipped #107

Closed Palshee closed 4 years ago

Palshee commented 4 years ago

Describe the bug I started grabbing from a trakt list of TV-Shows and noticed my root_folder for Sonarr was incorrect. I stopped traktarr service, stopped Plex, stopped Sonarr. I then went into Sonarr's DB file with SQlite Viewer and removed all the items that Traktarr added where it had the incorrect path.

I edited my traktarr config file, started all the services I stopped and ran the command again - traktarr shows - t link

Now, as I'm running that same list again, traktarr is skipping all the TV shows and none are being added back into Sonarr.

2019-11-19 13:01:41,227 - INFO       - Traktarr                            - shows                               - Retrieved Trakt 'Https://trakt.tv/users/drew-casteo/lists/disney-tv-shows' shows list, shows found: 173
2019-11-19 13:01:41,227 - INFO       - Traktarr                            - shows                               - Removed existing Sonarr shows from Trakt shows list, shows left to process: 160
2019-11-19 13:01:41,228 - INFO       - Traktarr                            - shows                               - Sorted shows list to process by highest 'votes'.
2019-11-19 13:01:41,228 - INFO       - Traktarr                            - shows                               - Processing list now...
2019-11-19 13:01:42,006 - INFO       - Traktarr                            - shows                               - SKIPPED: 'The Simpsons (1989)'
2019-11-19 13:01:42,767 - INFO       - Traktarr                            - shows                               - SKIPPED: 'Gravity Falls (2012)'
2019-11-19 13:01:43,560 - INFO       - Traktarr                            - shows                               - SKIPPED: 'Star Wars: The Clone Wars (2008)'
2019-11-19 13:01:44,392 - INFO       - Traktarr                            - shows                               - SKIPPED: 'Star Wars Rebels (2014)'
2019-11-19 13:01:45,220 - INFO       - Traktarr                            - shows                               - SKIPPED: 'Boy Meets World (1993)'
2019-11-19 13:01:45,910 - INFO       - Traktarr                            - shows                               - SKIPPED: 'X-Men: The Animated Series (1992)'
2019-11-19 13:01:46,623 - INFO       - Traktarr                            - shows                               - SKIPPED: 'Phineas and Ferb (2007)'
2019-11-19 13:01:47,390 - INFO       - Traktarr                            - shows                               - SKIPPED: 'DuckTales (1987)'

To Reproduce Steps to reproduce the behavior:

  1. Use an incorrect root_folder for traktarr's Sonarr setting
  2. Run the command traktarr shows -t LINK
  3. Let the command finish or stop once a few shows have been added to Sonarr
  4. Stop Sonarr, Traktarr and Plex services
  5. Go into Sonarr's DB file and remove all shows that was added that has the wrong path from the Series folder. Save the DB
  6. Restart services that was stopped
  7. Run the command in steps 2 again

Expected behavior Since the shows were no longer in Sonarr, Traktarr should be adding it into Sonarr but instead, it skips the shows.

System Information

Additional context I am using Traktarr with CloudBox. Installed Traktarr using CloudBox's command. I did the same for Radarr and had the same results.

Palshee commented 4 years ago

Adding a show/movie manually, 1 by 1 seems to work even though it gets skipped in the list. When adding using a list - traktarr shows -t trakt-list

2019-11-19 15:04:09,366 - INFO  - Traktarr  - shows  - SKIPPED: 'Star Wars Blips (2017)'

When adding with traktarr shows -id tv-show-name

2019-11-19 15:24:58,057 - INFO  - Traktarr  - show  - Retrieved Trakt show information for 'star-wars-blips': 'Star Wars Blips (2017)'
2019-11-19 15:24:58,227 - INFO  - Traktarr  - get_quality_profile_id  - Retrieved Quality Profile ID for 'HD-1080p': 4
2019-11-19 15:24:58,631 - INFO  - Traktarr  - get_language_profile_id  - Retrieved Language Profile ID for 'English': 1
2019-11-19 15:24:59,725 - INFO  - Traktarr  - show  - ADDED: 'Star Wars Blips (2017)'
desimaniac commented 4 years ago

Turn on debug in config and you’ll know why something is being skipped.

desimaniac commented 4 years ago

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

  "core": {
    "debug": true
  },

Cant do anything without those logs.

spoonys commented 4 years ago

This is happening to me too. Fresh traktarr install.