Jump to content

TVtunes exported nfos broken by DirektStream select


loomes
 Share

Recommended Posts

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 by loomes
Link to comment
Share on other sites

  • 2 weeks later...
loomes

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

Angelblue05

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

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...