pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.77k stars 275 forks source link

Editing an Animes absolute number does not work when the result from the index is empty #7509

Open skarekrow opened 4 years ago

skarekrow commented 4 years ago

Describe the bug When a show does not have an scene absolute number and instead has an empty one, you're unable to edit the scene absolute number. Any attempt is met with an 'Update failed' message, with nothing in the logs.

I suspect this is because the column is empty to begin with instead of already having a number populating it.

What happens is medusa then tries to search for this with two zeros instead of just a show name, and that causes episodes to not be fetchable.

I've seen this on a few shows, so I'll use one as an example here

To Reproduce Steps to reproduce the behavior: Show I used to reproduce: Days of Urashimasakatasen (scene numbering is on)

  1. Go to Days of Urashimasakatasen
  2. Click on Scene Abs. #
  3. Try to edit Episode 7+, as these all have no value in the table
  4. See error

Expected behavior That the scene absolute number would be changed and the show wouldn't search with 00 in the name anymore.

Screenshots Screen Shot 2019-12-18 at 3 32 28 PM Screen Shot 2019-12-18 at 3 32 36 PM

Medusa (please complete the following information): OS: debian x64/docker Branch: master on tag Version: 0.3.9 Commit: unknown Python version: 3.7.5 Database version: 44.14

Debug logs searching for an episode missing an absolute scene number(note the 00 in the title instead, causing 0 results):

