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.76k stars 274 forks source link

Rejecting Episodes #11051

Open x9906789x opened 1 year ago

x9906789x commented 1 year ago

Describe the bug Medusa finds episode based on scene numbering but then rejects episode stating it is unable to find it in the database.

Debug logs (at least 50 lines):


2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Allowed, Preferred = [ 720p HDTV, 1080p HDTV, 720p WEB-DL, 1080p WEB-DL, 720p BluRay, 1080p BluRay ] [ None ] Found = [ 1080p HDTV ]
2022-12-07 15:18:18 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Quality of Pawn.Stars.S20E09.1080p.HEVC.x265-MeGusta is 1080p HDTV
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: No episodes [9] of season 20 are needed with this quality for Pawn Stars
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Unable to find a matching episode in database. Ignoring found result for Pawn Stars S20E09 with quality 720p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Allowed, Preferred = [ 720p HDTV, 1080p HDTV, 720p WEB-DL, 1080p WEB-DL, 720p BluRay, 1080p BluRay ] [ None ] Found = [ 720p WEB-DL ]
2022-12-07 15:18:18 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Quality of Pawn.Stars.S20E09.Maximum.Pawnage.720P.WEB.H264-BeechyBoy is 720p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: No episodes [9] of season 20 are needed with this quality for Pawn Stars
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Unable to find a matching episode in database. Ignoring found result for Pawn Stars S20E09 with quality 720p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Allowed, Preferred = [ 720p HDTV, 1080p HDTV, 720p WEB-DL, 1080p WEB-DL, 720p BluRay, 1080p BluRay ] [ None ] Found = [ 720p WEB-DL ]
2022-12-07 15:18:18 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Quality of Pawn.Stars.S20E09.720p.WEB.h264-BAE is 720p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: No episodes [9] of season 20 are needed with this quality for Pawn Stars
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Unable to find a matching episode in database. Ignoring found result for Pawn Stars S20E09 with quality 720p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Allowed, Preferred = [ 720p HDTV, 1080p HDTV, 720p WEB-DL, 1080p WEB-DL, 720p BluRay, 1080p BluRay ] [ None ] Found = [ 720p WEB-DL ]
2022-12-07 15:18:18 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Quality of Pawn.Stars.S20E09.720p.WEB.h264-BAE is 720p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: No episodes [9] of season 20 are needed with this quality for Pawn Stars
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Unable to find a matching episode in database. Ignoring found result for Pawn Stars S20E09 with quality 1080p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Allowed, Preferred = [ 720p HDTV, 1080p HDTV, 720p WEB-DL, 1080p WEB-DL, 720p BluRay, 1080p BluRay ] [ None ] Found = [ 1080p WEB-DL ]
2022-12-07 15:18:18 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Quality of Pawn.Stars.S20E09.1080p.WEB.h264-KOGi is 1080p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: No episodes [9] of season 20 are needed with this quality for Pawn Stars
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Unable to find a matching episode in database. Ignoring found result for Pawn Stars S20E09 with quality 1080p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: 111051: Allowed, Preferred = [ 720p HDTV, 1080p HDTV, 720p WEB-DL, 1080p WEB-DL, 720p BluRay, 1080p BluRay ] [ None ] Found = [ 1080p WEB-DL ]
2022-12-07 15:18:18 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Quality of Pawn.Stars.S20E09.1080p.WEB.h264-KOGi is 1080p WEB-DL
2022-12-07 15:18:18 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Transaction with 11 queries executed
2022-12-07 15:18:16 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Search show using search string: indexer_id: {'tvdbid': 111051}
2022-12-07 15:18:16 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Search mode: Episode
2022-12-07 15:18:16 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Could not find all candidates in cache, searching provider.
2022-12-07 15:18:16 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: NZBHydra2 :: Performing episode search for Pawn Stars
2022-12-07 15:18:16 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: Using manual search providers
2022-12-07 15:18:16 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: Internal name cache for pawn stars set to: die drei vom pfandhaus, pawn stars
2022-12-07 15:18:16 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: Building internal name cache for Pawn Stars
2022-12-07 15:18:16 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: Finished processing 4196 scene exceptions.
2022-12-07 15:18:16 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: Updating exception_cache and exception_season_cache
2022-12-07 15:18:16 INFO    FORCEDSEARCHQUEUE-MANUAL-111051 :: Beginning manual search for: Pawn Stars - S2022E09 - Maximum Pawnage
2022-12-07 15:18:16 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: 111051: Formatting pattern: %SN - S%0SE09 - %EN -> Pawn Stars - S2022E09 - Maximum Pawnage
2022-12-07 15:18:13 DEBUG   FORCEDSEARCHQUEUE-MANUAL-111051 :: 111051: Formatting pattern: %SN - S%0SE09 - %EN -> Pawn Stars - S2022E09 - Maximum Pawnage```
</details>

**Additional context**
Add any other context about the problem here.
x9906789x commented 1 year ago

when i manually import the episode with the correct title and the scene numbering as it is displayed, medusa thinks it is the season 2020 episode not the season 2022 episode. not sure why the scene number is not working when it is correct in thexem and is displayed correctly in medusa.