morpheus65535 / bazarr

Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you.
https://www.bazarr.media
GNU General Public License v3.0
2.87k stars 223 forks source link

erroneous language or hearing-impaired classification of subtitles #1276

Closed rmichelena closed 3 years ago

rmichelena commented 3 years ago

it's happening to me on a couple of shows, it downloads the (correct) subtitle, and then it saves it correctly named, but into the database it records it with a different language or hearing-impaired classification

make an MKV show named "Stargate.SG1-s09e17.The.Scourge.mkv" with language profile "es" (not forced, not HI) make another MKV show named "His Dark Materials - S02E07 - Æsahættr WEBRip-1080p.mkv" with language profile "es" (not forced, not HI)

it'll download Spanish subtitles for "Stargate.SG1-s09e17.The.Scourge.mkv" from podnapisi with a score of 95.28%. it'll download Spanish subtitles for "His Dark Materials - S02E07 - Æsahættr WEBRip-1080p.mkv" from subdivx with a score of 95.28%

But it will enter the first as Chinese (zh), and it will enter the second as hearing-impaired So hours later, it'll again download the same subtitles. And so the cycle will go on, endlessly.

Screen Shot 2021-02-18 at 12 35 19

**Software

Additional context Series are pre-existing so no scene name available

rmichelena commented 3 years ago

LOGS: case 1:

18/02/2021 19:11:49|DEBUG |root |BAZARR started subtitles indexing for this file: /tv/Stargate SG1/Season 9/Stargate.SG1-s09e17.The.Scourge.mkv| 18/02/2021 19:11:49|DEBUG |root |BAZARR is trying to index embedded subtitles.| 18/02/2021 19:11:49|DEBUG |root |BAZARR returning this binary: /usr/bin/ffprobe| 18/02/2021 19:11:50|DEBUG |root |BAZARR embedded subtitles detected: en| 18/02/2021 19:11:50|DEBUG |subliminal_patch.core |external subs: scanning path /tv/Stargate SG1/Season 9/Stargate.SG1-s09e17.The.Scourge.mkv| 18/02/2021 19:11:50|DEBUG |subliminal_patch.core |Found subtitles {'Stargate.SG1-s09e17.The.Scourge.es.srt': <Language [es]>}| 18/02/2021 19:11:50|DEBUG |subliminal_patch.core |external subs: found {'Stargate.SG1-s09e17.The.Scourge.es.srt': <Language [es]>}| 18/02/2021 19:11:50|DEBUG |root |BAZARR external subtitles detected: zh| 18/02/2021 19:11:50|DEBUG |root |BAZARR storing those languages to DB: [['en', None], ['zh', '/tv/Stargate SG1/Season 9/Stargate.SG1-s09e17.The.Scourge.es.srt']]| 18/02/2021 19:11:50|DEBUG |root |BAZARR ended subtitles indexing for this file: /tv/Stargate SG1/Season 9/Stargate.SG1-s09e17.The.Scourge.mkv|

Case 2: 18/02/2021 19:16:31|DEBUG |root |BAZARR started subtitles indexing for this file: /tv/His Dark Materials/Season 2/His Dark Materials - S02E07 - Æsahættr WEBRip-1080p.mkv| 18/02/2021 19:16:31|DEBUG |root |BAZARR is trying to index embedded subtitles.| 18/02/2021 19:16:31|DEBUG |root |BAZARR returning this binary: /usr/bin/ffprobe| 18/02/2021 19:16:34|DEBUG |root |BAZARR embedded subtitles detected: en:hi| 18/02/2021 19:16:34|DEBUG |subliminal_patch.core |external subs: scanning path /tv/His Dark Materials/Season 2/His Dark Materials - S02E07 - Æsahættr WEBRip-1080p.mkv| 18/02/2021 19:16:34|DEBUG |subliminal_patch.core |Found subtitles {'His Dark Materials - S02E07 - Æsahættr WEBRip-1080p.es.srt': <Language [es]>}| 18/02/2021 19:16:34|DEBUG |subliminal_patch.core |external subs: found {'His Dark Materials - S02E07 - Æsahættr WEBRip-1080p.es.srt': <Language [es]>}| 18/02/2021 19:16:34|DEBUG |root |BAZARR external subtitles detected: es:hi| 18/02/2021 19:16:34|DEBUG |root |BAZARR storing those languages to DB: [['en:hi', None], ['es:hi', '/tv/His Dark Materials/Season 2/His Dark Materials - S02E07 - Æsahættr WEBRip-1080p.es.srt']]| 18/02/2021 19:16:34|DEBUG |root |BAZARR ended subtitles indexing for this file: /tv/His Dark Materials/Season 2/His Dark Materials - S02E07 - Æsahættr WEBRip-1080p.mkv|

morpheus65535 commented 3 years ago

Fix merged to 0.9.1.1 in dev branch. Please confirm if your issue is fixed.

morpheus65535 commented 3 years ago

Fix now in master. If you still have the issue, reopen it.