loomes 40 Posted December 28, 2017 Share Posted December 28, 2017 (edited) When i export the tvtunes.nfo files with Emby Kodi Addon and i select "Direkt Play" he writes the smb path in the nfo: <tvtunes><file>smb://path/to/seriesdir/theme.mp3</file></tvtunes> This works and the theme.mp3 will be played. When i select "direct Stream" (on my Tablet for use outside the local Lan) he writes in the nfo: <tvtunes><file>https://embyurl:1234/emby/Audio/9143c658e95bc23a733043b005888895/stream.mp3?&api_key=3245123456789</file></tvtunes> This give an parse error (i think "&" must be "&"). But when i load that url in a Browser it does not work to: Value cannot be null. Parameter name: key I played a bit with it and this one will work without the api_key: <tvtunes><file>https://embyurl:1234/emby/Audio/9143c658e95bc23a733043b005888895/stream.mp3</file></tvtunes> Can this be fixed in a future Version of Emby? Edited December 28, 2017 by loomes Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted December 28, 2017 Share Posted December 28, 2017 Thanks for bringing this to my attention. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
loomes 40 Posted January 8, 2018 Author Share Posted January 8, 2018 With the actual Version 3.0.0a the export with direct Streaming is now complete broken: 18:42:42.112 T:138899604560 NOTICE: EMBY.default -> ERROR:: __init__() takes exactly 3 arguments (2 given) Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/default.py", line 179, in <module> Main() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/default.py", line 65, in __init__ elif not self._modes(mode, params): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/default.py", line 142, in _modes action() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/entrypoint.py", line 679, in getThemeMedia playurl = playutils.PlayUtils(theme).directStream() TypeError: __init__() takes exactly 3 arguments (2 given) 18:42:42.115 T:138899604560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.TypeError'> Error Contents: __init__() takes exactly 3 arguments (2 given) Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/default.py", line 179, in <module> Main() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/default.py", line 65, in __init__ elif not self._modes(mode, params): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/default.py", line 142, in _modes action() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/entrypoint.py", line 679, in getThemeMedia playurl = playutils.PlayUtils(theme).directStream() TypeError: __init__() takes exactly 3 arguments (2 given) -->End of Python script error report<-- 18:42:42.346 T:138899604560 WARNING: CPythonInvoker(22, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/default.py): the python script "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE 18:42:42.355 T:138574607440 ERROR: GetDirectory - Error getting plugin://plugin.video.emby/?mode=thememedia 18:42:42.357 T:138574607440 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.emby/?mode=thememedia) failed Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted January 8, 2018 Share Posted January 8, 2018 I know, I haven't had a chance to fix it yet, otherwise I would have announced it. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted January 10, 2018 Share Posted January 10, 2018 Give 3.0.1 a try, it should resolve direct stream, thank you for your patience 1 Link to comment Share on other sites More sharing options...
loomes 40 Posted January 10, 2018 Author Share Posted January 10, 2018 Yes, working fantastic. Thank you for fixing this 1 Link to comment Share on other sites More sharing options...
Recommended Posts