2019-12-18 15:35:03 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: No needed episodes found during backlog search for: Days of Urashimasakatasen
2019-12-18 15:35:03 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: No results to sort.
2019-12-18 15:35:03 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Combining single and multi-episode results
2019-12-18 15:35:03 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: Found 0 unique search results
2019-12-18 15:35:03 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:35:03 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: GET URL: https://anizb.org/api/?q=Urashimasakatasen+no+nichijou%2A00 [Status: 200]
2019-12-18 15:35:02 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:35:02 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: GET URL: http://anizb.org/api/?q=Urashimasakatasen+no+nichijou%2A00 [Status: 301]
2019-12-18 15:35:02 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:35:02 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: GET URL: https://anizb.org/api?q=Urashimasakatasen+no+nichijou%2A00 [Status: 301]
2019-12-18 15:35:02 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: Search string: Urashimasakatasen no nichijou*00
2019-12-18 15:35:02 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:35:02 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: GET URL: https://anizb.org/api/?q=Days+of+Urashimasakatasen%2A00 [Status: 200]
2019-12-18 15:35:01 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:35:01 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: GET URL: http://anizb.org/api/?q=Days+of+Urashimasakatasen%2A00 [Status: 301]
2019-12-18 15:35:01 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:35:01 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: GET URL: https://anizb.org/api?q=Days+of+Urashimasakatasen%2A00 [Status: 301]
2019-12-18 15:34:59 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: Search string: Days of Urashimasakatasen*00
2019-12-18 15:34:59 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: Search mode: Episode
2019-12-18 15:34:59 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: Could not find any candidates in cache, searching provider.
2019-12-18 15:34:59 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: Transaction with 1 queries executed
2019-12-18 15:34:59 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: Anizb :: Performing episode search for Days of Urashimasakatasen
2019-12-18 15:34:59 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Found 0 unique search results
2019-12-18 15:34:59 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:59 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:59 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: GET URL: **********api?t=search&limit=100&offset=0&cat=5000%2C5070%2C5040%2C5030%2C5045&maxage=100000&apikey=**********&q=Urashimasakatasen+no+nichijou+00 [Status: 200]
2019-12-18 15:34:58 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Search show using search string: Urashimasakatasen no nichijou 00
2019-12-18 15:34:58 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:58 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:58 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: GET URL: **********api?t=search&limit=100&offset=0&cat=5000%2C5070%2C5040%2C5030%2C5045&maxage=100000&apikey=**********&q=Days+of+Urashimasakatasen+00 [Status: 200]
2019-12-18 15:34:57 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Search show using search string: Days of Urashimasakatasen 00
2019-12-18 15:34:57 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Search mode: Episode
2019-12-18 15:34:57 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:57 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:57 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: GET URL: **********api?t=tvsearch&limit=100&offset=0&cat=5000%2C5070%2C5040%2C5030%2C5045&maxage=100000&apikey=**********&tvdbid=370373&season=1&ep=12 [Status: 200]
2019-12-18 15:34:56 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Search show using search string: indexer_id: {'tvdbid': 370373}
2019-12-18 15:34:56 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Search mode: Episode
2019-12-18 15:34:56 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Could not find any candidates in cache, searching provider.
2019-12-18 15:34:56 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Transaction with 1 queries executed
2019-12-18 15:34:56 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: Drunken Slug :: Performing episode search for Days of Urashimasakatasen
2019-12-18 15:34:56 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Found 0 unique search results
2019-12-18 15:34:56 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:56 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:56 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: GET URL: https://api.nzbgeek.info/api?t=search&limit=100&offset=0&cat=5000%2C5030%2C5040%2C5045%2C5070&maxage=100000&apikey=**********&q=Urashimasakatasen+no+nichijou+00 [Status: 200]
2019-12-18 15:34:54 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Search show using search string: Urashimasakatasen no nichijou 00
2019-12-18 15:34:54 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:54 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:54 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: GET URL: https://api.nzbgeek.info/api?t=search&limit=100&offset=0&cat=5000%2C5030%2C5040%2C5045%2C5070&maxage=100000&apikey=**********&q=Days+of+Urashimasakatasen+00 [Status: 200]
2019-12-18 15:34:51 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Search show using search string: Days of Urashimasakatasen 00
2019-12-18 15:34:51 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Search mode: Episode
2019-12-18 15:34:51 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:51 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:51 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: GET URL: https://api.nzbgeek.info/api?t=tvsearch&limit=100&offset=0&cat=5000%2C5030%2C5040%2C5045%2C5070&maxage=100000&apikey=**********&tvdbid=370373&season=1&ep=12 [Status: 200]
2019-12-18 15:34:50 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Search show using search string: indexer_id: {'tvdbid': 370373}
2019-12-18 15:34:50 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Search mode: Episode
2019-12-18 15:34:50 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Could not find any candidates in cache, searching provider.
2019-12-18 15:34:50 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Transaction with 1 queries executed
2019-12-18 15:34:50 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: NZBGeek :: Performing episode search for Days of Urashimasakatasen
2019-12-18 15:34:50 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Found 0 unique search results
2019-12-18 15:34:50 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:50 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:50 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: GET URL: **********api?only_nzb=1&t=search&limit=100&offset=0&cat=5070&maxage=100000&apikey=0&q=Urashimasakatasen+no+nichijou+00 [Status: 200]
2019-12-18 15:34:46 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Search show using search string: Urashimasakatasen no nichijou 00
2019-12-18 15:34:46 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:46 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:46 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: GET URL: **********api?only_nzb=1&t=search&limit=100&offset=0&cat=5070&maxage=100000&apikey=0&q=Days+of+Urashimasakatasen+00 [Status: 200]
2019-12-18 15:34:42 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Search show using search string: Days of Urashimasakatasen 00
2019-12-18 15:34:42 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Search mode: Episode
2019-12-18 15:34:42 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:42 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: GET URL: **********api?t=caps&apikey=0 [Status: 200]
2019-12-18 15:34:38 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:38 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:38 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: GET URL: **********api?only_nzb=1&t=search&limit=100&offset=0&cat=5070&maxage=100000&apikey=0&q=Urashimasakatasen+no+nichijou+00 [Status: 200]
2019-12-18 15:34:34 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Search show using search string: Urashimasakatasen no nichijou 00
2019-12-18 15:34:34 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:34 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:34 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: GET URL: **********api?only_nzb=1&t=search&limit=100&offset=0&cat=5070&maxage=100000&apikey=0&q=Days+of+Urashimasakatasen+00 [Status: 200]
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Search show using search string: Days of Urashimasakatasen 00
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Search mode: Episode
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: GET URL: **********api?t=caps&apikey=0 [Status: 200]
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Could not find any candidates in cache, searching provider.
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Transaction with 1 queries executed
2019-12-18 15:34:30 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: AnimeTosho :: Performing episode search for Days of Urashimasakatasen
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Found 0 unique search results
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:30 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: GET URL: https://api.dognzb.cr/api?t=search&limit=100&offset=0&cat=5000%2C5030%2C5040%2C5045%2C5070&maxage=100000&apikey=**********&q=Urashimasakatasen+no+nichijou+00 [Status: 200]
2019-12-18 15:34:29 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Search show using search string: Urashimasakatasen no nichijou 00
2019-12-18 15:34:29 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:29 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:29 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: GET URL: https://api.dognzb.cr/api?t=search&limit=100&offset=0&cat=5000%2C5030%2C5040%2C5045%2C5070&maxage=100000&apikey=**********&q=Days+of+Urashimasakatasen+00 [Status: 200]
2019-12-18 15:34:28 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Search show using search string: Days of Urashimasakatasen 00
2019-12-18 15:34:28 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Search mode: Episode
2019-12-18 15:34:28 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: No results returned from provider. Check chosen Newznab search categories in provider settings and/or usenet retention
2019-12-18 15:34:28 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: User-Agent: Medusa/0.3.9 (Linux; 4.19.0-0.bpo.6-amd64; d135b3ba-218c-11ea-90ce-0242ac110003)
2019-12-18 15:34:28 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: GET URL: https://api.dognzb.cr/api?t=tvsearch&limit=100&offset=0&cat=5000%2C5030%2C5040%2C5045%2C5070&maxage=100000&apikey=**********&tvdbid=370373&season=1&ep=12 [Status: 200]
2019-12-18 15:34:26 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Search show using search string: indexer_id: {'tvdbid': 370373}
2019-12-18 15:34:26 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Search mode: Episode
2019-12-18 15:34:26 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Could not find any candidates in cache, searching provider.
2019-12-18 15:34:26 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Transaction with 1 queries executed
2019-12-18 15:34:26 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: DOGnzb :: Performing episode search for Days of Urashimasakatasen
2019-12-18 15:34:26 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: Using backlog search providers
2019-12-18 15:34:26 DEBUG   FORCEDSEARCHQUEUE-BACKLOG-370373 :: Internal name cache for days of urashimasakatasen set to: urashimasakatasen no nichijou, days of urashimasakatasen
2019-12-18 15:34:26 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: Building internal name cache for Days of Urashimasakatasen
2019-12-18 15:34:26 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: Finished processing 3178 scene exceptions.
2019-12-18 15:34:26 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: Updating exception_cache and exception_season_cache
2019-12-18 15:34:26 INFO    FORCEDSEARCHQUEUE-BACKLOG-370373 :: Beginning backlog search for: Days of Urashimasakatasen
2019-12-18 15:32:32 DEBUG   Thread-5 :: 370373: No entries found in show: Days of Urashimasakatasen

