horstepipe 356 Posted October 1, 2018 Share Posted October 1, 2018 Hey @@Luke @@Angelblue05 Already PMed you this message, but I‘m not sure whether you‘ll read it, so: Emby server v3.6.0.50/v3.6.0.49 completely broke playback of strm files within Kodi. I don't know whether this has to be fixed server side or client side (Emby for Kodi), but I guess this was introduced with the changes made for my request here: https://emby.media/community/index.php?/topic/63212-strm-files-mp3/ Playback still works fine in Emby Theater, so the problem is isolated to Kodi (at least in my testing) I PMed you Emby server and Emby for kodi logs, both fresh installs on a Windows installation. I added just one strm movie pointing to this public accessible video https://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4 Please find the time to take a look at it :-) Best regards Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 1, 2018 Share Posted October 1, 2018 Yes, I am aware. Thanks. I have to do some testing for Luke, I just was too busy this week. I will look into it asap. 1 Link to comment Share on other sites More sharing options...
tomimc 13 Posted October 1, 2018 Share Posted October 1, 2018 Hi i am using last beta emby server and last beta kodi plugin and i cant get strms files working I am using @@ddurdle plugin, but is not working ok with kodi. I can play strms from web player or emby theater. Even i havemulti resolutions in the path folder, and kodi is not asking me what resolution i want to play. I got this error log: 22:59:58.147 T:4560 NOTICE: Emby.emby.core.http -> --->[ http ] { "url": "https://{emby-server}/emby/Sessions/Capabilities/Full", "verify": true, "headers": { "Accept-Charset": "UTF-8,*", "Accept-encoding": "gzip", "X-MediaBrowser-Token": "{emby-token}", "Content-type": "application/json", "Authorization": "MediaBrowser Client=Kodi, Device=Kodi (TOMI-W10), DeviceId=54A88B644E5445B1880E52EFF3FE116F, Version=3.1.22a, UserId=0623761612e24b03aa072133445c21a6", "User-Agent": "Emby-Kodi/3.1.22a" }, "json": { "IconUrl": "https://raw.githubusercontent.com/MediaBrowser/plugin.video.emby/develop/kodi_icon.png", "SupportsMediaControl": true, "SupportedCommands": "MoveUp,MoveDown,MoveLeft,MoveRight,Select,Back,ToggleContextMenu,ToggleFullscreen,ToggleOsdMenu,GoHome,PageUp,NextLetter,GoToSearch,GoToSettings,PageDown,PreviousLetter,TakeScreenshot,VolumeUp,VolumeDown,ToggleMute,SendString,DisplayMessage,SetAudioStreamIndex,SetSubtitleStreamIndex,SetRepeatMode,Mute,Unmute,SetVolume,Play,Playstate,PlayNext,PlayMediaSource", "PlayableMediaTypes": "Audio,Video" }, "params": null, "timeout": 30, "type": "POST" } 22:59:58.491 T:4560 NOTICE: Emby.emby.core.http -> --->[ http ] { "url": "https://{emby-server}/emby/Sessions", "verify": true, "headers": { "Accept-Charset": "UTF-8,*", "Accept-encoding": "gzip", "X-MediaBrowser-Token": "{emby-token}", "Content-type": "application/json", "Authorization": "MediaBrowser Client=Kodi, Device=Kodi (TOMI-W10), DeviceId=54A88B644E5445B1880E52EFF3FE116F, Version=3.1.22a, UserId=0623761612e24b03aa072133445c21a6", "User-Agent": "Emby-Kodi/3.1.22a" }, "params": { "DeviceId": "54A88B644E5445B1880E52EFF3FE116F" }, "timeout": 30, "type": "GET" } 23:00:09.131 T:14800 NOTICE: Storing total System Uptime 23:00:09.131 T:14800 NOTICE: Saving settings 23:00:09.134 T:14800 NOTICE: Saving skin settings 23:00:09.136 T:14800 NOTICE: stop all 23:00:09.136 T:14800 NOTICE: stop player 23:00:09.136 T:14800 NOTICE: ES: Stopping event server 23:00:09.136 T:14800 NOTICE: stopping upnp 23:00:09.192 T:15616 NOTICE: EMBY.downloader -> Abandon mission! A black hole just swallowed [ GetServerAddress/96df1625-19f7-4481-b6e5-0f942d76ce1e ] 23:00:09.193 T:15616 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: ('Id',) Traceback (most recent call last): File "C:\Users\conno\AppData\Roaming\Kodi\addons\plugin.video.emby.movies\default.py", line 26, in <module> Events() File "C:\Users\conno\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\conno\AppData\Roaming\Kodi\cache\emby\objects\actions.py", line 53, in play LOG.info("[ play/%s ] %s", item['Id'], item['Name']) KeyError: ('Id',) -->End of Python script error report<-- 23:00:09.289 T:14800 NOTICE: CWebServer[88]: Stopped 23:00:09.506 T:11628 NOTICE: ES: UDP Event server stopped 23:00:09.580 T:4560 NOTICE: EMBY.entrypoint.service -> ---<[ EXITING ] 23:00:09.581 T:4560 NOTICE: Emby.emby.core.http -> --<[ session/381940816 ] 23:00:09.582 T:4560 NOTICE: Emby -> ---[ STOPPED ALL EMBYCLIENTS ]--- 23:00:09.582 T:4560 NOTICE: EMBY.entrypoint.service -> ---<<<[ EMBY ] 23:00:09.582 T:4560 NOTICE: EMBY.service -> ---<[ service ] 23:00:09.650 T:1712 NOTICE: Emby.emby.core.ws_client -> ERROR:: tuple index out of range 23:00:09.650 T:1712 NOTICE: Emby.emby.core.ws_client -> ---<[ websocket ] 23:00:09.831 T:14800 NOTICE: clean cached files! 23:00:09.834 T:4752 NOTICE: EMBY.library -> ---<[ library ] 23:00:09.834 T:9668 NOTICE: EMBY.monitor -> ---<[ listener ] 23:00:09.988 T:4560 WARNING: CPythonInvoker(1, C:\Users\conno\AppData\Roaming\Kodi\addons\plugin.video.emby\service.py): the python script "C:\Users\conno\AppData\Roaming\Kodi\addons\plugin.video.emby\service.py" has left several classes in memory that we couldn't clean up. The classes include: class PythonBindings::XBMCAddon_xbmc_Monitor_Director,class PythonBindings::XBMCAddon_xbmc_Player_Director,class PythonBindings::XBMCAddon_xbmc_Monitor_Director 23:00:09.994 T:14800 NOTICE: closing down remote control service 23:00:09.994 T:14800 NOTICE: stopped 23:00:10.195 T:14800 ERROR: PlayMedia could not play media: plugin://plugin.video.emby.movies/?dbid=1180&mode=play&id=75750&filename=inception%282010%29+-+420p.strm 23:00:10.195 T:14800 NOTICE: destroy 23:00:10.195 T:14800 NOTICE: unload skin 23:00:10.202 T:14800 WARNING: CGUITextureManager::Cleanup: Having to cleanup texture lists/focus.png 23:00:10.223 T:14800 NOTICE: unload sections 23:00:10.227 T:14800 NOTICE: special://profile/ is mapped to: special://masterprofile/ 23:00:10.229 T:14800 NOTICE: application stopped... Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 2, 2018 Share Posted October 2, 2018 Please provide your complete log. https://emby.media/community/index.php?/topic/17599-how-to-report-a-problem/ The error is unrelated as Kodi was shutting down while the add-on was setting up playback. Link to comment Share on other sites More sharing options...
horstepipe 356 Posted October 2, 2018 Author Share Posted October 2, 2018 @@Angelblue05 Did you already find the time to check what could be the issue? Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 2, 2018 Share Posted October 2, 2018 (edited) Thanks for your patience. I have looked into the issue. The way the server represents strm has changed. I no longer get the path contained inside the strm. Right now it fails because Leia can't process strm files sent via plugin... There's a chance this works on Krypton prior to all the plugin playback changes... I believe Luke is looking into a solution to get the path contained inside the strm. That's really what is missing and I can't fix it from my end. Edited October 2, 2018 by Angelblue05 1 Link to comment Share on other sites More sharing options...
horstepipe 356 Posted October 2, 2018 Author Share Posted October 2, 2018 Thanks for keeping me up to date. @@Luke I‘m here to test if you need one :-) Link to comment Share on other sites More sharing options...
horstepipe 356 Posted October 3, 2018 Author Share Posted October 3, 2018 Right now it fails because Leia can't process strm files sent via plugin... There's a chance this works on Krypton prior to all the plugin playback changes Not sure if I got you right, but it definitely worked on Krypton AND Leia. Some of my clients use Krypton. some use Leia and I was able to play back strm files until I updated the server to v3.0.49 from 3.0.44 I think. Link to comment Share on other sites More sharing options...
tomimc 13 Posted October 3, 2018 Share Posted October 3, 2018 Not sure if I got you right, but it definitely worked on Krypton AND Leia. Some of my clients use Krypton. some use Leia and I was able to play back strm files until I updated the server to v3.0.49 from 3.0.44 I think. True, i am still on krypton and i got the problem too. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 3, 2018 Share Posted October 3, 2018 Well according to logging, the addon is currently passing the path to the strm file (it used to pass the path contained in the strm file), but that information is missing with the newer server version. Leia complains "can't open stream" when it resolves with the strm file. Link to comment Share on other sites More sharing options...
ddurdle 75 Posted October 4, 2018 Share Posted October 4, 2018 Ah, so this is why a KODI on the Emby 3.6 was complaining nothing worked..... 1 Link to comment Share on other sites More sharing options...
horstepipe 356 Posted October 4, 2018 Author Share Posted October 4, 2018 @@Luke I know you're busy, but could you please provide a brief progress status / rough eta ? Link to comment Share on other sites More sharing options...
horstepipe 356 Posted October 6, 2018 Author Share Posted October 6, 2018 (edited) Thank you very much @@Luke and @@Angelblue05 strm playback is working again on v3.6.0.52 :-) Best regards Edited October 6, 2018 by horstepipe 1 Link to comment Share on other sites More sharing options...
Recommended Posts