Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtitles missing for BluRay discs #872

Open
Bujiraso opened this issue Jun 5, 2024 · 6 comments
Open

Subtitles missing for BluRay discs #872

Bujiraso opened this issue Jun 5, 2024 · 6 comments

Comments

@Bujiraso
Copy link

Bujiraso commented Jun 5, 2024

Describe the bug
When playing from an unencrypted BluRay copy, subtitles are not available.
If using Jellyfin in the browser, there's no problem, it's in the Subtitles and can be toggled, but from Kodi (on OSMC) if you enable the subtitles nothing happens and if you search the subtitles there is only None.

To Reproduce

  1. Copy a BluRay disc's contents (unencrypted is preferred to avoid any complexities)
  2. Play the BluRay from Jellyfin on Kodi
  3. Attempt to enable subtitles

Expected behavior
Subtitles can be enabled

Logs

Long log output from today, tried to play it twice
2024-06-05 09:50:30.278 T:3908     info <general>: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:50:30.588 T:19517   error <general>: GetDirectory - Error getting -
2024-06-05 09:50:50.192 T:19545    info <general>: JELLYFIN -> INFO::jellyfin_kodi/jellyfin/__init__.py:98 ---[ START JELLYFINCLIENT ]---
2024-06-05 09:50:50.204 T:19545    info <general>: JELLYFIN.jellyfin_kodi.entrypoint.default -> INFO::jellyfin_kodi/entrypoint/default.py:72 path: ?filename=TELEVISION+SHOW+RGN+S1D1&id=b025211627a92194f4401d8394706a8b&dbid=85&mode=play params: {
2024-06-05 09:50:50.284 T:19545   error <general>: /home/osmc/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mediaserver.OBFUSCATEDDOMAIN.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
2024-06-05 09:50:50.464 T:19545    info <general>: JELLYFIN.jellyfin_kodi.objects.actions -> INFO::jellyfin_kodi/objects/actions.py:67 [ play/b025211627a92194f4401d8394706a8b ] TELEVISION SHOW RGN S1D1
2024-06-05 09:50:50.640 T:19545   error <general>: /home/osmc/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mediaserver.OBFUSCATEDDOMAIN.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
2024-06-05 09:50:50.697 T:19545    info <general>: JELLYFIN.jellyfin_kodi.helper.playutils -> INFO::jellyfin_kodi/helper/playutils.py:82 {'MediaSources': [{'Protocol': 'File', 'Id': 'b025211627a92194f4401d8394706a8b', 'Path': '/media/Video/BRDs/backup/TELEVISION SHOW RGN S1D1', 'Type': 'Default', 'Container': 'mpegts', 'Size': 47881483776, 'Name': 'TELEVISION SHOW RGN S1D1/Bluray', 'IsRemote': False, 'ETag': '543b6ca4c9f21c87d81daf7a932499c0', 'RunTimeTicks': 196216853111, 'ReadAtNativeFramerate': False, 'IgnoreDts': False, 'IgnoreIndex': False, 'GenPtsInput': False, 'SupportsTranscoding': True, 'SupportsDirectStream': False, 'SupportsDirectPlay': False, 'IsInfiniteStream': False, 'RequiresOpening': False, 'RequiresClosing': False, 'RequiresLooping': False, 'SupportsProbing': True, 'VideoType': 'BluRay', 'MediaStreams': [{'Codec': 'AVC', 'VideoRange': 'SDR', 'VideoRangeType': 'SDR', 'DisplayTitle': '1080p AVC SDR', 'IsInterlaced': False, 'BitRate': 1749345054, 'IsDefault': False, 'IsForced': False, 'Height': 1080, 'Width': 1920, 'AverageFrameRate': 23.976025, 'RealFrameRate': 23.976025, 'Type': 'Video', 'Index': 0, 'IsExternal': False, 'IsTextSubtitleStream': False, 'SupportsExternalStream': False}, {'Codec': 'LPCM', 'Language': 'jpn', 'DisplayTitle': 'Jpn - LPCM - 2 ch', 'IsInterlaced': False, 'BitRate': 1536000, 'Channels': 2, 'SampleRate': 48000, 'IsDefault': False, 'IsForced': False, 'Type': 'Audio', 'Index': 1, 'IsExternal': False, 'IsTextSubtitleStream': False, 'SupportsExternalStream': False}, {'Codec': 'PGS', 'Language': 'eng', 'LocalizedUndefined': 'Undefined', 'LocalizedDefault': 'Default', 'LocalizedForced': 'Forced', 'LocalizedExternal': 'External', 'DisplayTitle': 'Eng - PGS', 'IsInterlaced': False, 'IsDefault': False, 'IsForced': False, 'Type': 'Subtitle', 'Index': 2, 'IsExternal': False, 'DeliveryMethod': 'External', 'DeliveryUrl': '/Videos/b0252116-27a9-2194-f440-1d8394706a8b/b025211627a92194f4401d8394706a8b/Subtitles/2/0/Stream.pgs?api_key={jellyfin-token}', 'IsExternalUrl': False, 'IsTextSubtitleStream': False, 'SupportsExternalStream': False}], 'MediaAttachments': [], 'Formats': [], 'Bitrate': 1750881054, 'RequiredHttpHeaders': {}, 'TranscodingUrl': '/videos/b0252116-27a9-2194-f440-1d8394706a8b/stream.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&AudioStreamIndex=1&VideoBitrate=999616000&AudioBitrate=384000&MaxFramerate=23.976025&PlaySessionId=a923ecd7dab240b889415c203e1a9c93&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit', 'TranscodingSubProtocol': '', 'TranscodingContainer': 'm3u8', 'DefaultAudioStreamIndex': 1}], 'PlaySessionId': 'a923ecd7dab240b889415c203e1a9c93'}
2024-06-05 09:50:50.708 T:19545    info <general>: JELLYFIN.jellyfin_kodi.helper.playutils -> INFO::jellyfin_kodi/helper/playutils.py:99 Skip source selection.
2024-06-05 09:50:50.718 T:19545    info <general>: JELLYFIN.jellyfin_kodi.helper.playutils -> INFO::jellyfin_kodi/helper/playutils.py:208 --[ transcode ]
2024-06-05 09:50:50.767 T:19545   error <general>: /home/osmc/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mediaserver.OBFUSCATEDDOMAIN.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
2024-06-05 09:50:51.227 T:19545 warning <general>: Skipped 1 duplicate messages..
2024-06-05 09:50:51.227 T:19545 warning <general>: ListItem.setCast() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setCast().
2024-06-05 09:50:51.293 T:19545 warning <general>: "totaltime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint().
2024-06-05 09:50:51.293 T:19545 warning <general>: "resumetime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint().
2024-06-05 09:50:51.294 T:19545 warning <general>: ListItem.addStreamInfo() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.addVideoStream(), InfoTagVideo.addAudioStream() and InfoTagVideo.addSubtitleStream().
2024-06-05 09:50:51.294 T:19545 warning <general>: Skipped 2 duplicate messages..
2024-06-05 09:50:51.294 T:19545 warning <general>: Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.
2024-06-05 09:50:51.305 T:19545    info <general>: JELLYFIN.__main__ -> INFO::default.py:25 ---<[ default ]
2024-06-05 09:50:51.364 T:3908     info <general>: VideoPlayer::OpenFile: plugin://plugin.video.jellyfin/c18d9f6d742d81aa1471f6ddb672c9fe/?filename=TELEVISION+SHOW+RGN+S1D1&id=b025211627a92194f4401d8394706a8b&dbid=85&mode=play
2024-06-05 09:50:51.371 T:19547    info <general>: Creating InputStream
2024-06-05 09:50:51.383 T:19547   error <general>: CCurlFile::Open - <https://mediaserver.OBFUSCATEDDOMAIN.org/videos/b0252116-27a9-2194-f440-1d8394706a8b/> Failed with code 404:
2024-06-05 09:50:51.383 T:19547   error <general>: GetDirectory - Unable to get http directory (https://mediaserver.OBFUSCATEDDOMAIN.org/videos/b0252116-27a9-2194-f440-1d8394706a8b/)
2024-06-05 09:50:51.384 T:19547   error <general>: GetDirectory - Error getting https://mediaserver.OBFUSCATEDDOMAIN.org/videos/b0252116-27a9-2194-f440-1d8394706a8b/
2024-06-05 09:50:51.384 T:19547    info <general>: Creating Demuxer
2024-06-05 09:50:51.566 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:160 -->[ play/b025211627a92194f4401d8394706a8b ] {'Type': 'Movie', 'Id': 'b025211627a92194f4401d8394706a8b', 'Path': 'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=a923ecd7dab240b889415c203e1a9c93&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080', 'PlayMethod': 'Transcode', 'PlayOption': 'Addon', 'MediaSourceId': 'b025211627a92194f4401d8394706a8b', 'Runtime': 196216853111, 'PlaySessionId': 'a923ecd7dab240b889415c203e1a9c93', 'ServerId': None, 'DeviceId': 'fa1b93bc-d75d-445e-b878-724b2a968416', 'SubsMapping': {}, 'AudioStreamIndex': 1, 'SubtitleStreamIndex': None, 'CurrentPosition': 0, 'CurrentEpisode': None, 'File': 'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=a923ecd7dab240b889415c203e1a9c93&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080', 'Muted': False, 'Volume': 100, 'Server': <jellyfin_kodi.jellyfin.client.JellyfinClient object at 0x53de91f0>, 'Paused': False}
2024-06-05 09:50:52.180 T:3993     info <general>: JELLYFIN.jellyfin_kodi.objects.actions -> INFO::jellyfin_kodi/objects/actions.py:763  [ play ] kodi_id: 85 media: movie
2024-06-05 09:50:52.626 T:3993     info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:252 [ UserDataChanged ] {'UserDataList': [{'IsFavorite': False, 'ItemId': 'b025211627a92194f4401d8394706a8b', 'Key': 'b0252116-27a9-2194-f440-1d8394706a8b', 'LastPlayedDate': '2024-06-05T12:50:51.8091724Z', 'PlayCount': 1, 'PlaybackPositionTicks': 0, 'Played': False}, {'IsFavorite': False, 'ItemId': '9938ebad9138cb33a409e6eb834cad39', 'Key': '9938ebad-9138-cb33-a409-e6eb834cad39', 'PlayCount': 0, 'PlaybackPositionTicks': 0, 'Played': False, 'UnplayedItemCount': 87}], 'UserId': 'bd7b796a02124698b8ce35e24a8f1eb4'}
2024-06-05 09:50:52.638 T:3993     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:570 ---[ userdata:2 ]
2024-06-05 09:50:52.962 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:239 -->[ q:download/1350415504 ]
2024-06-05 09:50:54.070 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:170 Setting audio: 1 subs: None
2024-06-05 09:50:54.120 T:19551    info <general>: JELLYFIN.jellyfin_kodi.downloader -> INFO::jellyfin_kodi/downloader.py:305 --<[ q:download/1350415504 ]
2024-06-05 09:50:54.981 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:286 -->[ q:userdata/Movie/1350415504 ]
2024-06-05 09:50:56.158 T:19552    info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:738 --<[ q:userdata/1350415504 ]
2024-06-05 09:50:57.015 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> ERROR::jellyfin_kodi/library.py:459 'NoneType' object is not callable
2024-06-05 09:50:57.044 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:464 --[ sync/2024-06-05T12:48:57z ]
2024-06-05 09:50:57.164 T:19522    info <general>: VideoInfoScanner: Starting scan ..
2024-06-05 09:50:57.167 T:19522    info <general>: VideoInfoScanner: Finished scan. Scanning for video info took 19 ms
2024-06-05 09:50:57.191 T:3908  warning <general>: CGUIMediaWindow::OnMessage - updating in progress
2024-06-05 09:50:57.271 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:42 -->[ kodi scan/video ]
2024-06-05 09:50:57.288 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:45 --<[ kodi scan/video ]
2024-06-05 09:50:59.184 T:19547    info <general>: Opening stream: 0 source: 256
2024-06-05 09:50:59.185 T:19547    info <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 23.976, 3D: false
2024-06-05 09:50:59.186 T:19547    info <general>: Display resolution ADJUST : 1920x1080 @ 23.976025 Hz (28) (weight: 0.000)
2024-06-05 09:50:59.220 T:3908     info <general>: VideoPlayer: OnLostDisplay received
2024-06-05 09:50:59.220 T:3908  warning <general>: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
2024-06-05 09:50:59.220 T:3908  warning <general>: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
2024-06-05 09:50:59.220 T:3908     info <general>: GLES: Maximum texture width: 2048
2024-06-05 09:50:59.223 T:19547    info <general>: Creating video codec with codec id: 27
2024-06-05 09:50:59.223 T:19547    info <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem H.264 decoder wrapper
2024-06-05 09:50:59.266 T:19547    info <general>: Creating video thread
2024-06-05 09:50:59.266 T:19559    info <general>: running thread: video_thread
2024-06-05 09:50:59.267 T:19547    info <general>: Opening stream: 1 source: 256
2024-06-05 09:50:59.267 T:19547    info <general>: Finding audio codec for: 86018
2024-06-05 09:50:59.269 T:19547    info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2024-06-05 09:50:59.269 T:19547    info <general>: OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-06-05 09:50:59.269 T:19547    info <general>: Creating audio thread
2024-06-05 09:50:59.269 T:19560    info <general>: running thread: CVideoPlayerAudio::Process()
2024-06-05 09:50:59.274 T:3908     info <general>: VideoPlayer: OnResetDisplay received
2024-06-05 09:50:59.325 T:19560    info <general>: CVideoPlayerAudio: display reset occurred, checking for passthrough
2024-06-05 09:50:59.327 T:19560    info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2024-06-05 09:50:59.327 T:19560    info <general>: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
2024-06-05 09:50:59.369 T:3922     info <general>: CActiveAESink::OpenSink - initialize sink
2024-06-05 09:50:59.569 T:3922     info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2024-06-05 09:50:59.577 T:3922     info <general>: CAESinkALSA::Initialize - Opened device "default"
2024-06-05 09:50:59.579 T:3922     info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2024-06-05 09:50:59.579 T:3922     info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2024-06-05 09:51:00.762 T:3908    error <general>: Window Translator: Can't find window True
2024-06-05 09:51:00.763 T:3908     info <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 23.976, 3D: false
2024-06-05 09:51:00.764 T:3908     info <general>: Display resolution ADJUST : 1920x1080 @ 23.976025 Hz (28) (weight: 0.000)
2024-06-05 09:51:03.322 T:19559 warning <general>: OutputPicture - timeout waiting for buffer
2024-06-05 09:51:03.362 T:3908    error <general>: Window Translator: Can't find window True
2024-06-05 09:51:03.714 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:309 --[ seek ]
2024-06-05 09:51:24.398 T:19547    info <general>: Process - eof reading from demuxer
2024-06-05 09:51:24.398 T:19547    info <general>: CVideoPlayer::OnExit()
2024-06-05 09:51:24.398 T:19547    info <general>: VideoPlayer: eof, waiting for queues to empty
2024-06-05 09:51:24.399 T:19547    info <general>: Closing stream player 1
2024-06-05 09:51:24.399 T:19547    info <general>: Waiting for audio thread to exit
2024-06-05 09:51:24.408 T:19560    info <general>: thread end: CVideoPlayerAudio::OnExit()
2024-06-05 09:51:24.409 T:19547    info <general>: Closing audio device
2024-06-05 09:51:24.411 T:19547    info <general>: Deleting audio codec
2024-06-05 09:51:24.411 T:19547    info <general>: Closing stream player 2
2024-06-05 09:51:24.412 T:19559    info <general>: thread end: video_thread
2024-06-05 09:51:24.412 T:19547    info <general>: waiting for video thread to exit
2024-06-05 09:51:24.412 T:19547    info <general>: deleting video codec
2024-06-05 09:51:24.549 T:3908     info <general>: CVideoPlayer::CloseFile()
2024-06-05 09:51:24.549 T:3908     info <general>: VideoPlayer: waiting for threads to exit
2024-06-05 09:51:24.549 T:3908     info <general>: VideoPlayer: finished waiting
2024-06-05 09:51:24.549 T:3908     info <general>: CVideoPlayer::CloseFile()
2024-06-05 09:51:24.549 T:3908     info <general>: VideoPlayer: waiting for threads to exit
2024-06-05 09:51:24.549 T:3908     info <general>: VideoPlayer: finished waiting
2024-06-05 09:51:24.591 T:3922     info <general>: CActiveAESink::OpenSink - initialize sink
2024-06-05 09:51:24.790 T:3922     info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2024-06-05 09:51:24.797 T:3922     info <general>: CAESinkALSA::Initialize - Opened device "default"
2024-06-05 09:51:24.798 T:3922     info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2024-06-05 09:51:24.798 T:3922     info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2024-06-05 09:51:24.805 T:3908     info <general>: GLES: Maximum texture width: 2048
2024-06-05 09:51:24.853 T:3908     info <general>: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:51:25.159 T:19523   error <general>: GetDirectory - Error getting -
2024-06-05 09:51:25.331 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:399 Played info: {'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=a923ecd7dab240b889415c203e1a9c93&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080': {'Type': 'Movie', 'Id': 'b025211627a92194f4401d8394706a8b', 'Path': 'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=a923ecd7dab240b889415c203e1a9c93&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080', 'PlayMethod': 'Transcode', 'PlayOption': 'Addon', 'MediaSourceId': 'b025211627a92194f4401d8394706a8b', 'Runtime': 196216853111, 'PlaySessionId': 'a923ecd7dab240b889415c203e1a9c93', 'ServerId': None, 'DeviceId': 'fa1b93bc-d75d-445e-b878-724b2a968416', 'SubsMapping': {}, 'AudioStreamIndex': 1, 'SubtitleStreamIndex': None, 'CurrentPosition': 601, 'CurrentEpisode': None, 'File': 'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=a923ecd7dab240b889415c203e1a9c93&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080', 'Muted': False, 'Volume': 100, 'Server': <jellyfin_kodi.jellyfin.client.JellyfinClient object at 0x53de91f0>, 'Paused': False}}
2024-06-05 09:51:27.172 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:427 <[ transcode/b025211627a92194f4401d8394706a8b ]
2024-06-05 09:51:27.283 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:390 --<<[ playback ]
2024-06-05 09:51:27.659 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:85 [ playlist ] cleared
2024-06-05 09:51:27.682 T:3993     info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:252 [ UserDataChanged ] {'UserDataList': [{'IsFavorite': False, 'ItemId': 'b025211627a92194f4401d8394706a8b', 'Key': 'b0252116-27a9-2194-f440-1d8394706a8b', 'LastPlayedDate': '2024-06-05T12:50:51.8091724Z', 'PlayCount': 1, 'PlaybackPositionTicks': 0, 'Played': False}, {'IsFavorite': False, 'ItemId': '9938ebad9138cb33a409e6eb834cad39', 'Key': '9938ebad-9138-cb33-a409-e6eb834cad39', 'PlayCount': 0, 'PlaybackPositionTicks': 0, 'Played': False, 'UnplayedItemCount': 87}], 'UserId': 'bd7b796a02124698b8ce35e24a8f1eb4'}
2024-06-05 09:51:27.691 T:3993     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:570 ---[ userdata:2 ]
2024-06-05 09:51:29.671 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:239 -->[ q:download/1831615024 ]
2024-06-05 09:51:30.098 T:3908     info <general>: Loading skin file: DialogContextMenu.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:51:30.834 T:19566    info <general>: JELLYFIN.jellyfin_kodi.downloader -> INFO::jellyfin_kodi/downloader.py:305 --<[ q:download/1831615024 ]
2024-06-05 09:51:31.701 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:286 -->[ q:userdata/Movie/1808081440 ]
2024-06-05 09:51:32.916 T:19567    info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:738 --<[ q:userdata/1808081440 ]
2024-06-05 09:51:33.804 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> ERROR::jellyfin_kodi/library.py:459 'NoneType' object is not callable
2024-06-05 09:51:33.836 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:464 --[ sync/2024-06-05T12:49:33z ]
2024-06-05 09:51:33.974 T:19523    info <general>: VideoInfoScanner: Starting scan ..
2024-06-05 09:51:33.976 T:19523    info <general>: VideoInfoScanner: Finished scan. Scanning for video info took 18 ms
2024-06-05 09:51:34.000 T:3908  warning <general>: CGUIMediaWindow::OnMessage - updating in progress
2024-06-05 09:51:34.072 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:42 -->[ kodi scan/video ]
2024-06-05 09:51:34.083 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:45 --<[ kodi scan/video ]
2024-06-05 09:51:37.576 T:19568    info <general>: JELLYFIN -> INFO::jellyfin_kodi/jellyfin/__init__.py:98 ---[ START JELLYFINCLIENT ]---
2024-06-05 09:51:37.589 T:19568    info <general>: JELLYFIN.jellyfin_kodi.entrypoint.default -> INFO::jellyfin_kodi/entrypoint/default.py:72 path: ?filename=TELEVISION+SHOW+RGN+S1D1&id=b025211627a92194f4401d8394706a8b&dbid=85&mode=play params: {
2024-06-05 09:51:37.669 T:19568   error <general>: /home/osmc/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mediaserver.OBFUSCATEDDOMAIN.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
2024-06-05 09:51:37.810 T:19568    info <general>: JELLYFIN.jellyfin_kodi.objects.actions -> INFO::jellyfin_kodi/objects/actions.py:67 [ play/b025211627a92194f4401d8394706a8b ] TELEVISION SHOW RGN S1D1
2024-06-05 09:51:38.006 T:19568   error <general>: /home/osmc/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mediaserver.OBFUSCATEDDOMAIN.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
2024-06-05 09:51:38.054 T:19568    info <general>: JELLYFIN.jellyfin_kodi.helper.playutils -> INFO::jellyfin_kodi/helper/playutils.py:82 {'MediaSources': [{'Protocol': 'File', 'Id': 'b025211627a92194f4401d8394706a8b', 'Path': '/media/Video/BRDs/backup/TELEVISION SHOW RGN S1D1', 'Type': 'Default', 'Container': 'mpegts', 'Size': 47881483776, 'Name': 'TELEVISION SHOW RGN S1D1/Bluray', 'IsRemote': False, 'ETag': '543b6ca4c9f21c87d81daf7a932499c0', 'RunTimeTicks': 196216853111, 'ReadAtNativeFramerate': False, 'IgnoreDts': False, 'IgnoreIndex': False, 'GenPtsInput': False, 'SupportsTranscoding': True, 'SupportsDirectStream': False, 'SupportsDirectPlay': False, 'IsInfiniteStream': False, 'RequiresOpening': False, 'RequiresClosing': False, 'RequiresLooping': False, 'SupportsProbing': True, 'VideoType': 'BluRay', 'MediaStreams': [{'Codec': 'AVC', 'VideoRange': 'SDR', 'VideoRangeType': 'SDR', 'DisplayTitle': '1080p AVC SDR', 'IsInterlaced': False, 'BitRate': 1749345054, 'IsDefault': False, 'IsForced': False, 'Height': 1080, 'Width': 1920, 'AverageFrameRate': 23.976025, 'RealFrameRate': 23.976025, 'Type': 'Video', 'Index': 0, 'IsExternal': False, 'IsTextSubtitleStream': False, 'SupportsExternalStream': False}, {'Codec': 'LPCM', 'Language': 'jpn', 'DisplayTitle': 'Jpn - LPCM - 2 ch', 'IsInterlaced': False, 'BitRate': 1536000, 'Channels': 2, 'SampleRate': 48000, 'IsDefault': False, 'IsForced': False, 'Type': 'Audio', 'Index': 1, 'IsExternal': False, 'IsTextSubtitleStream': False, 'SupportsExternalStream': False}, {'Codec': 'PGS', 'Language': 'eng', 'LocalizedUndefined': 'Undefined', 'LocalizedDefault': 'Default', 'LocalizedForced': 'Forced', 'LocalizedExternal': 'External', 'DisplayTitle': 'Eng - PGS', 'IsInterlaced': False, 'IsDefault': False, 'IsForced': False, 'Type': 'Subtitle', 'Index': 2, 'IsExternal': False, 'DeliveryMethod': 'External', 'DeliveryUrl': '/Videos/b0252116-27a9-2194-f440-1d8394706a8b/b025211627a92194f4401d8394706a8b/Subtitles/2/0/Stream.pgs?api_key={jellyfin-token}', 'IsExternalUrl': False, 'IsTextSubtitleStream': False, 'SupportsExternalStream': False}], 'MediaAttachments': [], 'Formats': [], 'Bitrate': 1750881054, 'RequiredHttpHeaders': {}, 'TranscodingUrl': '/videos/b0252116-27a9-2194-f440-1d8394706a8b/stream.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&AudioStreamIndex=1&VideoBitrate=999616000&AudioBitrate=384000&MaxFramerate=23.976025&PlaySessionId=2e12b219dc7549c69cc72555a65fa0dd&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit', 'TranscodingSubProtocol': '', 'TranscodingContainer': 'm3u8', 'DefaultAudioStreamIndex': 1}], 'PlaySessionId': '2e12b219dc7549c69cc72555a65fa0dd'}
2024-06-05 09:51:38.065 T:19568    info <general>: JELLYFIN.jellyfin_kodi.helper.playutils -> INFO::jellyfin_kodi/helper/playutils.py:99 Skip source selection.
2024-06-05 09:51:38.075 T:19568    info <general>: JELLYFIN.jellyfin_kodi.helper.playutils -> INFO::jellyfin_kodi/helper/playutils.py:208 --[ transcode ]
2024-06-05 09:51:38.127 T:19568   error <general>: /home/osmc/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mediaserver.OBFUSCATEDDOMAIN.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
2024-06-05 09:51:38.600 T:19568 warning <general>: Skipped 1 duplicate messages..
2024-06-05 09:51:38.600 T:19568 warning <general>: ListItem.setCast() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setCast().
2024-06-05 09:51:38.649 T:19568 warning <general>: "totaltime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint().
2024-06-05 09:51:38.649 T:19568 warning <general>: "resumetime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint().
2024-06-05 09:51:38.649 T:19568 warning <general>: ListItem.addStreamInfo() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.addVideoStream(), InfoTagVideo.addAudioStream() and InfoTagVideo.addSubtitleStream().
2024-06-05 09:51:38.650 T:19568 warning <general>: Skipped 2 duplicate messages..
2024-06-05 09:51:38.650 T:19568 warning <general>: Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.
2024-06-05 09:51:38.661 T:19568    info <general>: JELLYFIN.__main__ -> INFO::default.py:25 ---<[ default ]
2024-06-05 09:51:38.719 T:3908     info <general>: VideoPlayer::OpenFile: plugin://plugin.video.jellyfin/c18d9f6d742d81aa1471f6ddb672c9fe/?filename=TELEVISION+SHOW+RGN+S1D1&id=b025211627a92194f4401d8394706a8b&dbid=85&mode=play
2024-06-05 09:51:38.723 T:19577    info <general>: Creating InputStream
2024-06-05 09:51:38.820 T:19577   error <general>: CCurlFile::Open - <https://mediaserver.OBFUSCATEDDOMAIN.org/videos/b0252116-27a9-2194-f440-1d8394706a8b/> Failed with code 404:
2024-06-05 09:51:38.820 T:19577   error <general>: GetDirectory - Unable to get http directory (https://mediaserver.OBFUSCATEDDOMAIN.org/videos/b0252116-27a9-2194-f440-1d8394706a8b/)
2024-06-05 09:51:38.820 T:19577   error <general>: GetDirectory - Error getting https://mediaserver.OBFUSCATEDDOMAIN.org/videos/b0252116-27a9-2194-f440-1d8394706a8b/
2024-06-05 09:51:38.820 T:19577    info <general>: Creating Demuxer
2024-06-05 09:51:38.944 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:160 -->[ play/b025211627a92194f4401d8394706a8b ] {'Type': 'Movie', 'Id': 'b025211627a92194f4401d8394706a8b', 'Path': 'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=2e12b219dc7549c69cc72555a65fa0dd&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080', 'PlayMethod': 'Transcode', 'PlayOption': 'Addon', 'MediaSourceId': 'b025211627a92194f4401d8394706a8b', 'Runtime': 196216853111, 'PlaySessionId': '2e12b219dc7549c69cc72555a65fa0dd', 'ServerId': None, 'DeviceId': 'fa1b93bc-d75d-445e-b878-724b2a968416', 'SubsMapping': {}, 'AudioStreamIndex': 1, 'SubtitleStreamIndex': None, 'CurrentPosition': 0, 'CurrentEpisode': None, 'File': 'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=2e12b219dc7549c69cc72555a65fa0dd&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080', 'Muted': False, 'Volume': 100, 'Server': <jellyfin_kodi.jellyfin.client.JellyfinClient object at 0x53de91f0>, 'Paused': False}
2024-06-05 09:51:39.432 T:3993     info <general>: JELLYFIN.jellyfin_kodi.objects.actions -> INFO::jellyfin_kodi/objects/actions.py:763  [ play ] kodi_id: 85 media: movie
2024-06-05 09:51:39.871 T:3993     info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:252 [ UserDataChanged ] {'UserDataList': [{'IsFavorite': False, 'ItemId': 'b025211627a92194f4401d8394706a8b', 'Key': 'b0252116-27a9-2194-f440-1d8394706a8b', 'LastPlayedDate': '2024-06-05T12:51:39.0483243Z', 'PlayCount': 2, 'PlaybackPositionTicks': 0, 'Played': False}, {'IsFavorite': False, 'ItemId': '9938ebad9138cb33a409e6eb834cad39', 'Key': '9938ebad-9138-cb33-a409-e6eb834cad39', 'PlayCount': 0, 'PlaybackPositionTicks': 0, 'Played': False, 'UnplayedItemCount': 87}], 'UserId': 'bd7b796a02124698b8ce35e24a8f1eb4'}
2024-06-05 09:51:39.883 T:3993     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:570 ---[ userdata:2 ]
2024-06-05 09:51:40.247 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:239 -->[ q:download/1808418104 ]
2024-06-05 09:51:41.320 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:170 Setting audio: 1 subs: None
2024-06-05 09:51:41.403 T:19579    info <general>: JELLYFIN.jellyfin_kodi.downloader -> INFO::jellyfin_kodi/downloader.py:305 --<[ q:download/1808418104 ]
2024-06-05 09:51:42.260 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:286 -->[ q:userdata/Movie/1808418104 ]
2024-06-05 09:51:43.428 T:19580    info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:738 --<[ q:userdata/1808418104 ]
2024-06-05 09:51:44.297 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> ERROR::jellyfin_kodi/library.py:459 'NoneType' object is not callable
2024-06-05 09:51:44.326 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:464 --[ sync/2024-06-05T12:49:44z ]
2024-06-05 09:51:44.497 T:19522    info <general>: VideoInfoScanner: Starting scan ..
2024-06-05 09:51:44.500 T:19522    info <general>: VideoInfoScanner: Finished scan. Scanning for video info took 17 ms
2024-06-05 09:51:44.517 T:3908  warning <general>: CGUIMediaWindow::OnMessage - updating in progress
2024-06-05 09:51:44.544 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:42 -->[ kodi scan/video ]
2024-06-05 09:51:44.558 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:45 --<[ kodi scan/video ]
2024-06-05 09:51:46.392 T:19577    info <general>: Opening stream: 0 source: 256
2024-06-05 09:51:46.393 T:19577    info <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 23.976, 3D: false
2024-06-05 09:51:46.394 T:19577    info <general>: Display resolution ADJUST : 1920x1080 @ 23.976025 Hz (28) (weight: 0.000)
2024-06-05 09:51:46.425 T:3908     info <general>: VideoPlayer: OnLostDisplay received
2024-06-05 09:51:46.425 T:3908  warning <general>: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
2024-06-05 09:51:46.425 T:3908  warning <general>: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
2024-06-05 09:51:46.425 T:3908     info <general>: GLES: Maximum texture width: 2048
2024-06-05 09:51:46.428 T:19577    info <general>: Creating video codec with codec id: 27
2024-06-05 09:51:46.428 T:19577    info <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem H.264 decoder wrapper
2024-06-05 09:51:46.469 T:19577    info <general>: Creating video thread
2024-06-05 09:51:46.469 T:19586    info <general>: running thread: video_thread
2024-06-05 09:51:46.471 T:19577    info <general>: Opening stream: 1 source: 256
2024-06-05 09:51:46.471 T:19577    info <general>: Finding audio codec for: 86018
2024-06-05 09:51:46.472 T:19577    info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2024-06-05 09:51:46.472 T:19577    info <general>: OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-06-05 09:51:46.472 T:19577    info <general>: Creating audio thread
2024-06-05 09:51:46.472 T:19587    info <general>: running thread: CVideoPlayerAudio::Process()
2024-06-05 09:51:46.475 T:3908     info <general>: VideoPlayer: OnResetDisplay received
2024-06-05 09:51:46.526 T:19587    info <general>: CVideoPlayerAudio: display reset occurred, checking for passthrough
2024-06-05 09:51:46.528 T:19587    info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2024-06-05 09:51:46.529 T:19587    info <general>: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
2024-06-05 09:51:46.556 T:3922     info <general>: CActiveAESink::OpenSink - initialize sink
2024-06-05 09:51:46.755 T:3922     info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2024-06-05 09:51:46.764 T:3922     info <general>: CAESinkALSA::Initialize - Opened device "default"
2024-06-05 09:51:46.766 T:3922     info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2024-06-05 09:51:46.766 T:3922     info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2024-06-05 09:51:47.970 T:3908    error <general>: Window Translator: Can't find window True
2024-06-05 09:51:47.971 T:3908     info <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 23.976, 3D: false
2024-06-05 09:51:47.973 T:3908     info <general>: Display resolution ADJUST : 1920x1080 @ 23.976025 Hz (28) (weight: 0.000)
2024-06-05 09:51:49.436 T:3908     info <general>: Loading skin file: VideoOSD.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:51:54.691 T:3908     info <general>: Loading skin file: DialogSettings.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:51:59.237 T:3908     info <general>: Loading skin file: DialogSelect.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:52:14.545 T:3908     info <general>: Loading skin file: FileBrowser.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:52:16.477 T:19587    info <general>: ProcessDecoderOutput: Changed max allowed Out-Of-Sync value to 62 ms due self-learning
2024-06-05 09:52:35.690 T:3908     info <general>: Loading skin file: DialogSettings.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:52:45.158 T:3908     info <general>: Loading skin file: DialogFullScreenInfo.xml, load type: KEEP_IN_MEMORY
2024-06-05 09:52:45.170 T:3908    error <general>: Window Translator: Can't find window True
2024-06-05 09:52:47.911 T:3908     info <general>: Loading skin file: VideoOSDBookmarks.xml, load type: LOAD_EVERY_TIME
2024-06-05 09:53:56.896 T:3908     info <general>: CVideoPlayer::CloseFile()
2024-06-05 09:53:56.897 T:3908     info <general>: VideoPlayer: waiting for threads to exit
2024-06-05 09:53:56.901 T:19577    info <general>: CVideoPlayer::OnExit()
2024-06-05 09:53:56.901 T:19577    info <general>: Closing stream player 1
2024-06-05 09:53:56.901 T:19577    info <general>: Waiting for audio thread to exit
2024-06-05 09:53:56.928 T:19587    info <general>: thread end: CVideoPlayerAudio::OnExit()
2024-06-05 09:53:56.928 T:19577    info <general>: Closing audio device
2024-06-05 09:53:56.979 T:3922     info <general>: CActiveAESink::OpenSink - initialize sink
2024-06-05 09:53:56.980 T:19577    info <general>: Deleting audio codec
2024-06-05 09:53:56.980 T:19577    info <general>: Closing stream player 2
2024-06-05 09:53:56.980 T:19577    info <general>: waiting for video thread to exit
2024-06-05 09:53:57.009 T:19586 warning <general>: OutputPicture - timeout waiting for buffer
2024-06-05 09:53:57.009 T:19586    info <general>: thread end: video_thread
2024-06-05 09:53:57.012 T:19577    info <general>: deleting video codec
2024-06-05 09:53:57.049 T:19612    info <general>: Deleting settings information for files plugin://plugin.video.jellyfin/c18d9f6d742d81aa1471f6ddb672c9fe/?filename=TELEVISION+SHOW+RGN+S1D1&id=b025211627a92194f4401d8394706a8b&dbid=85&mode=play
2024-06-05 09:53:57.129 T:3908     info <general>: VideoPlayer: finished waiting
2024-06-05 09:53:57.129 T:3908     info <general>: CVideoPlayer::CloseFile()
2024-06-05 09:53:57.129 T:3908     info <general>: VideoPlayer: waiting for threads to exit
2024-06-05 09:53:57.129 T:3908     info <general>: VideoPlayer: finished waiting
2024-06-05 09:53:57.177 T:3922     info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2024-06-05 09:53:57.184 T:3922     info <general>: CAESinkALSA::Initialize - Opened device "default"
2024-06-05 09:53:57.186 T:3922     info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2024-06-05 09:53:57.186 T:3922     info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2024-06-05 09:53:57.193 T:3908     info <general>: GLES: Maximum texture width: 2048
2024-06-05 09:53:57.475 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:399 Played info: {'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=2e12b219dc7549c69cc72555a65fa0dd&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080': {'Type': 'Movie', 'Id': 'b025211627a92194f4401d8394706a8b', 'Path': 'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=2e12b219dc7549c69cc72555a65fa0dd&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080', 'PlayMethod': 'Transcode', 'PlayOption': 'Addon', 'MediaSourceId': 'b025211627a92194f4401d8394706a8b', 'Runtime': 196216853111, 'PlaySessionId': '2e12b219dc7549c69cc72555a65fa0dd', 'ServerId': None, 'DeviceId': 'fa1b93bc-d75d-445e-b878-724b2a968416', 'SubsMapping': {}, 'AudioStreamIndex': 1, 'SubtitleStreamIndex': None, 'CurrentPosition': 125, 'CurrentEpisode': None, 'File': 'https://{jellyfin-server}/videos/b0252116-27a9-2194-f440-1d8394706a8b/master.m3u8?DeviceId=Unknown%20Device%20id&MediaSourceId=b025211627a92194f4401d8394706a8b&VideoCodec=h264,hevc,h265,mpeg4,mpeg2video,vc1&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&MaxFramerate=23.976025&PlaySessionId=2e12b219dc7549c69cc72555a65fa0dd&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=543b6ca4c9f21c87d81daf7a932499c0&TranscodeReasons=ContainerBitrateExceedsLimit&AudioStreamIndex=1&VideoBitrate=999744000&AudioBitrate=256000&maxWidth=1920&maxHeight=1080', 'Muted': False, 'Volume': 100, 'Server': <jellyfin_kodi.jellyfin.client.JellyfinClient object at 0x53de91f0>, 'Paused': False}}
2024-06-05 09:53:59.732 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:427 <[ transcode/b025211627a92194f4401d8394706a8b ]
2024-06-05 09:53:59.837 T:3993     info <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:383 --<[ playback ]
2024-06-05 09:54:00.178 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:85 [ playlist ] cleared
2024-06-05 09:54:00.308 T:3993     info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:252 [ UserDataChanged ] {'UserDataList': [{'IsFavorite': False, 'ItemId': 'b025211627a92194f4401d8394706a8b', 'Key': 'b0252116-27a9-2194-f440-1d8394706a8b', 'LastPlayedDate': '2024-06-05T12:51:39.0483243Z', 'PlayCount': 2, 'PlaybackPositionTicks': 0, 'Played': False}, {'IsFavorite': False, 'ItemId': '9938ebad9138cb33a409e6eb834cad39', 'Key': '9938ebad-9138-cb33-a409-e6eb834cad39', 'PlayCount': 0, 'PlaybackPositionTicks': 0, 'Played': False, 'UnplayedItemCount': 87}], 'UserId': 'bd7b796a02124698b8ce35e24a8f1eb4'}
2024-06-05 09:54:00.319 T:3993     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:570 ---[ userdata:2 ]
2024-06-05 09:54:01.452 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:239 -->[ q:download/1282934696 ]
2024-06-05 09:54:02.592 T:19617    info <general>: JELLYFIN.jellyfin_kodi.downloader -> INFO::jellyfin_kodi/downloader.py:305 --<[ q:download/1282934696 ]
2024-06-05 09:54:03.515 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:286 -->[ q:userdata/Movie/1350415192 ]
2024-06-05 09:54:04.782 T:19624    info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:738 --<[ q:userdata/1350415192 ]
2024-06-05 09:54:05.569 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> ERROR::jellyfin_kodi/library.py:459 'NoneType' object is not callable
2024-06-05 09:54:05.600 T:3997     info <general>: JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:464 --[ sync/2024-06-05T12:52:05z ]
2024-06-05 09:54:05.704 T:19621    info <general>: VideoInfoScanner: Starting scan ..
2024-06-05 09:54:05.719 T:19621    info <general>: VideoInfoScanner: Finished scan. Scanning for video info took 23 ms
2024-06-05 09:54:05.785 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:42 -->[ kodi scan/video ]
2024-06-05 09:54:05.800 T:3993     info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:45 --<[ kodi scan/video ]

Screenshots
n/a

System (please complete the following information):

head -5 /etc/os-release
PRETTY_NAME="Open Source Media Center"
NAME="OSMC"
VERSION="December 2023"
VERSION_ID="2023.12-1"
ID=osmc
  • OS: Linux
  • Jellyfin Version: 10.8.13
  • Kodi Version: Kodi Media Center 20.2
  • Addon Version: 1.0.2
  • Playback Mode: [e.g. Add-On or Native] - unknown?

Additional context
Tried it with multiple TV shows and multiple other clients; all good except this plug-in.
Please feel free to give tips as to where to troubleshoot in the code, I may be able to pitch in with some guidance as to where to start.

Thanks for this great plugin! 🙏

@oddstr13
Copy link
Member

Unable to reproduce, seems to be working for me

@Bujiraso
Copy link
Author

Anything further you need to debug the issue or steps i can take to fix it? It works with -- say -- ripped MKV's by the way, it has to be the backed up files of the BRD itself, are you using that? For myself I take MakeMKV and just click the Backup button.

@Bujiraso
Copy link
Author

Just reproduced again from a different host on the LAN. Another quick check -- I am also trying to use the subtitles embedded into the BRD files, not an additional subtitle provider, which may or may not work but is not what is failing.

Version Info:

$ kod --version
Kodi Media Center 21.0 (21.0.0) Git:21.0-Omega
Copyright (C) 2005-2021 Team Kodi - http://kodi.tv
<addon id="plugin.video.jellyfin" name="Jellyfin" version="1.0.3+py3" provider-name="Jellyfin Contributors, angelblue05">

OS: NixOS, 24.05

Working on Jellyfin itself

here's a little show of good faith that the disc itself does have a subtitle that the Jellyfin web viewer is happy to use. I've tested this multiple times and it's good.
image

image

@oddstr13
Copy link
Member

oddstr13 commented Aug 9, 2024

Yes, my test was made with a BDMV directory structure.
Are you seeing this with all items, or just some?

@Bujiraso
Copy link
Author

Yep, any of the discs I try have this problem and (as it turns out) the audio track selection is having the identical issue but I didn't notice that before I titled the bug. I did do a little debugging (but I don't think I can personally fix it or anything).

Regarding the audio track selections, it seems like an identical bug. A default selection is picked, it's often the wrong one (e.g. director's commentary), and then when I use the Kodi menus to try and select another track, they aren't there.

Regarding the subtitles, the way my discs and Jellyfin are set up, it wants to stream the subtitles and not let them be downloaded. When you hit play, there's no valid selected subtitle stream index.

The TranscodingUrl doesn't include any SubtitleStreamIndex, but I notice that if I hard-code one in for a particular piece of media where I know the right values, Kodi seems to know what to do with that and it lets the user toggle the subtitles on and off successfully. The media streams include subtitles that look like this:

{
                    "Codec": "PGS",
                    "Language": "eng",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "LocalizedUndefined": "Undefined",
                    "LocalizedDefault": "Default",
                    "LocalizedForced": "Forced",
                    "LocalizedExternal": "External",
                    "LocalizedHearingImpaired": "Hearing Impaired",
                    "DisplayTitle": "English - PGS",
                    "IsInterlaced": false,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Type": "Subtitle",
                    "Index": 2,
                    "IsExternal": false,
                    "IsTextSubtitleStream": false,
                    "SupportsExternalStream": false
}

Is there anything amiss here?

@mcarlton00
Copy link
Member

If you're transcoding for whatever reason, then subtitles have to be chosen before the stream starts. They can't be adjusted after playback has started, because iirc that requires stopping and restarting the transcode stream. And currently, all BDMV files will trigger a transcode in Kodi. Not sure why yet. However, this behavior applies to all transcoded streams, not just BDMV sources.

There's also quite a few quirks about using BDMV folder structure that aren't real well documented because nobody on the team really uses them. I have exactly 1 just because of trying to reproduce another bug that's specific to BDMVs (the above mentioned transcoding issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants