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.85k stars 223 forks source link

Polish subtitles are not automatically downloaded because are not hearing impaired #2640

Closed szymon3 closed 2 months ago

szymon3 commented 2 months ago

Describe the bug I have default language profile that specifies two languages, polish and english. Both don't enforce hearing impaired subtitles (default setting). Automatic subtitles search ignores results with 99% score, because they are not hearing impaired, but I believe there is nothing in my configuration that would enforce them.

I'm not sure if it's general or provider issue.

To Reproduce Steps to reproduce the behavior:

  1. Go to Series, TV Show
  2. Click on Search (automatic search)
  3. All Taks Completed, subtitles still missing

If I use Manual Search, I see results with 99% score from napiprojekt provider with warning about missing hearing impaired subtitles.

Expected behavior Automatically download subtitles with 99% Score without warning about missing hearing impaired subtitles.

Screenshots image image image image Sonarr settings: image

Software (please complete the following information):

Additional context Debug logs from automatic search:

Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,444 - root                             (7b7d060006c0) :  DEBUG (pool:79) - BAZARR updating pools: {'series_': SZAsyncProviderPool [6 providers (3 initialized; 2 discarded)], 'series_1': SZAsyncProviderPool [6 providers (4 initialized; 0 discarded)], 'movie_': SZAsyncProviderPool [6 providers (3 initialized; 3 discarded)], 'movie_1': SZAsyncProviderPool [6 providers (4 initialized; 2 discarded)]}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,445 - root                             (7b7d060006c0) :  DEBUG (pool:44) - BAZARR updating pool: series_1
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,445 - root                             (7b7d060006c0) :  DEBUG (get_providers:193) - Not using opensubtitlescom until 24/08/28 16:35, because of: ConfigurationError
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,446 - root                             (7b7d060006c0) :  DEBUG (get_providers:193) - Not using subf2m until 24/08/28 16:35, because of: ConfigurationError
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,446 - root                             (7b7d060006c0) :  DEBUG (get_providers:193) - Not using napisy24 until 24/08/28 17:57, because of: AuthenticationError
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,446 - root                             (7b7d060006c0) :  DEBUG (get_providers:193) - Not using opensubtitles until 24/08/28 16:35, because of: Unauthorized
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,461 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:248) - Discarded providers: set() | New providers: {'tvsubtitles', 'napiprojekt', 'wizdom', 'podnapisi', 'yifysubtitles', 'supersubtitles'}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,461 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:250) - Updated discarded providers: set()
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,461 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:254) - Removed providers: set()
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,461 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:110) - No provider config updates
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,461 - root                             (7b7d060006c0) :  DEBUG (pool:103) - BAZARR pools update elapsed time: 16.71ms
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,461 - root                             (7b7d060006c0) :  DEBUG (download:33) - BAZARR Searching subtitles for this file: /mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,462 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:98) - Config changed. Restarting provider: podnapisi
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,499 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:108) - Providers with config updates: {'podnapisi'}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,500 - subzero.video                    (7b7d060006c0) :  DEBUG (video:60) - Parsing video: Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4, hints: {'title': 'Fargo', 'type': 'episode'}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,500 - subliminal_patch.core            (7b7d060006c0) :  INFO (core:832) - Determining basic video properties for 'Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4' in '/mnt/library/downloads/seriale/Fargo/Season 02'
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,542 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:840) - GuessIt found: {
Aug 28 07:19:10 arrstack bazarr[396]:     "title": "Fargo",
Aug 28 07:19:10 arrstack bazarr[396]:     "season": 2,
Aug 28 07:19:10 arrstack bazarr[396]:     "year": 2014,
Aug 28 07:19:10 arrstack bazarr[396]:     "episode": 1,
Aug 28 07:19:10 arrstack bazarr[396]:     "episode_title": "Waiting for",
Aug 28 07:19:10 arrstack bazarr[396]:     "language": "Dutch",
Aug 28 07:19:10 arrstack bazarr[396]:     "source": "Blu-ray",
Aug 28 07:19:10 arrstack bazarr[396]:     "screen_size": "1080p",
Aug 28 07:19:10 arrstack bazarr[396]:     "audio_codec": "AAC",
Aug 28 07:19:10 arrstack bazarr[396]:     "audio_channels": "5.1",
Aug 28 07:19:10 arrstack bazarr[396]:     "video_codec": "H.265",
Aug 28 07:19:10 arrstack bazarr[396]:     "release_group": "RARBG",
Aug 28 07:19:10 arrstack bazarr[396]:     "container": "mp4",
Aug 28 07:19:10 arrstack bazarr[396]:     "mimetype": "video/mp4",
Aug 28 07:19:10 arrstack bazarr[396]:     "type": "episode"
Aug 28 07:19:10 arrstack bazarr[396]: }
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,542 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:856) - Size is 832497726
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,580 - subliminal_patch.core            (7b7d060006c0) :  DEBUG (core:884) - Computed hashes {'napiprojekt': 'd09fecae240ec6f25dca0dc26648ab6f'}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,581 - root                             (7b7d060006c0) :  DEBUG (utils:48) - Running refiner: database
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,582 - root                             (7b7d060006c0) :  DEBUG (utils:48) - Running refiner: ffprobe
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,583 - root                             (7b7d060006c0) :  DEBUG (ffprobe:40) - FFprobe found: {'title': 'Fargo.S02E01.1080p.BluRay.x265-RARBG', 'path': '/mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4', 'duration': datetime.timedelta(seconds=2985, microseconds=238000), 'size': 832497726, 'bit_rate': 2230971, 'container': 'mp4', 'video': [{'id': 0, 'language': <Language [und]>, 'duration': datetime.timedelta(seconds=2985, microseconds=190542), 'width': 1920, 'height': 1080, 'scan_type': 'Progressive', 'aspect_ratio': Decimal('1.778'), 'pixel_aspect_ratio': Decimal('1.0'), 'resolution': '1080p', 'frame_rate': Decimal('23.976'), 'bit_rate': 2000242, 'codec': 'H.265', 'profile': 'Main 10', 'default': True}], 'audio': [{'id': 1, 'language': <Language [en]>, 'duration': datetime.timedelta(seconds=2985, microseconds=195000), 'codec': 'AAC', 'profile': 'Low Complexity', 'channels_count': 6, 'channels': '5.1', 'bit_rate': 223999, 'sampling_rate': 48000, 'default': True}], 'provider': {'name': 'ffmpeg', 'version': {'/opt/Bazarr/bin/Linux/x86_64/ffmpeg/ffprobe': 'v4.2.2-static'}}}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,583 - root                             (7b7d060006c0) :  DEBUG (utils:48) - Running refiner: arr_history
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,584 - root                             (7b7d060006c0) :  DEBUG (utils:48) - Running refiner: anidb
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,585 - root                             (7b7d060006c0) :  DEBUG (utils:51) - BAZARR is using these video object properties: {'name': '/mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4', 'source': 'Blu-ray', 'release_group': 'RARBG', 'resolution': '1080p', 'video_codec': 'H.265', 'audio_codec': 'AAC', 'imdb_id': None, 'hashes': {'napiprojekt': 'd09fecae240ec6f25dca0dc26648ab6f'}, 'size': 832497726, 'subtitle_languages': set(), 'original_name': 'Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4', 'plexapi_metadata': {}, 'hints': {'title': 'Fargo', 'type': 'episode', 'single_value': True}, 'audio_languages': {'eng'}, 'external_subtitle_languages': set(), 'streaming_service': None, 'edition': None, 'original_path': '/mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4', 'other': None, 'info_url': None, 'series_anidb_series_id': (None,), 'series_anidb_episode_id': None, 'series': 'Fargo', 'season': 2, 'episode': 1, 'title': 'Waiting for Dutch', 'year': 2014, 'original_series': False, 'tvdb_id': None, 'series_tvdb_id': 269613, 'series_imdb_id': 'tt2802850', 'alternative_series': [], 'series_anidb_id': None, 'used_scene_name': False, 'sonarrSeriesId': 2, 'sonarrEpisodeId': 17, 'fps': Decimal('23.976')}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,591 - subliminal_patch.score           (7b7d060006c0) :  DEBUG (score:65) - Hash value: 119 -> Rest sum: 120
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,591 - subliminal_patch.score           (7b7d060006c0) :  DEBUG (score:65) - Hash value: 359 -> Rest sum: 360
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,591 - subliminal_patch.core_persistent (7b7d060006c0) :  INFO (core_persistent:71) - Downloading best subtitles for <Episode ['Fargo', 2014, 2x1]>
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,592 - subliminal_patch.core            (7b7caa6006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=pol>}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,592 - subliminal_patch.core            (7b7caa6006c0) :  DEBUG (core:192) - New set: 24 items
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,592 - subliminal_patch.core            (7b7caa6006c0) :  DEBUG (core:170) - Nothing to translate found
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,593 - subliminal_patch.core            (7b7caa6006c0) :  INFO (core:365) - Listing subtitles with provider 'tvsubtitles' and languages {<Language: alpha3=pol>}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,592 - subliminal_patch.core            (7b7cae2006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=pol>}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,593 - subliminal_patch.core            (7b7ca9c006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=pol>}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,592 - subliminal_patch.core            (7b7caba006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=pol>}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,594 - subliminal_patch.core            (7b7caba006c0) :  DEBUG (core:192) - New set: 1 items
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,594 - subliminal_patch.core            (7b7caba006c0) :  INFO (core:357) - Skipping provider 'wizdom': no language to search for
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,593 - subliminal_patch.core            (7b7cac4006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=pol>}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,594 - subliminal_patch.core            (7b7cac4006c0) :  DEBUG (core:192) - New set: 748 items
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,594 - subliminal_patch.core            (7b7cac4006c0) :  DEBUG (core:170) - Nothing to translate found
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,594 - subliminal_patch.core            (7b7ca92006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=pol>}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,593 - subliminal_patch.core            (7b7cae2006c0) :  DEBUG (core:192) - New set: 1 items
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,594 - subliminal_patch.core            (7b7ca9c006c0) :  INFO (core:344) - Skipping provider 'yifysubtitles': not a valid video
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,593 - subliminal.providers.tvsubtitles (7b7caa6006c0) :  DEBUG (tvsubtitles:212) - No show id found for 'Fargo' ({'year': 2014})
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,595 - subliminal_patch.core            (7b7cac4006c0) :  INFO (core:365) - Listing subtitles with provider 'podnapisi' and languages {<Language: alpha3=pol>}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,595 - subliminal_patch.providers.podnapisi (7b7cac4006c0) :  INFO (podnapisi:198) - Searching subtitles {'sXML': 1, 'sL': 'pl', 'sK': 'fargo', 'sTS': 2, 'sTE': 1, 'sY': 2014}
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,596 - urllib3.connectionpool           (7b7cac4006c0) :  DEBUG (connectionpool:1055) - Starting new HTTPS connection (1): podnapisi.net:443
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,595 - subliminal_patch.core            (7b7cae2006c0) :  INFO (core:357) - Skipping provider 'napiprojekt': no language to search for
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,595 - subliminal_patch.core            (7b7ca92006c0) :  DEBUG (core:192) - New set: 6 items
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,597 - subliminal_patch.core            (7b7ca92006c0) :  INFO (core:357) - Skipping provider 'supersubtitles': no language to search for
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,813 - urllib3.connectionpool           (7b7cac4006c0) :  DEBUG (connectionpool:549) - https://podnapisi.net:443 "GET /subtitles/search/old?sXML=1&sL=pl&sK=fargo&sTS=2&sTE=1&sY=2014 HTTP/1.1" 302 138
Aug 28 07:19:10 arrstack bazarr[396]: 2024-08-28 07:19:10,814 - urllib3.connectionpool           (7b7cac4006c0) :  DEBUG (connectionpool:1055) - Starting new HTTPS connection (1): www.podnapisi.net:443
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,000 - urllib3.connectionpool           (7b7cac4006c0) :  DEBUG (connectionpool:549) - https://www.podnapisi.net:443 "GET /subtitles/search/old?sXML=1&sL=pl&sK=fargo&sTS=2&sTE=1&sY=2014 HTTP/1.1" 200 1537
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,000 - subliminal_patch.providers.podnapisi (7b7cac4006c0) :  DEBUG (podnapisi:213) - No subtitles found
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,002 - subliminal_patch.core_persistent (7b7d060006c0) :  INFO (core_persistent:81) - Downloaded 0 subtitle(s)
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,002 - root                             (7b7d060006c0) :  DEBUG (download:126) - BAZARR No Subtitles were found for this file: /mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,002 - socketio.server                  (7b7d060006c0) :  INFO (server:161) - emitting event "data" to all [/]
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,002 - engineio.server                  (7b7d060006c0) :  INFO (socket:76) - qh9EFb7WrKzRGYgYAABc: Sending packet MESSAGE data 2["data",{"type":"episode","action":"update","payload":17}]
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,002 - engineio.server                  (7b7d060006c0) :  INFO (socket:76) - RuQQ46SPPvtnLL9xAABe: Sending packet MESSAGE data 2["data",{"type":"episode","action":"update","payload":17}]
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,002 - socketio.server                  (7b7d060006c0) :  INFO (server:161) - emitting event "data" to all [/]
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,002 - engineio.server                  (7b7d060006c0) :  INFO (socket:76) - qh9EFb7WrKzRGYgYAABc: Sending packet MESSAGE data 2["data",{"type":"message","action":"update","payload":"No PL subtitles found"}]
Aug 28 07:19:15 arrstack bazarr[396]: 2024-08-28 07:19:15,002 - engineio.server                  (7b7d060006c0) :  INFO (socket:76) - RuQQ46SPPvtnLL9xAABe: Sending packet MESSAGE data 2["data",{"type":"message","action":"update","payload":"No PL subtitles found"}]

