[10.8.0][Issue]: CodecProfiles don't take effect while playback #3704

Closed
opened 2025-12-21 22:37:14 +01:00 by backuprepo · 1 comment
Owner

Originally created by @EdiTurn on GitHub (Mar 31, 2022).

Please describe your bug

I have Kodi with Jellyfin-Kodi and JellyCon installed. Both two plugins have an option to automatically transcode Hi10p videos while playback. But after upgrading to Jellyfin 10.8.0, these videos are now directly played.

After that I try to add more restricts like VideoProfile, Height to the client's DeviceProfile -> CodecProfiles, but none of them really works. It seems that the whole CodecProfiles don't take any effect any more after upgrading to 10.8.0.

Jellyfin Version

10.8.0

Environment

- OS: Windows
- Virtualization: None
- Clients: Jellyfin-Kodi & JellyCon
- FFmpeg Version: 4.4.1
- Playback Method: Transcode expected, but Direct Play in fact
- Hardware Acceleration: QSV
- Plugins: Kodi Sync Queue, Fanart
- Reverse Proxy: None
- Base URL: none
- Networking: LAN
- Storage: local

Jellyfin logs (simplified)


[2022-03-31 21:03:16.879 +08:00] [DBG] [20] Jellyfin.Api.Controllers.MediaInfoController: GetPostedPlaybackInfo profile: DeviceProfile { Name: "Kodi", Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: null, MaxAlbumArtHeight: null, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 1000000000, MaxStaticBitrate: 1000000000, MusicStreamingTranscodingBitrate: 1280000, MaxStaticMusicBitrate: 8000000, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 5, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: "h264,hevc,h265,mpeg4,mpeg2video,vc1,vp9,av1", Type: Video }, DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: null, Type: Photo }], TranscodingProfiles: [TranscodingProfile { Container: "m3u8", Type: Video, VideoCodec: "h264,hevc,h265,mpeg4,mpeg2video,vc1", AudioCodec: "opus,aac,mp3,ac3,flac,vorbis", Protocol: "", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False, Conditions: [] }, TranscodingProfile { Container: "", Type: Audio, VideoCodec: "", AudioCodec: "", Protocol: "", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False, Conditions: [] }, TranscodingProfile { Container: "jpeg", Type: Photo, VideoCodec: "", AudioCodec: "", Protocol: "", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False, Conditions: [] }], ContainerProfiles: [], CodecProfiles: [CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: LessThanEqual, Property: VideoBitDepth, Value: "8", IsRequired: True }], ApplyConditions: [], Codec: "h264", Container: null }], ResponseProfiles: [], SubtitleProfiles: [SubtitleProfile { Format: "srt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "srt", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "sub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "sub", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "smi", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "smi", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgssub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgssub", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "dvdsub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "dvdsub", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgs", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgs", Method: External, DidlMode: null, Language: null, Container: null }] }
[2022-03-31 21:03:16.987 +08:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "EdiTurn". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-03-31 21:03:16.993 +08:00] [DBG] [20] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "Kodi", Path: "F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: False
[2022-03-31 21:03:17.012 +08:00] [DBG] [20] Jellyfin.Api.Helpers.MediaInfoHelper: DirectPlay Result for Profile: "Kodi", Path: "F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", PlayMethod: DirectPlay, AudioStreamIndex: 0, SubtitleStreamIndex: null, Reasons: 0
[2022-03-31 21:03:17.026 +08:00] [DBG] [20] Jellyfin.Api.Helpers.MediaInfoHelper: Transcode Result for Profile: "Kodi", Path: "F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", PlayMethod: DirectPlay, AudioStreamIndex: 0, SubtitleStreamIndex: null, Reasons: 0
[2022-03-31 21:03:17.036 +08:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Kodi", Path="F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/375daeb5-dfdc-ab79-22ed-68cd6393ceec/stream.mkv?MediaSourceId=375daeb5dfdcab7922ed68cd6393ceec&Static=true&VideoCodec=h264&AudioCodec=opus,aac,mp3,ac3,flac,vorbis&AudioStreamIndex=0&VideoBitrate=999808000&AudioBitrate=192000&MaxFramerate=23.976025&api_key=&Tag=209593173fbd79ab02fe15761eaa41be&h264-level=50&h264-videobitdepth=10&h264-profile=high10"
[2022-03-31 21:03:17.955 +08:00] [DBG] [9] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: charset "utf-8" detected for "F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].chs.ass"

Kodi log, playback of Kodi-Jellyfin (Until the playback url is got)


2022-03-31 21:03:16.739 T:3996     INFO : JELLYFIN.__main__ -> DEBUG::default.py:18 --->[ default ]
2022-03-31 21:03:16.741 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.client -> DEBUG::jellyfin_kodi\jellyfin\client.py:35 JellyfinClient initializing...
2022-03-31 21:03:16.744 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.configuration -> DEBUG::jellyfin_kodi\jellyfin\configuration.py:25 Configuration initializing...
2022-03-31 21:03:16.746 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.configuration -> DEBUG::jellyfin_kodi\jellyfin\configuration.py:50 Begin http constructor.
2022-03-31 21:03:16.748 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.ws_client -> DEBUG::jellyfin_kodi\jellyfin\ws_client.py:33 WSClient initializing...
2022-03-31 21:03:16.750 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.connection_manager -> DEBUG::jellyfin_kodi\jellyfin\connection_manager.py:39 ConnectionManager initializing...
2022-03-31 21:03:16.752 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.credentials -> DEBUG::jellyfin_kodi\jellyfin\credentials.py:23 Credentials initializing...
2022-03-31 21:03:16.754 T:3996     INFO : JELLYFIN -> INFO::jellyfin_kodi\jellyfin\__init__.py:98 ---[ START JELLYFINCLIENT ]---
2022-03-31 21:03:16.757 T:3996     INFO : JELLYFIN.jellyfin_kodi.entrypoint.default -> INFO::jellyfin_kodi\entrypoint\default.py:72 path: ?filename=%5BKuroi-raws%5D+Juuni+Kokuki+1x06+%5BBDrip+1440x1080+x264+TrueHD%5D.mkv&id=375daeb5dfdcab7922ed68cd6393ceec&dbid=428&mode=play params: {
                                                       "filename": "[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv",
                                                       "id": "375daeb5dfdcab7922ed68cd6393ceec",
                                                       "dbid": "428",
                                                       "mode": "play"
                                                   }
2022-03-31 21:03:16.759 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:84 --->[ http ] {
                                                       "params": null,
                                                       "type": "GET",
                                                       "url": "http://{jellyfin-server}/Users/a384e94efaca4bebac91c030acf85a5e/Items/375daeb5dfdcab7922ed68cd6393ceec",
                                                       "headers": {
                                                           "Content-type": "application/json",
                                                           "Accept-Charset": "UTF-8,*",
                                                           "Accept-encoding": "gzip",
                                                           "User-Agent": "Jellyfin for Kodi/0.0.0",
                                                           "x-emby-authorization": "MediaBrowser Client=Jellyfin for Kodi, Device=Unknown Device, DeviceId=Unknown Device id, Version=0.0.0, UserId=a384e94efaca4bebac91c030acf85a5e",
                                                           "X-MediaBrowser-Token": "{jellyfin-token}"
                                                       },
                                                       "timeout": 30,
                                                       "verify": false
                                                   }
2022-03-31 21:03:16.789 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:170 ---<[ http ][16 ms]
2022-03-31 21:03:16.792 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:171 {
                                                       "Name": "\u300c\u6708\u4e4b\u5f71 \u5f71\u4e4b\u6d77\u300d\u7b2c\u516d\u7ae0",
                                                       "ServerId": "861928ff6ad44cfe9ed2394f19b5d608",
                                                       "Id": "375daeb5dfdcab7922ed68cd6393ceec",
                                                       "Etag": "265c81a188249dd6e7ed4179b8a9b1f2",
                                                       "DateCreated": "2022-03-29T03:21:57.2659771Z",
                                                       "CanDelete": true,
                                                       "CanDownload": true,
                                                       "HasSubtitles": true,
                                                       "Container": "mkv,webm",
                                                       "SortName": "001 - 0006 - \u300c\u6708\u4e4b\u5f71 \u5f71\u4e4b\u6d77\u300d\u7b2c\u516d\u7ae0",
                                                       "PremiereDate": "2002-05-21T00:00:00.0000000Z",
                                                       "ExternalUrls": [
                                                           {
                                                               "Name": "IMDb",
                                                               "Url": "https://www.imdb.com/title/tt0956367"
                                                           },
                                                           {
                                                               "Name": "Trakt",
                                                               "Url": "https://trakt.tv/episodes/tt0956367"
                                                           }
                                                       ],
                                                       "MediaSources": [
                                                           {
                                                               "Protocol": "File",
                                                               "Id": "375daeb5dfdcab7922ed68cd6393ceec",
                                                               "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv",
                                                               "Type": "Default",
                                                               "Container": "mkv",
                                                               "Size": 1179757184,
                                                               "Name": "[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD]",
                                                               "IsRemote": false,
                                                               "ETag": "209593173fbd79ab02fe15761eaa41be",
                                                               "RunTimeTicks": 15035029504,
                                                               "ReadAtNativeFramerate": false,
                                                               "IgnoreDts": false,
                                                               "IgnoreIndex": false,
                                                               "GenPtsInput": false,
                                                               "SupportsTranscoding": true,
                                                               "SupportsDirectStream": true,
                                                               "SupportsDirectPlay": true,
                                                               "IsInfiniteStream": false,
                                                               "RequiresOpening": false,
                                                               "RequiresClosing": false,
                                                               "RequiresLooping": false,
                                                               "SupportsProbing": true,
                                                               "VideoType": "VideoFile",
                                                               "MediaStreams": [
                                                                   {
                                                                       "Codec": "truehd",
                                                                       "TimeBase": "1/1000",
                                                                       "DisplayTitle": "TRUEHD - 5.1 - Default",
                                                                       "IsInterlaced": false,
                                                                       "ChannelLayout": "5.1",
                                                                       "BitDepth": 24,
                                                                       "Channels": 6,
                                                                       "SampleRate": 48000,
                                                                       "IsDefault": true,
                                                                       "IsForced": false,
                                                                       "Type": "Audio",
                                                                       "Index": 0,
                                                                       "IsExternal": false,
                                                                       "IsTextSubtitleStream": false,
                                                                       "SupportsExternalStream": false,
                                                                       "Level": 0
                                                                   },
                                                                   {
                                                                       "Codec": "h264",
                                                                       "Language": "jpn",
                                                                       "TimeBase": "1/1000",
                                                                       "Title": "[Kuroi-raws] Juuni Kokuki 06",
                                                                       "VideoRange": "SDR",
                                                                       "DisplayTitle": "[Kuroi-raws] Juuni Kokuki 06 - 1080p - H264 - SDR",
                                                                       "NalLengthSize": "0",
                                                                       "IsInterlaced": false,
                                                                       "IsAVC": false,
                                                                       "BitRate": 6277378,
                                                                       "BitDepth": 10,
                                                                       "RefFrames": 1,
                                                                       "IsDefault": true,
                                                                       "IsForced": false,
                                                                       "Height": 1080,
                                                                       "Width": 1440,
                                                                       "AverageFrameRate": 23.976025,
                                                                       "RealFrameRate": 23.976025,
                                                                       "Profile": "High 10",
                                                                       "Type": "Video",
                                                                       "AspectRatio": "4:3",
                                                                       "Index": 1,
                                                                       "IsExternal": false,
                                                                       "IsTextSubtitleStream": false,
                                                                       "SupportsExternalStream": false,
                                                                       "PixelFormat": "yuv420p10le",
                                                                       "Level": 50
                                                                   },
                                                                   {
                                                                       "Codec": "ass",
                                                                       "TimeBase": "1/100",
                                                                       "Title": "chs",
                                                                       "LocalizedUndefined": "\u672a\u5b9a\u4e49",
                                                                       "LocalizedDefault": "\u9ed8\u8ba4",
                                                                       "LocalizedForced": "\u5f3a\u5236\u7684",
                                                                       "LocalizedExternal": "\u5916\u90e8",
                                                                       "DisplayTitle": "chs - \u672a\u5b9a\u4e49 - ASS - \u5916\u90e8",
                                                                       "IsInterlaced": false,
                                                                       "IsDefault": false,
                                                                       "IsForced": false,
                                                                       "Type": "Subtitle",
                                                                       "Index": 2,
                                                                       "IsExternal": true,
                                                                       "IsTextSubtitleStream": true,
                                                                       "SupportsExternalStream": true,
                                                                       "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].chs.ass",
                                                                       "Level": 0
                                                                   }
                                                               ],
                                                               "MediaAttachments": [],
                                                               "Formats": [],
                                                               "Bitrate": 6277378,
                                                               "RequiredHttpHeaders": {},
                                                               "DefaultAudioStreamIndex": 0
                                                           }
                                                       ],
                                                       "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv",
                                                       "EnableMediaSourceDisplay": true,
                                                       "ChannelId": null,
                                                       "Taglines": [],
                                                       "Genres": [],
                                                       "RunTimeTicks": 15035029504,
                                                       "PlayAccess": "Full",
                                                       "ProductionYear": 2002,
                                                       "IndexNumber": 6,
                                                       "ParentIndexNumber": 1,
                                                       "RemoteTrailers": [],
                                                       "ProviderIds": {
                                                           "Imdb": "tt0956367"
                                                       },
                                                       "IsHD": true,
                                                       "IsFolder": false,
                                                       "ParentId": "6bec1be5cd3ffba2cef3c19e9116c24d",
                                                       "Type": "Episode",
                                                       "People": [
                                                           {
                                                               "Name": "Aya Hisakawa",
                                                               "Id": "c242ba63afedc5d78c905a97779f5908",
                                                               "Role": "Yoko Nakajima",
                                                               "Type": "Actor",
                                                               "PrimaryImageTag": "98db2f5d4a88744a9acd10c169bde9e6",
                                                               "ImageBlurHashes": {
                                                                   "Primary": {
                                                                       "98db2f5d4a88744a9acd10c169bde9e6": "dhLNY}M{_N?u~qIUx]%MtSozjFt7R-xvs.jYtRfjt6j["
                                                                   }
                                                               }
                                                           }
                                                       ],
                                                       "Studios": [],
                                                       "GenreItems": [],
                                                       "ParentLogoItemId": "be2f96fad9c59c53be6bb7608262c4f5",
                                                       "ParentBackdropItemId": "be2f96fad9c59c53be6bb7608262c4f5",
                                                       "ParentBackdropImageTags": [
                                                           "d03f8763830b14f0eb7a719cc6676094",
                                                           "a3525070dd2c8734c097aba9871f7453"
                                                       ],
                                                       "LocalTrailerCount": 0,
                                                       "UserData": {
                                                           "PlaybackPositionTicks": 0,
                                                           "PlayCount": 29,
                                                           "IsFavorite": false,
                                                           "LastPlayedDate": "2022-03-31T12:10:41.4348395Z",
                                                           "Played": false,
                                                           "Key": "74125001006"
                                                       },
                                                       "SeriesName": "\u5341\u4e8c\u56fd\u8bb0",
                                                       "SeriesId": "be2f96fad9c59c53be6bb7608262c4f5",
                                                       "SeasonId": "6bec1be5cd3ffba2cef3c19e9116c24d",
                                                       "SpecialFeatureCount": 0,
                                                       "DisplayPreferencesId": "26dd4a82b00c839c498471cdba80a99c",
                                                       "Tags": [],
                                                       "PrimaryImageAspectRatio": 0.7012622720897616,
                                                       "SeriesPrimaryImageTag": "c14b2bfcd4c97f52addf3b1165878c51",
                                                       "SeasonName": "\u7b2c 1 \u5b63",
                                                       "MediaStreams": [
                                                           {
                                                               "Codec": "truehd",
                                                               "TimeBase": "1/1000",
                                                               "DisplayTitle": "TRUEHD - 5.1 - Default",
                                                               "IsInterlaced": false,
                                                               "ChannelLayout": "5.1",
                                                               "BitDepth": 24,
                                                               "Channels": 6,
                                                               "SampleRate": 48000,
                                                               "IsDefault": true,
                                                               "IsForced": false,
                                                               "Type": "Audio",
                                                               "Index": 0,
                                                               "IsExternal": false,
                                                               "IsTextSubtitleStream": false,
                                                               "SupportsExternalStream": false,
                                                               "Level": 0
                                                           },
                                                           {
                                                               "Codec": "h264",
                                                               "Language": "jpn",
                                                               "TimeBase": "1/1000",
                                                               "Title": "[Kuroi-raws] Juuni Kokuki 06",
                                                               "VideoRange": "SDR",
                                                               "DisplayTitle": "[Kuroi-raws] Juuni Kokuki 06 - 1080p - H264 - SDR",
                                                               "NalLengthSize": "0",
                                                               "IsInterlaced": false,
                                                               "IsAVC": false,
                                                               "BitRate": 6277378,
                                                               "BitDepth": 10,
                                                               "RefFrames": 1,
                                                               "IsDefault": true,
                                                               "IsForced": false,
                                                               "Height": 1080,
                                                               "Width": 1440,
                                                               "AverageFrameRate": 23.976025,
                                                               "RealFrameRate": 23.976025,
                                                               "Profile": "High 10",
                                                               "Type": "Video",
                                                               "AspectRatio": "4:3",
                                                               "Index": 1,
                                                               "IsExternal": false,
                                                               "IsTextSubtitleStream": false,
                                                               "SupportsExternalStream": false,
                                                               "PixelFormat": "yuv420p10le",
                                                               "Level": 50
                                                           },
                                                           {
                                                               "Codec": "ass",
                                                               "TimeBase": "1/100",
                                                               "Title": "chs",
                                                               "LocalizedUndefined": "\u672a\u5b9a\u4e49",
                                                               "LocalizedDefault": "\u9ed8\u8ba4",
                                                               "LocalizedForced": "\u5f3a\u5236\u7684",
                                                               "LocalizedExternal": "\u5916\u90e8",
                                                               "DisplayTitle": "chs - \u672a\u5b9a\u4e49 - ASS - \u5916\u90e8",
                                                               "IsInterlaced": false,
                                                               "IsDefault": false,
                                                               "IsForced": false,
                                                               "Type": "Subtitle",
                                                               "Index": 2,
                                                               "IsExternal": true,
                                                               "IsTextSubtitleStream": true,
                                                               "SupportsExternalStream": true,
                                                               "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].chs.ass",
                                                               "Level": 0
                                                           }
                                                       ],
                                                       "VideoType": "VideoFile",
                                                       "ImageTags": {},
                                                       "BackdropImageTags": [],
                                                       "ParentLogoImageTag": "527ccf068d44710b5f9f8dbacd141326",
                                                       "ImageBlurHashes": {
                                                           "Logo": {
                                                               "527ccf068d44710b5f9f8dbacd141326": "O_M%i*j]ofoLbHj[WVozayj[fQayfQay_Nf6aea|aef6jZ"
                                                           },
                                                           "Thumb": {
                                                               "6fc007d62a2c066134b394a62d49a7eb": "NcP~+cDhNb_N.8?H_2oJWBW=bcozoeMxRkW;M{WB"
                                                           },
                                                           "Backdrop": {
                                                               "d03f8763830b14f0eb7a719cc6676094": "WYIY2*x^cYv~RQ%#~XtRtSi_aeo}%2WBS4s:n$X8-pS2NGwJogN_",
                                                               "a3525070dd2c8734c097aba9871f7453": "WKIXz2Hq%N_4Ri-=~C#*aMni$et7$exDniRjg2XS-;f5xat6W.g3"
                                                           },
                                                           "Primary": {
                                                               "c14b2bfcd4c97f52addf3b1165878c51": "dVK1RNt7gi-p?^ayM{j]?vxuM{oz.SxvxGM{x]WBofWB"
                                                           }
                                                       },
                                                       "SeriesStudio": "NHK BS1",
                                                       "ParentThumbItemId": "be2f96fad9c59c53be6bb7608262c4f5",
                                                       "ParentThumbImageTag": "6fc007d62a2c066134b394a62d49a7eb",
                                                       "Chapters": [
                                                           {
                                                               "StartPositionTicks": 0,
                                                               "Name": "\u7ae0\u8282 1",
                                                               "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
                                                           },
                                                           {
                                                               "StartPositionTicks": 3000000000,
                                                               "Name": "\u7ae0\u8282 2",
                                                               "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
                                                           },
                                                           {
                                                               "StartPositionTicks": 6000000000,
                                                               "Name": "\u7ae0\u8282 3",
                                                               "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
                                                           },
                                                           {
                                                               "StartPositionTicks": 9000000000,
                                                               "Name": "\u7ae0\u8282 4",
                                                               "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
                                                           },
                                                           {
                                                               "StartPositionTicks": 12000000000,
                                                               "Name": "\u7ae0\u8282 5",
                                                               "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
                                                           }
                                                       ],
                                                       "LocationType": "FileSystem",
                                                       "MediaType": "Video",
                                                       "LockedFields": [],
                                                       "LockData": false,
                                                       "Width": 1440,
                                                       "Height": 1080
                                                   }
2022-03-31 21:03:16.794 T:3996     INFO : JELLYFIN.jellyfin_kodi.objects.actions -> INFO::jellyfin_kodi\objects\actions.py:67 [ play/375daeb5dfdcab7922ed68cd6393ceec ] 「月之影 影之海」第六章
2022-03-31 21:03:16.824 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:84 --->[ http ] {
                                                       "params": null,
                                                       "json": {
                                                           "UserId": "a384e94efaca4bebac91c030acf85a5e",
                                                           "DeviceProfile": {
                                                               "Name": "Kodi",
                                                               "MaxStaticBitrate": 1000000000,
                                                               "MaxStreamingBitrate": 1000000000,
                                                               "MusicStreamingTranscodingBitrate": 1280000,
                                                               "TimelineOffsetSeconds": 5,
                                                               "TranscodingProfiles": [
                                                                   {
                                                                       "Type": "Video",
                                                                       "Container": "m3u8",
                                                                       "AudioCodec": "opus,aac,mp3,ac3,flac,vorbis",
                                                                       "VideoCodec": "h264,hevc,h265,mpeg4,mpeg2video,vc1",
                                                                       "MaxAudioChannels": "6"
                                                                   },
                                                                   {
                                                                       "Type": "Audio"
                                                                   },
                                                                   {
                                                                       "Type": "Photo",
                                                                       "Container": "jpeg"
                                                                   }
                                                               ],
                                                               "DirectPlayProfiles": [
                                                                   {
                                                                       "Type": "Video",
                                                                       "VideoCodec": "h264,hevc,h265,mpeg4,mpeg2video,vc1,vp9,av1"
                                                                   },
                                                                   {
                                                                       "Type": "Audio"
                                                                   },
                                                                   {
                                                                       "Type": "Photo"
                                                                   }
                                                               ],
                                                               "ResponseProfiles": [],
                                                               "ContainerProfiles": [],
                                                               "CodecProfiles": [
                                                                   {
                                                                       "Type": "Video",
                                                                       "codec": "h264",
                                                                       "Conditions": [
                                                                           {
                                                                               "Condition": "LessThanEqual",
                                                                               "Property": "VideoBitDepth",
                                                                               "Value": "8"
                                                                           }
                                                                       ]
                                                                   }
                                                               ],
                                                               "SubtitleProfiles": [
                                                                   {
                                                                       "Format": "srt",
                                                                       "Method": "External"
                                                                   },
                                                                   {
                                                                       "Format": "srt",
                                                                       "Method": "Embed"
                                                                   },
                                                                   {
                                                                       "Format": "ass",
                                                                       "Method": "External"
                                                                   },
                                                                   {
                                                                       "Format": "ass",
                                                                       "Method": "Embed"
                                                                   },
                                                                   {
                                                                       "Format": "sub",
                                                                       "Method": "Embed"
                                                                   },
                                                                   {
                                                                       "Format": "sub",
                                                                       "Method": "External"
                                                                   },
                                                                   {
                                                                       "Format": "ssa",
                                                                       "Method": "Embed"
                                                                   },
                                                                   {
                                                                       "Format": "ssa",
                                                                       "Method": "External"
                                                                   },
                                                                   {
                                                                       "Format": "smi",
                                                                       "Method": "Embed"
                                                                   },
                                                                   {
                                                                       "Format": "smi",
                                                                       "Method": "External"
                                                                   },
                                                                   {
                                                                       "Format": "pgssub",
                                                                       "Method": "Embed"
                                                                   },
                                                                   {
                                                                       "Format": "pgssub",
                                                                       "Method": "External"
                                                                   },
                                                                   {
                                                                       "Format": "dvdsub",
                                                                       "Method": "Embed"
                                                                   },
                                                                   {
                                                                       "Format": "dvdsub",
                                                                       "Method": "External"
                                                                   },
                                                                   {
                                                                       "Format": "pgs",
                                                                       "Method": "Embed"
                                                                   },
                                                                   {
                                                                       "Format": "pgs",
                                                                       "Method": "External"
                                                                   }
                                                               ]
                                                           },
                                                           "AutoOpenLiveStream": true
                                                       },
                                                       "type": "POST",
                                                       "url": "http://{jellyfin-server}/Items/375daeb5dfdcab7922ed68cd6393ceec/PlaybackInfo",
                                                       "headers": {
                                                           "Content-type": "application/json",
                                                           "Accept-Charset": "UTF-8,*",
                                                           "Accept-encoding": "gzip",
                                                           "User-Agent": "Jellyfin for Kodi/0.0.0",
                                                           "x-emby-authorization": "MediaBrowser Client=Jellyfin for Kodi, Device=Unknown Device, DeviceId=Unknown Device id, Version=0.0.0, UserId=a384e94efaca4bebac91c030acf85a5e",
                                                           "X-MediaBrowser-Token": "{jellyfin-token}"
                                                       },
                                                       "timeout": 30,
                                                       "verify": false
                                                   }
2022-03-31 21:03:17.059 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:170 ---<[ http ][226 ms]
2022-03-31 21:03:17.065 T:3996     INFO : JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:171 {
                                                       "MediaSources": [
                                                           {
                                                               "Protocol": "File",
                                                               "Id": "375daeb5dfdcab7922ed68cd6393ceec",
                                                               "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv",
                                                               "Type": "Default",
                                                               "Container": "mkv",
                                                               "Size": 1179757184,
                                                               "Name": "[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD]",
                                                               "IsRemote": false,
                                                               "ETag": "209593173fbd79ab02fe15761eaa41be",
                                                               "RunTimeTicks": 15035029504,
                                                               "ReadAtNativeFramerate": false,
                                                               "IgnoreDts": false,
                                                               "IgnoreIndex": false,
                                                               "GenPtsInput": false,
                                                               "SupportsTranscoding": true,
                                                               "SupportsDirectStream": true,
                                                               "SupportsDirectPlay": true,
                                                               "IsInfiniteStream": false,
                                                               "RequiresOpening": false,
                                                               "RequiresClosing": false,
                                                               "RequiresLooping": false,
                                                               "SupportsProbing": true,
                                                               "VideoType": "VideoFile",
                                                               "MediaStreams": [
                                                                   {
                                                                       "Codec": "truehd",
                                                                       "TimeBase": "1/1000",
                                                                       "DisplayTitle": "TRUEHD - 5.1 - Default",
                                                                       "IsInterlaced": false,
                                                                       "ChannelLayout": "5.1",
                                                                       "BitDepth": 24,
                                                                       "Channels": 6,
                                                                       "SampleRate": 48000,
                                                                       "IsDefault": true,
                                                                       "IsForced": false,
                                                                       "Type": "Audio",
                                                                       "Index": 0,
                                                                       "IsExternal": false,
                                                                       "IsTextSubtitleStream": false,
                                                                       "SupportsExternalStream": false,
                                                                       "Level": 0
                                                                   },
                                                                   {
                                                                       "Codec": "h264",
                                                                       "Language": "jpn",
                                                                       "TimeBase": "1/1000",
                                                                       "Title": "[Kuroi-raws] Juuni Kokuki 06",
                                                                       "VideoRange": "SDR",
                                                                       "DisplayTitle": "[Kuroi-raws] Juuni Kokuki 06 - 1080p - H264 - SDR",
                                                                       "NalLengthSize": "0",
                                                                       "IsInterlaced": false,
                                                                       "IsAVC": false,
                                                                       "BitRate": 6277378,
                                                                       "BitDepth": 10,
                                                                       "RefFrames": 1,
                                                                       "IsDefault": true,
                                                                       "IsForced": false,
                                                                       "Height": 1080,
                                                                       "Width": 1440,
                                                                       "AverageFrameRate": 23.976025,
                                                                       "RealFrameRate": 23.976025,
                                                                       "Profile": "High 10",
                                                                       "Type": "Video",
                                                                       "AspectRatio": "4:3",
                                                                       "Index": 1,
                                                                       "IsExternal": false,
                                                                       "IsTextSubtitleStream": false,
                                                                       "SupportsExternalStream": false,
                                                                       "PixelFormat": "yuv420p10le",
                                                                       "Level": 50
                                                                   },
                                                                   {
                                                                       "Codec": "ass",
                                                                       "TimeBase": "1/100",
                                                                       "Title": "chs",
                                                                       "LocalizedUndefined": "\u672a\u5b9a\u4e49",
                                                                       "LocalizedDefault": "\u9ed8\u8ba4",
                                                                       "LocalizedForced": "\u5f3a\u5236\u7684",
                                                                       "LocalizedExternal": "\u5916\u90e8",
                                                                       "DisplayTitle": "chs - \u672a\u5b9a\u4e49 - ASS - \u5916\u90e8",
                                                                       "IsInterlaced": false,
                                                                       "IsDefault": false,
                                                                       "IsForced": false,
                                                                       "Type": "Subtitle",
                                                                       "Index": 2,
                                                                       "IsExternal": true,
                                                                       "DeliveryMethod": "External",
                                                                       "DeliveryUrl": "/Videos/375daeb5-dfdc-ab79-22ed-68cd6393ceec/375daeb5dfdcab7922ed68cd6393ceec/Subtitles/2/0/Stream.ass?api_key={jellyfin-token}",
                                                                       "IsExternalUrl": false,
                                                                       "IsTextSubtitleStream": true,
                                                                       "SupportsExternalStream": true,
                                                                       "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].chs.ass",
                                                                       "Level": 0
                                                                   }
                                                               ],
                                                               "MediaAttachments": [],
                                                               "Formats": [],
                                                               "Bitrate": 6277378,
                                                               "RequiredHttpHeaders": {},
                                                               "TranscodingUrl": "/videos/375daeb5-dfdc-ab79-22ed-68cd6393ceec/stream.mkv?DeviceId=Unknown%20Device%20id&MediaSourceId=375daeb5dfdcab7922ed68cd6393ceec&VideoCodec=h264&AudioCodec=opus,aac,mp3,ac3,flac,vorbis&AudioStreamIndex=0&VideoBitrate=999808000&AudioBitrate=192000&MaxFramerate=23.976025&PlaySessionId=c4cc7114c65041ce8242fbeaa52a9f54&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=209593173fbd79ab02fe15761eaa41be&h264-level=50&h264-videobitdepth=10&h264-profile=high10&TranscodeReasons=0",
                                                               "TranscodingSubProtocol": "",
                                                               "TranscodingContainer": "m3u8",
                                                               "DefaultAudioStreamIndex": 0
                                                           }
                                                       ],
                                                       "PlaySessionId": "c4cc7114c65041ce8242fbeaa52a9f54"
                                                   }

Full Server logs:

log_20220331.log

Full client logs:

kodi.log

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @EdiTurn on GitHub (Mar 31, 2022). ### Please describe your bug I have Kodi with Jellyfin-Kodi and JellyCon installed. Both two plugins have an option to automatically transcode Hi10p videos while playback. But after upgrading to Jellyfin 10.8.0, these videos are now directly played. After that I try to add more restricts like VideoProfile, Height to the client's DeviceProfile -> CodecProfiles, but none of them really works. It seems that the whole CodecProfiles don't take any effect any more after upgrading to 10.8.0. ### Jellyfin Version 10.8.0 ### Environment ```markdown - OS: Windows - Virtualization: None - Clients: Jellyfin-Kodi & JellyCon - FFmpeg Version: 4.4.1 - Playback Method: Transcode expected, but Direct Play in fact - Hardware Acceleration: QSV - Plugins: Kodi Sync Queue, Fanart - Reverse Proxy: None - Base URL: none - Networking: LAN - Storage: local ``` <details> <summary><h3>Jellyfin logs (simplified)</h3></summary> <pre><code> [2022-03-31 21:03:16.879 +08:00] [DBG] [20] Jellyfin.Api.Controllers.MediaInfoController: GetPostedPlaybackInfo profile: DeviceProfile { Name: "Kodi", Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: null, MaxAlbumArtHeight: null, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 1000000000, MaxStaticBitrate: 1000000000, MusicStreamingTranscodingBitrate: 1280000, MaxStaticMusicBitrate: 8000000, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 5, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: "h264,hevc,h265,mpeg4,mpeg2video,vc1,vp9,av1", Type: Video }, DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: null, Type: Photo }], TranscodingProfiles: [TranscodingProfile { Container: "m3u8", Type: Video, VideoCodec: "h264,hevc,h265,mpeg4,mpeg2video,vc1", AudioCodec: "opus,aac,mp3,ac3,flac,vorbis", Protocol: "", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False, Conditions: [] }, TranscodingProfile { Container: "", Type: Audio, VideoCodec: "", AudioCodec: "", Protocol: "", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False, Conditions: [] }, TranscodingProfile { Container: "jpeg", Type: Photo, VideoCodec: "", AudioCodec: "", Protocol: "", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False, Conditions: [] }], ContainerProfiles: [], CodecProfiles: [CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: LessThanEqual, Property: VideoBitDepth, Value: "8", IsRequired: True }], ApplyConditions: [], Codec: "h264", Container: null }], ResponseProfiles: [], SubtitleProfiles: [SubtitleProfile { Format: "srt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "srt", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "sub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "sub", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "smi", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "smi", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgssub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgssub", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "dvdsub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "dvdsub", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgs", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgs", Method: External, DidlMode: null, Language: null, Container: null }] } [2022-03-31 21:03:16.987 +08:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "EdiTurn". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2022-03-31 21:03:16.993 +08:00] [DBG] [20] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "Kodi", Path: "F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: False [2022-03-31 21:03:17.012 +08:00] [DBG] [20] Jellyfin.Api.Helpers.MediaInfoHelper: DirectPlay Result for Profile: "Kodi", Path: "F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", PlayMethod: DirectPlay, AudioStreamIndex: 0, SubtitleStreamIndex: null, Reasons: 0 [2022-03-31 21:03:17.026 +08:00] [DBG] [20] Jellyfin.Api.Helpers.MediaInfoHelper: Transcode Result for Profile: "Kodi", Path: "F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", PlayMethod: DirectPlay, AudioStreamIndex: 0, SubtitleStreamIndex: null, Reasons: 0 [2022-03-31 21:03:17.036 +08:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Kodi", Path="F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/375daeb5-dfdc-ab79-22ed-68cd6393ceec/stream.mkv?MediaSourceId=375daeb5dfdcab7922ed68cd6393ceec&Static=true&VideoCodec=h264&AudioCodec=opus,aac,mp3,ac3,flac,vorbis&AudioStreamIndex=0&VideoBitrate=999808000&AudioBitrate=192000&MaxFramerate=23.976025&api_key=<token>&Tag=209593173fbd79ab02fe15761eaa41be&h264-level=50&h264-videobitdepth=10&h264-profile=high10" [2022-03-31 21:03:17.955 +08:00] [DBG] [9] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: charset "utf-8" detected for "F:\Videos\Series\十二国記[十二国记]\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].chs.ass" </code></pre> </details> <details> <summary><h3>Kodi log, playback of Kodi-Jellyfin (Until the playback url is got)</h3></summary> <pre><code> 2022-03-31 21:03:16.739 T:3996 INFO <general>: JELLYFIN.__main__ -> DEBUG::default.py:18 --->[ default ] 2022-03-31 21:03:16.741 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.client -> DEBUG::jellyfin_kodi\jellyfin\client.py:35 JellyfinClient initializing... 2022-03-31 21:03:16.744 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.configuration -> DEBUG::jellyfin_kodi\jellyfin\configuration.py:25 Configuration initializing... 2022-03-31 21:03:16.746 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.configuration -> DEBUG::jellyfin_kodi\jellyfin\configuration.py:50 Begin http constructor. 2022-03-31 21:03:16.748 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.ws_client -> DEBUG::jellyfin_kodi\jellyfin\ws_client.py:33 WSClient initializing... 2022-03-31 21:03:16.750 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.connection_manager -> DEBUG::jellyfin_kodi\jellyfin\connection_manager.py:39 ConnectionManager initializing... 2022-03-31 21:03:16.752 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.credentials -> DEBUG::jellyfin_kodi\jellyfin\credentials.py:23 Credentials initializing... 2022-03-31 21:03:16.754 T:3996 INFO <general>: JELLYFIN -> INFO::jellyfin_kodi\jellyfin\__init__.py:98 ---[ START JELLYFINCLIENT ]--- 2022-03-31 21:03:16.757 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.entrypoint.default -> INFO::jellyfin_kodi\entrypoint\default.py:72 path: ?filename=%5BKuroi-raws%5D+Juuni+Kokuki+1x06+%5BBDrip+1440x1080+x264+TrueHD%5D.mkv&id=375daeb5dfdcab7922ed68cd6393ceec&dbid=428&mode=play params: { "filename": "[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", "id": "375daeb5dfdcab7922ed68cd6393ceec", "dbid": "428", "mode": "play" } 2022-03-31 21:03:16.759 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:84 --->[ http ] { "params": null, "type": "GET", "url": "http://{jellyfin-server}/Users/a384e94efaca4bebac91c030acf85a5e/Items/375daeb5dfdcab7922ed68cd6393ceec", "headers": { "Content-type": "application/json", "Accept-Charset": "UTF-8,*", "Accept-encoding": "gzip", "User-Agent": "Jellyfin for Kodi/0.0.0", "x-emby-authorization": "MediaBrowser Client=Jellyfin for Kodi, Device=Unknown Device, DeviceId=Unknown Device id, Version=0.0.0, UserId=a384e94efaca4bebac91c030acf85a5e", "X-MediaBrowser-Token": "{jellyfin-token}" }, "timeout": 30, "verify": false } 2022-03-31 21:03:16.789 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:170 ---<[ http ][16 ms] 2022-03-31 21:03:16.792 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:171 { "Name": "\u300c\u6708\u4e4b\u5f71 \u5f71\u4e4b\u6d77\u300d\u7b2c\u516d\u7ae0", "ServerId": "861928ff6ad44cfe9ed2394f19b5d608", "Id": "375daeb5dfdcab7922ed68cd6393ceec", "Etag": "265c81a188249dd6e7ed4179b8a9b1f2", "DateCreated": "2022-03-29T03:21:57.2659771Z", "CanDelete": true, "CanDownload": true, "HasSubtitles": true, "Container": "mkv,webm", "SortName": "001 - 0006 - \u300c\u6708\u4e4b\u5f71 \u5f71\u4e4b\u6d77\u300d\u7b2c\u516d\u7ae0", "PremiereDate": "2002-05-21T00:00:00.0000000Z", "ExternalUrls": [ { "Name": "IMDb", "Url": "https://www.imdb.com/title/tt0956367" }, { "Name": "Trakt", "Url": "https://trakt.tv/episodes/tt0956367" } ], "MediaSources": [ { "Protocol": "File", "Id": "375daeb5dfdcab7922ed68cd6393ceec", "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", "Type": "Default", "Container": "mkv", "Size": 1179757184, "Name": "[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD]", "IsRemote": false, "ETag": "209593173fbd79ab02fe15761eaa41be", "RunTimeTicks": 15035029504, "ReadAtNativeFramerate": false, "IgnoreDts": false, "IgnoreIndex": false, "GenPtsInput": false, "SupportsTranscoding": true, "SupportsDirectStream": true, "SupportsDirectPlay": true, "IsInfiniteStream": false, "RequiresOpening": false, "RequiresClosing": false, "RequiresLooping": false, "SupportsProbing": true, "VideoType": "VideoFile", "MediaStreams": [ { "Codec": "truehd", "TimeBase": "1/1000", "DisplayTitle": "TRUEHD - 5.1 - Default", "IsInterlaced": false, "ChannelLayout": "5.1", "BitDepth": 24, "Channels": 6, "SampleRate": 48000, "IsDefault": true, "IsForced": false, "Type": "Audio", "Index": 0, "IsExternal": false, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "Level": 0 }, { "Codec": "h264", "Language": "jpn", "TimeBase": "1/1000", "Title": "[Kuroi-raws] Juuni Kokuki 06", "VideoRange": "SDR", "DisplayTitle": "[Kuroi-raws] Juuni Kokuki 06 - 1080p - H264 - SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": false, "BitRate": 6277378, "BitDepth": 10, "RefFrames": 1, "IsDefault": true, "IsForced": false, "Height": 1080, "Width": 1440, "AverageFrameRate": 23.976025, "RealFrameRate": 23.976025, "Profile": "High 10", "Type": "Video", "AspectRatio": "4:3", "Index": 1, "IsExternal": false, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "PixelFormat": "yuv420p10le", "Level": 50 }, { "Codec": "ass", "TimeBase": "1/100", "Title": "chs", "LocalizedUndefined": "\u672a\u5b9a\u4e49", "LocalizedDefault": "\u9ed8\u8ba4", "LocalizedForced": "\u5f3a\u5236\u7684", "LocalizedExternal": "\u5916\u90e8", "DisplayTitle": "chs - \u672a\u5b9a\u4e49 - ASS - \u5916\u90e8", "IsInterlaced": false, "IsDefault": false, "IsForced": false, "Type": "Subtitle", "Index": 2, "IsExternal": true, "IsTextSubtitleStream": true, "SupportsExternalStream": true, "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].chs.ass", "Level": 0 } ], "MediaAttachments": [], "Formats": [], "Bitrate": 6277378, "RequiredHttpHeaders": {}, "DefaultAudioStreamIndex": 0 } ], "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", "EnableMediaSourceDisplay": true, "ChannelId": null, "Taglines": [], "Genres": [], "RunTimeTicks": 15035029504, "PlayAccess": "Full", "ProductionYear": 2002, "IndexNumber": 6, "ParentIndexNumber": 1, "RemoteTrailers": [], "ProviderIds": { "Imdb": "tt0956367" }, "IsHD": true, "IsFolder": false, "ParentId": "6bec1be5cd3ffba2cef3c19e9116c24d", "Type": "Episode", "People": [ { "Name": "Aya Hisakawa", "Id": "c242ba63afedc5d78c905a97779f5908", "Role": "Yoko Nakajima", "Type": "Actor", "PrimaryImageTag": "98db2f5d4a88744a9acd10c169bde9e6", "ImageBlurHashes": { "Primary": { "98db2f5d4a88744a9acd10c169bde9e6": "dhLNY}M{_N?u~qIUx]%MtSozjFt7R-xvs.jYtRfjt6j[" } } } ], "Studios": [], "GenreItems": [], "ParentLogoItemId": "be2f96fad9c59c53be6bb7608262c4f5", "ParentBackdropItemId": "be2f96fad9c59c53be6bb7608262c4f5", "ParentBackdropImageTags": [ "d03f8763830b14f0eb7a719cc6676094", "a3525070dd2c8734c097aba9871f7453" ], "LocalTrailerCount": 0, "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 29, "IsFavorite": false, "LastPlayedDate": "2022-03-31T12:10:41.4348395Z", "Played": false, "Key": "74125001006" }, "SeriesName": "\u5341\u4e8c\u56fd\u8bb0", "SeriesId": "be2f96fad9c59c53be6bb7608262c4f5", "SeasonId": "6bec1be5cd3ffba2cef3c19e9116c24d", "SpecialFeatureCount": 0, "DisplayPreferencesId": "26dd4a82b00c839c498471cdba80a99c", "Tags": [], "PrimaryImageAspectRatio": 0.7012622720897616, "SeriesPrimaryImageTag": "c14b2bfcd4c97f52addf3b1165878c51", "SeasonName": "\u7b2c 1 \u5b63", "MediaStreams": [ { "Codec": "truehd", "TimeBase": "1/1000", "DisplayTitle": "TRUEHD - 5.1 - Default", "IsInterlaced": false, "ChannelLayout": "5.1", "BitDepth": 24, "Channels": 6, "SampleRate": 48000, "IsDefault": true, "IsForced": false, "Type": "Audio", "Index": 0, "IsExternal": false, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "Level": 0 }, { "Codec": "h264", "Language": "jpn", "TimeBase": "1/1000", "Title": "[Kuroi-raws] Juuni Kokuki 06", "VideoRange": "SDR", "DisplayTitle": "[Kuroi-raws] Juuni Kokuki 06 - 1080p - H264 - SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": false, "BitRate": 6277378, "BitDepth": 10, "RefFrames": 1, "IsDefault": true, "IsForced": false, "Height": 1080, "Width": 1440, "AverageFrameRate": 23.976025, "RealFrameRate": 23.976025, "Profile": "High 10", "Type": "Video", "AspectRatio": "4:3", "Index": 1, "IsExternal": false, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "PixelFormat": "yuv420p10le", "Level": 50 }, { "Codec": "ass", "TimeBase": "1/100", "Title": "chs", "LocalizedUndefined": "\u672a\u5b9a\u4e49", "LocalizedDefault": "\u9ed8\u8ba4", "LocalizedForced": "\u5f3a\u5236\u7684", "LocalizedExternal": "\u5916\u90e8", "DisplayTitle": "chs - \u672a\u5b9a\u4e49 - ASS - \u5916\u90e8", "IsInterlaced": false, "IsDefault": false, "IsForced": false, "Type": "Subtitle", "Index": 2, "IsExternal": true, "IsTextSubtitleStream": true, "SupportsExternalStream": true, "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].chs.ass", "Level": 0 } ], "VideoType": "VideoFile", "ImageTags": {}, "BackdropImageTags": [], "ParentLogoImageTag": "527ccf068d44710b5f9f8dbacd141326", "ImageBlurHashes": { "Logo": { "527ccf068d44710b5f9f8dbacd141326": "O_M%i*j]ofoLbHj[WVozayj[fQayfQay_Nf6aea|aef6jZ" }, "Thumb": { "6fc007d62a2c066134b394a62d49a7eb": "NcP~+cDhNb_N.8?H_2oJWBW=bcozoeMxRkW;M{WB" }, "Backdrop": { "d03f8763830b14f0eb7a719cc6676094": "WYIY2*x^cYv~RQ%#~XtRtSi_aeo}%2WBS4s:n$X8-pS2NGwJogN_", "a3525070dd2c8734c097aba9871f7453": "WKIXz2Hq%N_4Ri-=~C#*aMni$et7$exDniRjg2XS-;f5xat6W.g3" }, "Primary": { "c14b2bfcd4c97f52addf3b1165878c51": "dVK1RNt7gi-p?^ayM{j]?vxuM{oz.SxvxGM{x]WBofWB" } }, "SeriesStudio": "NHK BS1", "ParentThumbItemId": "be2f96fad9c59c53be6bb7608262c4f5", "ParentThumbImageTag": "6fc007d62a2c066134b394a62d49a7eb", "Chapters": [ { "StartPositionTicks": 0, "Name": "\u7ae0\u8282 1", "ImageDateModified": "0001-01-01T00:00:00.0000000Z" }, { "StartPositionTicks": 3000000000, "Name": "\u7ae0\u8282 2", "ImageDateModified": "0001-01-01T00:00:00.0000000Z" }, { "StartPositionTicks": 6000000000, "Name": "\u7ae0\u8282 3", "ImageDateModified": "0001-01-01T00:00:00.0000000Z" }, { "StartPositionTicks": 9000000000, "Name": "\u7ae0\u8282 4", "ImageDateModified": "0001-01-01T00:00:00.0000000Z" }, { "StartPositionTicks": 12000000000, "Name": "\u7ae0\u8282 5", "ImageDateModified": "0001-01-01T00:00:00.0000000Z" } ], "LocationType": "FileSystem", "MediaType": "Video", "LockedFields": [], "LockData": false, "Width": 1440, "Height": 1080 } 2022-03-31 21:03:16.794 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.objects.actions -> INFO::jellyfin_kodi\objects\actions.py:67 [ play/375daeb5dfdcab7922ed68cd6393ceec ] 「月之影 影之海」第六章 2022-03-31 21:03:16.824 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:84 --->[ http ] { "params": null, "json": { "UserId": "a384e94efaca4bebac91c030acf85a5e", "DeviceProfile": { "Name": "Kodi", "MaxStaticBitrate": 1000000000, "MaxStreamingBitrate": 1000000000, "MusicStreamingTranscodingBitrate": 1280000, "TimelineOffsetSeconds": 5, "TranscodingProfiles": [ { "Type": "Video", "Container": "m3u8", "AudioCodec": "opus,aac,mp3,ac3,flac,vorbis", "VideoCodec": "h264,hevc,h265,mpeg4,mpeg2video,vc1", "MaxAudioChannels": "6" }, { "Type": "Audio" }, { "Type": "Photo", "Container": "jpeg" } ], "DirectPlayProfiles": [ { "Type": "Video", "VideoCodec": "h264,hevc,h265,mpeg4,mpeg2video,vc1,vp9,av1" }, { "Type": "Audio" }, { "Type": "Photo" } ], "ResponseProfiles": [], "ContainerProfiles": [], "CodecProfiles": [ { "Type": "Video", "codec": "h264", "Conditions": [ { "Condition": "LessThanEqual", "Property": "VideoBitDepth", "Value": "8" } ] } ], "SubtitleProfiles": [ { "Format": "srt", "Method": "External" }, { "Format": "srt", "Method": "Embed" }, { "Format": "ass", "Method": "External" }, { "Format": "ass", "Method": "Embed" }, { "Format": "sub", "Method": "Embed" }, { "Format": "sub", "Method": "External" }, { "Format": "ssa", "Method": "Embed" }, { "Format": "ssa", "Method": "External" }, { "Format": "smi", "Method": "Embed" }, { "Format": "smi", "Method": "External" }, { "Format": "pgssub", "Method": "Embed" }, { "Format": "pgssub", "Method": "External" }, { "Format": "dvdsub", "Method": "Embed" }, { "Format": "dvdsub", "Method": "External" }, { "Format": "pgs", "Method": "Embed" }, { "Format": "pgs", "Method": "External" } ] }, "AutoOpenLiveStream": true }, "type": "POST", "url": "http://{jellyfin-server}/Items/375daeb5dfdcab7922ed68cd6393ceec/PlaybackInfo", "headers": { "Content-type": "application/json", "Accept-Charset": "UTF-8,*", "Accept-encoding": "gzip", "User-Agent": "Jellyfin for Kodi/0.0.0", "x-emby-authorization": "MediaBrowser Client=Jellyfin for Kodi, Device=Unknown Device, DeviceId=Unknown Device id, Version=0.0.0, UserId=a384e94efaca4bebac91c030acf85a5e", "X-MediaBrowser-Token": "{jellyfin-token}" }, "timeout": 30, "verify": false } 2022-03-31 21:03:17.059 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:170 ---<[ http ][226 ms] 2022-03-31 21:03:17.065 T:3996 INFO <general>: JELLYFIN.jellyfin_kodi.jellyfin.http -> DEBUG::jellyfin_kodi\jellyfin\http.py:171 { "MediaSources": [ { "Protocol": "File", "Id": "375daeb5dfdcab7922ed68cd6393ceec", "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].mkv", "Type": "Default", "Container": "mkv", "Size": 1179757184, "Name": "[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD]", "IsRemote": false, "ETag": "209593173fbd79ab02fe15761eaa41be", "RunTimeTicks": 15035029504, "ReadAtNativeFramerate": false, "IgnoreDts": false, "IgnoreIndex": false, "GenPtsInput": false, "SupportsTranscoding": true, "SupportsDirectStream": true, "SupportsDirectPlay": true, "IsInfiniteStream": false, "RequiresOpening": false, "RequiresClosing": false, "RequiresLooping": false, "SupportsProbing": true, "VideoType": "VideoFile", "MediaStreams": [ { "Codec": "truehd", "TimeBase": "1/1000", "DisplayTitle": "TRUEHD - 5.1 - Default", "IsInterlaced": false, "ChannelLayout": "5.1", "BitDepth": 24, "Channels": 6, "SampleRate": 48000, "IsDefault": true, "IsForced": false, "Type": "Audio", "Index": 0, "IsExternal": false, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "Level": 0 }, { "Codec": "h264", "Language": "jpn", "TimeBase": "1/1000", "Title": "[Kuroi-raws] Juuni Kokuki 06", "VideoRange": "SDR", "DisplayTitle": "[Kuroi-raws] Juuni Kokuki 06 - 1080p - H264 - SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": false, "BitRate": 6277378, "BitDepth": 10, "RefFrames": 1, "IsDefault": true, "IsForced": false, "Height": 1080, "Width": 1440, "AverageFrameRate": 23.976025, "RealFrameRate": 23.976025, "Profile": "High 10", "Type": "Video", "AspectRatio": "4:3", "Index": 1, "IsExternal": false, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "PixelFormat": "yuv420p10le", "Level": 50 }, { "Codec": "ass", "TimeBase": "1/100", "Title": "chs", "LocalizedUndefined": "\u672a\u5b9a\u4e49", "LocalizedDefault": "\u9ed8\u8ba4", "LocalizedForced": "\u5f3a\u5236\u7684", "LocalizedExternal": "\u5916\u90e8", "DisplayTitle": "chs - \u672a\u5b9a\u4e49 - ASS - \u5916\u90e8", "IsInterlaced": false, "IsDefault": false, "IsForced": false, "Type": "Subtitle", "Index": 2, "IsExternal": true, "DeliveryMethod": "External", "DeliveryUrl": "/Videos/375daeb5-dfdc-ab79-22ed-68cd6393ceec/375daeb5dfdcab7922ed68cd6393ceec/Subtitles/2/0/Stream.ass?api_key={jellyfin-token}", "IsExternalUrl": false, "IsTextSubtitleStream": true, "SupportsExternalStream": true, "Path": "F:\\Videos\\Series\\\u5341\u4e8c\u56fd\u8a18[\u5341\u4e8c\u56fd\u8bb0]\\[Kuroi-raws] Juuni Kokuki 1x06 [BDrip 1440x1080 x264 TrueHD].chs.ass", "Level": 0 } ], "MediaAttachments": [], "Formats": [], "Bitrate": 6277378, "RequiredHttpHeaders": {}, "TranscodingUrl": "/videos/375daeb5-dfdc-ab79-22ed-68cd6393ceec/stream.mkv?DeviceId=Unknown%20Device%20id&MediaSourceId=375daeb5dfdcab7922ed68cd6393ceec&VideoCodec=h264&AudioCodec=opus,aac,mp3,ac3,flac,vorbis&AudioStreamIndex=0&VideoBitrate=999808000&AudioBitrate=192000&MaxFramerate=23.976025&PlaySessionId=c4cc7114c65041ce8242fbeaa52a9f54&api_key={jellyfin-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=209593173fbd79ab02fe15761eaa41be&h264-level=50&h264-videobitdepth=10&h264-profile=high10&TranscodeReasons=0", "TranscodingSubProtocol": "", "TranscodingContainer": "m3u8", "DefaultAudioStreamIndex": 0 } ], "PlaySessionId": "c4cc7114c65041ce8242fbeaa52a9f54" } </code></pre> </details> ### Full Server logs: [log_20220331.log](https://github.com/jellyfin/jellyfin/files/8389737/log_20220331.log) ### Full client logs: [kodi.log](https://github.com/jellyfin/jellyfin/files/8389733/kodi.log) ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
backuprepo 2025-12-21 22:37:14 +01:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@EdiTurn commented on GitHub (Apr 19, 2022):

Seems working in 10.8.0-beta2.

@EdiTurn commented on GitHub (Apr 19, 2022): Seems working in 10.8.0-beta2.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#3704
No description provided.