p0psicles commented 4 years ago

Doesn't thetvdb have the absolute numbering filled?

skarekrow commented 4 years ago

It seems not too. But reading https://github.com/pymedusa/Medusa/issues/5570, which seemed related, removing the show and all files, and adding it as a scene numbered show does indeed fill the absolute fields: Screen Shot 2019-12-18 at 3 46 50 PM

skarekrow commented 4 years ago

TVDB link: http://dereferer.org/?https://www.thetvdb.com/dereferrer/series/370373

skarekrow commented 4 years ago

To make this more interesting, that workaround didn't fix this show: http://dereferer.org/?https://www.thetvdb.com/dereferrer/series/369801, which still has the problem despite being nuked and readded as a scene show.

I believe this issue is TVDB's fault, but not being able to manually add absolute numbers if they're missing is the bigger problem. That would let me workaround TVDB atm.

Screen Shot 2019-12-18 at 4 14 40 PM

p0psicles commented 4 years ago

No, we depend on thetvdb in this case. It has worked for countless of shows. If the episodes are correctly added on tvdb everything works fine.

skarekrow commented 4 years ago

But surely even if that field is empty we should be able to update it? Otherwise it’s not terribly useful outside of the absolute numbers being wrong.

On Thu, Dec 19, 2019, at 1:07 AM, p0ps wrote:

No, we depend on thetvdb in this case. It has worked for countless of shows. If the episodes are correctly added on tvdb everything works fine.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pymedusa/Medusa/issues/7509?email_source=notifications&email_token=AAMD6N4ZTECX36GK23ISDW3QZMMTNA5CNFSM4J4SQHRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHIUY5Y#issuecomment-567364727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMD6N7I6BZ2L2S4ENHOURLQZMMTNANCNFSM4J4SQHRA.

p0psicles commented 4 years ago

Yeah you have a point there. I know it should be improved. But right now to update scene absolute Medusa's api requires you to provide the indexers absolute. So your allowed the set a different scene absolute value.

We make a distinction of what's from indexer and what can be manually configured. If something is updated on indexer Medusa is also updated.

The absolute numbering is just like the title of an episode or the episode number or the synopsis. It would also be nice to override those, but that's currently not possible. If you want that you can request for a feature. Or do a pull request yourself.

It does depend on a proper tvdb configuration.

skarekrow commented 4 years ago

I didn’t think about having to synchronize backwards from future tvdb changes later on. That certainly would complicate things. I may have time to figure out a pr but it’s sounding like this really is better solved upstream proper. Or through xem? I’ve sent some show updates in the past but they haven’t been merged. Not sure how active the project is anymore outside the main contributor.

On Thu, Dec 19, 2019, at 4:28 AM, p0ps wrote:

Yeah you have a point there. I know it should be improved. But right now to update scene absolute Medusa's api requires you to provide the indexers absolute. So your allowed the set a different scene absolute value.

We make a distinction of what's from indexer and what can be manually configured. If something is updated on indexer Medusa is also updated.

The absolute numbering is just like the title of an episode or the episode number or the synopsis. It would also be nice to override those, but that's currently not possible. If you want that you can request for a feature. Or do a pull request yourself.

It does depend on a proper tvdb configuration.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pymedusa/Medusa/issues/7509?email_source=notifications&email_token=AAMD6N247ULFJNHDJBZQHQLQZNEF3A5CNFSM4J4SQHRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJFC5I#issuecomment-567431541, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMD6N3LRIYXGS5VXPQ4XHTQZNEF3ANCNFSM4J4SQHRA.