Debug logs from Manual Search:

Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,861 - root                             (7b7cd30006c0) :  DEBUG (get_providers:193) - Not using opensubtitlescom until 24/08/28 16:35, because of: ConfigurationError
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,861 - root                             (7b7cd30006c0) :  DEBUG (get_providers:193) - Not using subf2m until 24/08/28 16:35, because of: ConfigurationError
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,861 - root                             (7b7cd30006c0) :  DEBUG (get_providers:193) - Not using napisy24 until 24/08/28 17:57, because of: AuthenticationError
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,861 - root                             (7b7cd30006c0) :  DEBUG (get_providers:193) - Not using opensubtitles until 24/08/28 16:35, because of: Unauthorized
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,861 - root                             (7b7cd30006c0) :  DEBUG (pool:79) - BAZARR updating pools: {'series_': SZAsyncProviderPool [6 providers (3 initialized; 2 discarded)], 'series_1': SZAsyncProviderPool [6 providers (4 initialized; 0 discarded)], 'movie_': SZAsyncProviderPool [6 providers (3 initialized; 3 discarded)], 'movie_1': SZAsyncProviderPool [6 providers (4 initialized; 2 discarded)]}
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,861 - root                             (7b7cd30006c0) :  DEBUG (pool:44) - BAZARR updating pool: series_1
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,862 - root                             (7b7cd30006c0) :  DEBUG (get_providers:193) - Not using opensubtitlescom until 24/08/28 16:35, because of: ConfigurationError
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,862 - root                             (7b7cd30006c0) :  DEBUG (get_providers:193) - Not using subf2m until 24/08/28 16:35, because of: ConfigurationError
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,863 - root                             (7b7cd30006c0) :  DEBUG (get_providers:193) - Not using napisy24 until 24/08/28 17:57, because of: AuthenticationError
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,863 - root                             (7b7cd30006c0) :  DEBUG (get_providers:193) - Not using opensubtitles until 24/08/28 16:35, because of: Unauthorized
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,877 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:248) - Discarded providers: set() | New providers: {'tvsubtitles', 'napiprojekt', 'wizdom', 'podnapisi', 'yifysubtitles', 'supersubtitles'}
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,878 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:250) - Updated discarded providers: set()
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,878 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:254) - Removed providers: set()
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,878 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:110) - No provider config updates
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,878 - root                             (7b7cd30006c0) :  DEBUG (pool:103) - BAZARR pools update elapsed time: 16.93ms
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,878 - root                             (7b7cd30006c0) :  DEBUG (manual:28) - BAZARR Manually searching subtitles for this file: /mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,883 - subliminal_patch.score           (7b7cd30006c0) :  DEBUG (score:65) - Hash value: 119 -> Rest sum: 120
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,883 - subliminal_patch.score           (7b7cd30006c0) :  DEBUG (score:65) - Hash value: 359 -> Rest sum: 360
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,883 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:98) - Config changed. Restarting provider: podnapisi
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,921 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:108) - Providers with config updates: {'podnapisi'}
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,922 - subzero.video                    (7b7cd30006c0) :  DEBUG (video:60) - Parsing video: Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4, hints: {'title': 'Fargo', 'type': 'episode'}
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,922 - subliminal_patch.core            (7b7cd30006c0) :  INFO (core:832) - Determining basic video properties for 'Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4' in '/mnt/library/downloads/seriale/Fargo/Season 02'
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,962 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:840) - GuessIt found: {
Aug 28 07:20:37 arrstack bazarr[396]:     "title": "Fargo",
Aug 28 07:20:37 arrstack bazarr[396]:     "season": 2,
Aug 28 07:20:37 arrstack bazarr[396]:     "year": 2014,
Aug 28 07:20:37 arrstack bazarr[396]:     "episode": 1,
Aug 28 07:20:37 arrstack bazarr[396]:     "episode_title": "Waiting for",
Aug 28 07:20:37 arrstack bazarr[396]:     "language": "Dutch",
Aug 28 07:20:37 arrstack bazarr[396]:     "source": "Blu-ray",
Aug 28 07:20:37 arrstack bazarr[396]:     "screen_size": "1080p",
Aug 28 07:20:37 arrstack bazarr[396]:     "audio_codec": "AAC",
Aug 28 07:20:37 arrstack bazarr[396]:     "audio_channels": "5.1",
Aug 28 07:20:37 arrstack bazarr[396]:     "video_codec": "H.265",
Aug 28 07:20:37 arrstack bazarr[396]:     "release_group": "RARBG",
Aug 28 07:20:37 arrstack bazarr[396]:     "container": "mp4",
Aug 28 07:20:37 arrstack bazarr[396]:     "mimetype": "video/mp4",
Aug 28 07:20:37 arrstack bazarr[396]:     "type": "episode"
Aug 28 07:20:37 arrstack bazarr[396]: }
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,963 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:856) - Size is 832497726
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,997 - subliminal_patch.core            (7b7cd30006c0) :  DEBUG (core:884) - Computed hashes {'napiprojekt': 'd09fecae240ec6f25dca0dc26648ab6f'}
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,997 - root                             (7b7cd30006c0) :  DEBUG (utils:48) - Running refiner: database
Aug 28 07:20:37 arrstack bazarr[396]: 2024-08-28 07:20:37,999 - root                             (7b7cd30006c0) :  DEBUG (utils:48) - Running refiner: ffprobe
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,000 - root                             (7b7cd30006c0) :  DEBUG (ffprobe:40) - FFprobe found: {'title': 'Fargo.S02E01.1080p.BluRay.x265-RARBG', 'path': '/mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4', 'duration': datetime.timedelta(seconds=2985, microseconds=238000), 'size': 832497726, 'bit_rate': 2230971, 'container': 'mp4', 'video': [{'id': 0, 'language': <Language [und]>, 'duration': datetime.timedelta(seconds=2985, microseconds=190542), 'width': 1920, 'height': 1080, 'scan_type': 'Progressive', 'aspect_ratio': Decimal('1.778'), 'pixel_aspect_ratio': Decimal('1.0'), 'resolution': '1080p', 'frame_rate': Decimal('23.976'), 'bit_rate': 2000242, 'codec': 'H.265', 'profile': 'Main 10', 'default': True}], 'audio': [{'id': 1, 'language': <Language [en]>, 'duration': datetime.timedelta(seconds=2985, microseconds=195000), 'codec': 'AAC', 'profile': 'Low Complexity', 'channels_count': 6, 'channels': '5.1', 'bit_rate': 223999, 'sampling_rate': 48000, 'default': True}], 'provider': {'name': 'ffmpeg', 'version': {'/opt/Bazarr/bin/Linux/x86_64/ffmpeg/ffprobe': 'v4.2.2-static'}}}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,000 - root                             (7b7cd30006c0) :  DEBUG (utils:48) - Running refiner: arr_history
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,001 - root                             (7b7cd30006c0) :  DEBUG (utils:48) - Running refiner: anidb
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,003 - root                             (7b7cd30006c0) :  DEBUG (utils:51) - BAZARR is using these video object properties: {'name': '/mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4', 'source': 'Blu-ray', 'release_group': 'RARBG', 'resolution': '1080p', 'video_codec': 'H.265', 'audio_codec': 'AAC', 'imdb_id': None, 'hashes': {'napiprojekt': 'd09fecae240ec6f25dca0dc26648ab6f'}, 'size': 832497726, 'subtitle_languages': set(), 'original_name': 'Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4', 'plexapi_metadata': {}, 'hints': {'title': 'Fargo', 'type': 'episode', 'single_value': True}, 'audio_languages': {'eng'}, 'external_subtitle_languages': set(), 'streaming_service': None, 'edition': None, 'original_path': '/mnt/library/downloads/seriale/Fargo/Season 02/Fargo (2014) - S02E01 - Waiting for Dutch [Bluray-1080p][AAC 5.1][x265]-RARBG.mp4', 'other': None, 'info_url': None, 'series_anidb_series_id': (None,), 'series_anidb_episode_id': None, 'series': 'Fargo', 'season': 2, 'episode': 1, 'title': 'Waiting for Dutch', 'year': 2014, 'original_series': False, 'tvdb_id': None, 'series_tvdb_id': 269613, 'series_imdb_id': 'tt2802850', 'alternative_series': [], 'series_anidb_id': None, 'used_scene_name': False, 'sonarrSeriesId': 2, 'sonarrEpisodeId': 17, 'fps': Decimal('23.976')}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,003 - subliminal_patch.core_persistent (7b7cd30006c0) :  INFO (core_persistent:21) - Listing subtitles for <Episode ['Fargo', 2014, 2x1]>
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,004 - subliminal_patch.core            (7b7cac4006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=eng>, <Language: hi=True;alpha3=pol>, <Language: alpha3=pol>, <Language: hi=True;alpha3=eng>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,004 - subliminal_patch.core            (7b7cac4006c0) :  DEBUG (core:192) - New set: 24 items
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,004 - subliminal_patch.core            (7b7caa6006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=eng>, <Language: hi=True;alpha3=pol>, <Language: alpha3=pol>, <Language: hi=True;alpha3=eng>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,004 - subliminal_patch.core            (7b7ca92006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=eng>, <Language: hi=True;alpha3=pol>, <Language: alpha3=pol>, <Language: hi=True;alpha3=eng>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,005 - subliminal_patch.core            (7b7ca92006c0) :  DEBUG (core:192) - New set: 1 items
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,005 - subliminal_patch.core            (7b7ca92006c0) :  DEBUG (core:170) - Nothing to translate found
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,006 - subliminal_patch.core            (7b7ca92006c0) :  INFO (core:365) - Listing subtitles with provider 'napiprojekt' and languages {<Language: hi=True;alpha3=pol>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,006 - subliminal_patch.providers.napiprojekt (7b7ca92006c0) :  INFO (napiprojekt:53) - Searching subtitle {'v': 'dreambox', 'kolejka': 'false', 'nick': '', 'pass': '', 'napios': 'Linux', 'l': 'PL', 'f': 'd09fecae240ec6f25dca0dc26648ab6f', 't': 'a68c6'}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,005 - subliminal_patch.core            (7b7cae2006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=eng>, <Language: hi=True;alpha3=pol>, <Language: alpha3=pol>, <Language: hi=True;alpha3=eng>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,007 - subliminal_patch.core            (7b7cae2006c0) :  DEBUG (core:192) - New set: 748 items
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,005 - subliminal_patch.core            (7b7cac4006c0) :  DEBUG (core:170) - Nothing to translate found
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,005 - subliminal_patch.core            (7b7caba006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=eng>, <Language: hi=True;alpha3=pol>, <Language: alpha3=pol>, <Language: hi=True;alpha3=eng>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,005 - subliminal_patch.core            (7b7caa6006c0) :  DEBUG (core:192) - New set: 1 items
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,007 - subliminal_patch.core            (7b7caba006c0) :  INFO (core:344) - Skipping provider 'yifysubtitles': not a valid video
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,008 - subliminal_patch.core            (7b7caa6006c0) :  INFO (core:357) - Skipping provider 'wizdom': no language to search for
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,006 - subliminal_patch.core            (7b7ca9c006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=eng>, <Language: hi=True;alpha3=pol>, <Language: alpha3=pol>, <Language: hi=True;alpha3=eng>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,008 - subliminal_patch.core            (7b7ca9c006c0) :  DEBUG (core:192) - New set: 6 items
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,008 - subliminal_patch.core            (7b7ca9c006c0) :  DEBUG (core:170) - Nothing to translate found
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,008 - subliminal_patch.core            (7b7ca9c006c0) :  INFO (core:365) - Listing subtitles with provider 'supersubtitles' and languages {<Language: alpha3=eng>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,008 - subliminal_patch.providers.supersubtitles (7b7ca9c006c0) :  INFO (supersubtitles:222) - Get series id from URL https://www.feliratok.eu/index.php?term=Fargo&nyelv=0&action=autoname
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,007 - subliminal_patch.core            (7b7cae2006c0) :  DEBUG (core:170) - Nothing to translate found
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,009 - subliminal_patch.core            (7b7cae2006c0) :  INFO (core:365) - Listing subtitles with provider 'podnapisi' and languages {<Language: alpha3=eng>, <Language: hi=True;alpha3=pol>, <Language: alpha3=pol>, <Language: hi=True;alpha3=eng>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,009 - subliminal_patch.providers.podnapisi (7b7cae2006c0) :  INFO (podnapisi:198) - Searching subtitles {'sXML': 1, 'sL': 'en', 'sK': 'fargo', 'sTS': 2, 'sTE': 1, 'sY': 2014}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,010 - urllib3.connectionpool           (7b7cae2006c0) :  DEBUG (connectionpool:1055) - Starting new HTTPS connection (1): podnapisi.net:443
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,007 - subliminal_patch.core            (7b7cac4006c0) :  INFO (core:365) - Listing subtitles with provider 'tvsubtitles' and languages {<Language: alpha3=eng>, <Language: alpha3=pol>}
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,010 - subliminal.providers.tvsubtitles (7b7cac4006c0) :  DEBUG (tvsubtitles:212) - No show id found for 'Fargo' ({'year': 2014})
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,007 - urllib3.connectionpool           (7b7ca92006c0) :  DEBUG (connectionpool:292) - Resetting dropped connection: napiprojekt.pl
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,072 - urllib3.connectionpool           (7b7ca9c006c0) :  DEBUG (connectionpool:549) - https://www.feliratok.eu:443 "GET /index.php?term=Fargo&nyelv=0&action=autoname HTTP/1.1" 301 None
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,245 - urllib3.connectionpool           (7b7cae2006c0) :  DEBUG (connectionpool:549) - https://podnapisi.net:443 "GET /subtitles/search/old?sXML=1&sL=en&sK=fargo&sTS=2&sTE=1&sY=2014 HTTP/1.1" 302 138
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,248 - urllib3.connectionpool           (7b7cae2006c0) :  DEBUG (connectionpool:1055) - Starting new HTTPS connection (1): www.podnapisi.net:443
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,262 - urllib3.connectionpool           (7b7ca9c006c0) :  DEBUG (connectionpool:549) - https://feliratok.eu:443 "GET /index.php?action=autoname&nyelv=0&term=Fargo HTTP/1.1" 200 None
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,275 - subliminal_patch.providers.supersubtitles (7b7ca9c006c0) :  INFO (supersubtitles:325) - Getting the list of subtitles for <Episode ['Fargo', 2014, 2x1]>
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,321 - urllib3.connectionpool           (7b7ca9c006c0) :  DEBUG (connectionpool:549) - https://www.feliratok.eu:443 "GET /index.php?action=xbmc&sid=2948&ev=2&rtol=1 HTTP/1.1" 301 None
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,380 - urllib3.connectionpool           (7b7ca92006c0) :  DEBUG (connectionpool:549) - http://napiprojekt.pl:80 "GET /unit_napisy/dl.php?v=dreambox&kolejka=false&nick=&pass=&napios=Linux&l=PL&f=d09fecae240ec6f25dca0dc26648ab6f&t=a68c6 HTTP/1.1" 200 14439
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,424 - subliminal_patch.providers.napiprojekt (7b7ca92006c0) :  DEBUG (napiprojekt:64) - Found subtitle <NapiProjektSubtitle 'd09fecae240ec6f25dca0dc26648ab6f' [pl]>
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,425 - urllib3.connectionpool           (7b7ca92006c0) :  DEBUG (connectionpool:292) - Resetting dropped connection: www.napiprojekt.pl
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,433 - urllib3.connectionpool           (7b7ca9c006c0) :  DEBUG (connectionpool:549) - https://feliratok.eu:443 "GET /index.php?action=xbmc&ev=2&rtol=1&sid=2948 HTTP/1.1" 200 None
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,694 - urllib3.connectionpool           (7b7ca92006c0) :  DEBUG (connectionpool:549) - https://www.napiprojekt.pl:443 "POST /ajax/search_catalog.php HTTP/1.1" 200 651
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,783 - urllib3.connectionpool           (7b7ca92006c0) :  DEBUG (connectionpool:549) - https://www.napiprojekt.pl:443 "GET /napisy1,7,0-dla-41381-Fargo-(2014)-s02e01 HTTP/1.1" 200 None
Aug 28 07:20:38 arrstack bazarr[396]: 2024-08-28 07:20:38,813 - subliminal_patch.providers.napiprojekt (7b7ca92006c0) :  DEBUG (napiprojekt:101) - Found subtitles [<NapiProjektSubtitle 'Fargo 2x1.mp4' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mp4' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mp4' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x1.avi' [pl]>]
szymon3 commented 2 months ago

Actually I just realized that the issue is in language setting:

INFO (core:357) - Skipping provider 'napiprojekt': no language to search for

However I don't understand why, because couple of lines above it says that is searches for Polish:

Languages requested: {<Language: alpha3=pol>}

Could be a typo between pol and pl or something? - https://github.com/morpheus65535/bazarr/blob/97ea3a81242f604007fcd54c54f4acf17a97fade/custom_libs/subliminal/providers/napiprojekt.py#L65 I even changed the series source language in Sonarr to English, but it didn't change search results.

morpheus65535 commented 2 months ago

If you restart Bazarr and automatic search for this episode (using context menu, not manual search dialog), does it works?

szymon3 commented 2 months ago

It worked for one episode:

Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,635 - subliminal_patch.core            (729cc36006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=pol>}
Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,635 - subliminal_patch.core            (729cc36006c0) :  DEBUG (core:192) - New set: 24 items
Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,635 - subliminal_patch.core            (729cc36006c0) :  DEBUG (core:170) - Nothing to translate found
Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,635 - subliminal_patch.core            (729cc36006c0) :  INFO (core:365) - Listing subtitles with provider 'tvsubtitles' and languages {<Language: alpha3=pol>}
Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,636 - subliminal_patch.core            (729cc36006c0) :  INFO (core:296) - Initializing provider tvsubtitles
Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,633 - urllib3.connectionpool           (729cc2c006c0) :  DEBUG (connectionpool:1055) - Starting new HTTPS connection (1): podnapisi.net:443
Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,637 - subliminal.providers.tvsubtitles (729cc36006c0) :  DEBUG (tvsubtitles:212) - No show id found for 'Fargo' ({'year': 2014})
Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,878 - urllib3.connectionpool           (729cc2c006c0) :  DEBUG (connectionpool:549) - https://podnapisi.net:443 "GET /subtitles/search/old?sXML=1&sL=pl&sK=fargo&sTS=2&sTE=3&sY=2014 HTTP/1.1" 302 138
Aug 28 10:32:01 arrstack bazarr[21613]: 2024-08-28 10:32:01,879 - urllib3.connectionpool           (729cc2c006c0) :  DEBUG (connectionpool:1055) - Starting new HTTPS connection (1): www.podnapisi.net:443
Aug 28 10:32:02 arrstack bazarr[21613]: 2024-08-28 10:32:02,027 - urllib3.connectionpool           (729cc22006c0) :  DEBUG (connectionpool:549) - http://napiprojekt.pl:80 "GET /unit_napisy/dl.php?v=dreambox&kolejka=false&nick=&pass=&napios=Linux&l=PL&f=ac796542e089189e87f4c6402e32d568&t=00ec8 HTTP/1.1" 200 13790
Aug 28 10:32:02 arrstack bazarr[21613]: 2024-08-28 10:32:02,033 - subliminal_patch.providers.napiprojekt (729cc22006c0) :  DEBUG (napiprojekt:64) - Found subtitle <NapiProjektSubtitle 'ac796542e089189e87f4c6402e32d568' [pl]>
Aug 28 10:32:02 arrstack bazarr[21613]: 2024-08-28 10:32:02,034 - urllib3.connectionpool           (729cc22006c0) :  DEBUG (connectionpool:1055) - Starting new HTTPS connection (1): www.napiprojekt.pl:443
Aug 28 10:32:02 arrstack bazarr[21613]: 2024-08-28 10:32:02,278 - urllib3.connectionpool           (729cc22006c0) :  DEBUG (connectionpool:549) - https://www.napiprojekt.pl:443 "POST /ajax/search_catalog.php HTTP/1.1" 200 651
Aug 28 10:32:02 arrstack bazarr[21613]: 2024-08-28 10:32:02,378 - urllib3.connectionpool           (729cc22006c0) :  DEBUG (connectionpool:549) - https://www.napiprojekt.pl:443 "GET /napisy1,7,0-dla-41381-Fargo-(2014)-s02e03 HTTP/1.1" 200 None
Aug 28 10:32:02 arrstack bazarr[21613]: 2024-08-28 10:32:02,411 - subliminal_patch.providers.napiprojekt (729cc22006c0) :  DEBUG (napiprojekt:101) - Found subtitles [<NapiProjektSubtitle 'Fargo 2x3.mp4' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mp4' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mp4' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.avi' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mkv' [pl]>, <NapiProjektSubtitle 'Fargo 2x3.mp4' [pl]>]

But after successful download for that episode I started search for next one and encountered the same error as before:

Aug 28 10:33:08 arrstack bazarr[21613]: 2024-08-28 10:33:08,448 - subliminal_patch.core            (729cc22006c0) :  DEBUG (core:335) - Languages requested: {<Language: alpha3=pol>}
Aug 28 10:33:08 arrstack bazarr[21613]: 2024-08-28 10:33:08,448 - subliminal_patch.core            (729cc22006c0) :  DEBUG (core:192) - New set: 1 items
Aug 28 10:33:08 arrstack bazarr[21613]: 2024-08-28 10:33:08,448 - subliminal_patch.core            (729cc22006c0) :  INFO (core:357) - Skipping provider 'napiprojekt': no language to search for
JaiZed commented 2 months ago

I believe I fixed this in a recent 1.4.4 beta. Please try that, if you can.

morpheus65535 commented 2 months ago

I believe I fixed this in a recent 1.4.4 beta. Please try that, if you can.

That's what I had in mind.

szymon3 commented 2 months ago

v1.4.4-beta.37 Now it seems to be throwing exception on subtitles download attempt:

Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.core            (7e74200006c0) :  DEBUG (core:573) - <NapiProjektSubtitle '56616471c749d37076f13e1d2ecfe575' [pl]>: Found matches {'hash'}
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.score           (7e74200006c0) :  DEBUG (score:91) - Scores to use for <Episode ['Fargo', 2014, 2x5]>: {'hearing_impaired': 1, 'streaming_service': 1, 'video_codec': 2, 'resolution': 2, 'audio_codec': 3, 'source': 7, 'release_group': 14, 'episode': 30, 'season': 30, 'year': 90, 'series': 180, 'hash': 359}
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.score           (7e74200006c0) :  DEBUG (score:128) - <NapiProjektSubtitle '56616471c749d37076f13e1d2ecfe575' [pl]>: Hash not verifiable for this provider. Keeping it
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.score           (7e74200006c0) :  DEBUG (score:148) - Matched hearing_impaired
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.score           (7e74200006c0) :  INFO (score:154) - <NapiProjektSubtitle '56616471c749d37076f13e1d2ecfe575' [pl]>: Computed score 360 with final matches {'hearing_impaired', 'hash'}
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.core            (7e74200006c0) :  DEBUG (core:624) - <NapiProjektSubtitle '56616471c749d37076f13e1d2ecfe575' [pl]>: Trying to download subtitle with matches {'hearing_impaired', 'hash'}, score: 360; release(s): 56616471c749d37076f13e1d2ecfe575
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.core            (7e74200006c0) :  INFO (core:466) - Downloading subtitle <NapiProjektSubtitle '56616471c749d37076f13e1d2ecfe575' [pl]>
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.subtitle        (7e74200006c0) :  INFO (subtitle:182) - Guessing encoding for language pl
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.subtitle        (7e74200006c0) :  DEBUG (subtitle:250) - Trying encodings ['utf-8', 'windows-1250', 'iso-8859-2']
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.subtitle        (7e74200006c0) :  INFO (subtitle:258) - Guessed encoding utf-8
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.subtitle        (7e74200006c0) :  ERROR (subtitle:301) - PySRT-parsing failed, trying pysubs2
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,824 - subliminal_patch.subtitle        (7e74200006c0) :  DEBUG (subtitle:308) - Trying parsing with PySubs2
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,829 - subliminal_patch.subtitle        (7e74200006c0) :  ERROR (subtitle:337) - Couldn't convert subtitle <NapiProjektSubtitle '56616471c749d37076f13e1d2ecfe575' [pl]> to .srt format: Traceback (most recent call last):
Aug 29 07:45:59 arrstack bazarr[13139]:   File "/opt/Bazarr/bazarr/../custom_libs/subliminal_patch/subtitle.py", line 311, in is_valid
Aug 29 07:45:59 arrstack bazarr[13139]:     subs = pysubs2.SSAFile.from_string(text)
Aug 29 07:45:59 arrstack bazarr[13139]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 29 07:45:59 arrstack bazarr[13139]:   File "/opt/Bazarr/bazarr/../libs/pysubs2/ssafile.py", line 147, in from_string
Aug 29 07:45:59 arrstack bazarr[13139]:     return cls.from_file(fp, format_, fps=fps, **kwargs)
Aug 29 07:45:59 arrstack bazarr[13139]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 29 07:45:59 arrstack bazarr[13139]:   File "/opt/Bazarr/bazarr/../libs/pysubs2/ssafile.py", line 184, in from_file
Aug 29 07:45:59 arrstack bazarr[13139]:     format_ = autodetect_format(fragment)
Aug 29 07:45:59 arrstack bazarr[13139]:               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 29 07:45:59 arrstack bazarr[13139]:   File "/opt/Bazarr/bazarr/../libs/pysubs2/formats/__init__.py", line 78, in autodetect_format
Aug 29 07:45:59 arrstack bazarr[13139]:     raise FormatAutodetectionError(content=content, formats=[])
Aug 29 07:45:59 arrstack bazarr[13139]: pysubs2.exceptions.FormatAutodetectionError: No suitable formats
Aug 29 07:45:59 arrstack bazarr[13139]: Traceback (most recent call last):
Aug 29 07:45:59 arrstack bazarr[13139]:   File "/opt/Bazarr/bazarr/../custom_libs/subliminal_patch/subtitle.py", line 311, in is_valid
Aug 29 07:45:59 arrstack bazarr[13139]:     subs = pysubs2.SSAFile.from_string(text)
Aug 29 07:45:59 arrstack bazarr[13139]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 29 07:45:59 arrstack bazarr[13139]:   File "/opt/Bazarr/bazarr/../libs/pysubs2/ssafile.py", line 147, in from_string
Aug 29 07:45:59 arrstack bazarr[13139]:     return cls.from_file(fp, format_, fps=fps, **kwargs)
Aug 29 07:45:59 arrstack bazarr[13139]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 29 07:45:59 arrstack bazarr[13139]:   File "/opt/Bazarr/bazarr/../libs/pysubs2/ssafile.py", line 184, in from_file
Aug 29 07:45:59 arrstack bazarr[13139]:     format_ = autodetect_format(fragment)
Aug 29 07:45:59 arrstack bazarr[13139]:               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 29 07:45:59 arrstack bazarr[13139]:   File "/opt/Bazarr/bazarr/../libs/pysubs2/formats/__init__.py", line 78, in autodetect_format
Aug 29 07:45:59 arrstack bazarr[13139]:     raise FormatAutodetectionError(content=content, formats=[])
Aug 29 07:45:59 arrstack bazarr[13139]: pysubs2.exceptions.FormatAutodetectionError: No suitable formats
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,829 - subliminal_patch.core            (7e74200006c0) :  ERROR (core:518) - Invalid subtitle
Aug 29 07:45:59 arrstack bazarr[13139]: 2024-08-29 07:45:59,829 - subliminal_patch.core_persistent (7e74200006c0) :  INFO (core_persistent:81) - Downloaded 0 subtitle(s)
szymon3 commented 2 months ago

Sorry, I did a restart of bazarr again and it seems to download subtitles from napiprojekt correctly now on previously mentioned beta version.

morpheus65535 commented 2 months ago

Good, let us know if you have further issues.

JaiZed commented 2 months ago

The restart of Bazarr is a workaround for this problem but not a solution. The issue will eventually happen again and you will have to restart again. I believe the issue happens after you download an HI Polish file. All downloads after that will fail until you restart. There is a permanent solution in 1.4.4 beta.

szymon3 commented 2 months ago

I'm leaving 1.4.4 beta running until you release it officially and I will switch back to main/master branch. I do not enforce HI subtitles, they are just being imported automatically for some episodes. I'm fine with regular ones.

Anyway, thank you for explanation! :)