ptzink 4 Posted January 11, 2019 Share Posted January 11, 2019 Hello. For some reason I can no longer play DVD rips (using VIDEO_TS structure) in Kodi. All other videos such as MKVs, MP4s, etc play fine. I thought initially it may be a Kodi for Android TV issue, but it happens on a Windows client as well. Also, it started happening initially with Stable Versions of Kodi, Emby for Kodi Plugin, and Emby server. I have since tried using the Kodi Leia RC and Emby for Kodi Plugin Beta as well as combinations of stable and beta versions of both and have seen the same results. Here is an excerpt from the log: 13:45:05.703 T:4220 NOTICE: EMBY.objects.actions -> [ play/fa2b5430fc53e813eb25336b1968d66e ] An American Tail: Fievel Goes West13:45:05.713 T:4220 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetToken ]13:45:05.815 T:4220 NOTICE: EMBY.downloader -> --[ void/b95120fe-31b5-4f9e-9100-b0a080141519 ]13:45:05.841 T:4220 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetPlaybackInfo ]13:45:05.943 T:4220 NOTICE: EMBY.downloader -> --[ void/59607d3e-cbfc-4dec-aa0f-e6594f112e72 ]13:45:06.047 T:4220 NOTICE: Previous line repeats 1 times.13:45:06.047 T:4220 NOTICE: EMBY.helper.playutils -> {u'PlaySessionId': u'64192eccde764006b5af377ecbf64197', u'MediaSources': [{u'SupportsDirectStream': False, u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 2, u'SupportsDirectPlay': True, u'TranscodingUrl': u'/videos/fa2b5430fc53e813eb25336b1968d66e/stream.m3u8?DeviceId=9D7C4237A52D44CF8BFEEEA1C3C3762A&MediaSourceId=fa2b5430fc53e813eb25336b1968d66e&VideoCodec=h264,h265,hevc,mpeg4,mpeg2video&AudioCodec=aac,mp3,ac3,opus,flac,vorbis&AudioStreamIndex=2&VideoBitrate=99552000&AudioBitrate=448000&PlaySessionId=64192eccde764006b5af377ecbf64197&api_key={emby-token}&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=eb9cb5c4c713cf960608306b44e0c0c7&TranscodeReasons=ContainerBitrateExceedsLimit', u'MediaStreams': [{u'IsInterlaced': False, u'Index': 1, u'AverageFrameRate': 29.75, u'Width': 720, u'VideoRange': u'SDR', u'Codec': u'mpeg2video', u'IsForced': False, u'AspectRatio': u'4:3', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'Main', u'DisplayTitle': u'480P MPEG2VIDEO', u'SupportsExternalStream': False, u'RealFrameRate': 59.94006, u'Level': 8, u'RefFrames': 1, u'BitRate': 7620438, u'IsDefault': False, u'IsAnamorphic': False, u'Height': 480, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'IsInterlaced': False, u'DisplayTitle': u'Dolby Digital 5.1', u'ChannelLayout': u'5.1', u'SupportsExternalStream': False, u'Index': 2, u'BitRate': 448000, u'Level': 0, u'Channels': 6, u'Codec': u'ac3', u'IsForced': False, u'SampleRate': 48000, u'Type': u'Audio', u'IsTextSubtitleStream': False, u'IsDefault': False, u'IsExternal': False}, {u'IsInterlaced': False, u'DisplayTitle': u'Und', u'IsExternalUrl': False, u'SupportsExternalStream': False, u'DeliveryUrl': u'/Videos/fa2b5430fc53e813eb25336b1968d66e/fa2b5430fc53e813eb25336b1968d66e/Subtitles/3/0/Stream.dvdsub?api_key={emby-token}', u'IsForced': False, u'DeliveryMethod': u'External', u'Codec': u'dvdsub', u'Index': 3, u'Level': 0, u'Type': u'Subtitle', u'IsTextSubtitleStream': False, u'IsDefault': False, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'\\\\192.168.1.11\\Movies\\An American Tail - Fievel Goes West (1991)', u'RequiresOpening': False, u'Bitrate': 8068438, u'IsRemote': False, u'Name': u'An American Tail - Fievel Goes West (1991)/DVD', u'TranscodingContainer': u'm3u8', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'SupportsProbing': True, u'VideoType': u'Dvd', u'ETag': u'eb9cb5c4c713cf960608306b44e0c0c7', u'RunTimeTicks': 45011330000L, u'GenPtsInput': False, u'Id': u'fa2b5430fc53e813eb25336b1968d66e'}]}13:45:06.047 T:4220 NOTICE: EMBY.helper.playutils -> Skip source selection.13:45:06.051 T:4220 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.KeyError'> Error Contents: 'Container' Traceback (most recent call last): File "C:\Users\REDACTED\AppData\Roaming\Kodi\addons\plugin.video.emby.movies\default.py", line 29, in <module> Events() File "C:\Users\REDACTED\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\entrypoint\default.py", line 72, in __init__ Actions(server).play(item, params.get('dbid'), playlist=params.get('playlist') == 'true') File "C:\Users\REDACTED\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.emby\emby\objects\actions.py", line 58, in play source = play.select_source(play.get_sources()) File "C:\Users\REDACTED\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\helper\playutils.py", line 126, in select_source self.get(source, audio, subtitle) File "C:\Users\REDACTED\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\helper\playutils.py", line 193, in get if source.get('Protocol') == 'Http' or source['SupportsDirectPlay'] and (self.is_strm(source) or not settings('playFromStream.bool') and self.is_file_exists(source)): File "C:\Users\REDACTED\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\helper\playutils.py", line 171, in is_strm if source['Container'] == 'strm' or self.item['Path'].endswith('.strm'): KeyError: 'Container' -->End of Python script error report<--13:45:06.091 T:1012 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby.movies/?dbid=7&mode=play&id=fa2b5430fc53e813eb25336b1968d66e&filename=An+American+Tail+-+Fievel+Goes+West+%281991%29] Link to comment Share on other sites More sharing options...
gnollo 16 Posted January 15, 2019 Share Posted January 15, 2019 (edited) Thanks for reporting, Test this build and report back.I also have the same issue and am happy to test on Leia. How do i install it?PS I'm using EmbyCon Sent from my SM-A520F using Tapatalk Edited January 15, 2019 by gnollo Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted January 15, 2019 Share Posted January 15, 2019 Since it was such a small fix, I made it part of beta, if it's still happening, can you provide a new log? Note that dvd will not work unless you are using server 4.0 (3.6+) Link to comment Share on other sites More sharing options...
gnollo 16 Posted January 15, 2019 Share Posted January 15, 2019 (edited) Since it was such a small fix, I made it part of beta, if it's still happening, can you provide a new log? Note that dvd will not work unless you are using server 4.0 (3.6+)I'm on 3.5.3, runs in an unraid docker. How do I update it to version 4? Sent from my SM-A520F using Tapatalk Edited January 15, 2019 by gnollo Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted January 17, 2019 Share Posted January 17, 2019 @@gnollo Did you update? If so, what is the status? Link to comment Share on other sites More sharing options...
Solution ptzink 4 Posted January 22, 2019 Author Solution Share Posted January 22, 2019 Sorry for the delay on the response back. I was having other unrelated issues with my server. It turns out that I had to disable/re-enable Client For Microsoft Networks to fix my shares. Not sure how this impacted the issue as MKV files played just fine with the borked up shares. Now my shares are fixed, I am on server 4.0.0.2, Kodi 17 (Krypton), and the latest beta plugin for Kodi (don't have the version number in front of me) and all is working again. Thanks for your work on this! Now on to my music library problems. 1 Link to comment Share on other sites More sharing options...
Recommended Posts