2013-03-19, 23:54
Hi all,
great skin! My absolut favourite. Nevertheless I encounter the following problem. Calling for example the plugin video_podcast works from the standard XBMC addon menu:
When adding this call to the main menu or "my menu" the call is changed to the following leaving out the content_type info:
Thus this results in the problem that the content type (needed by some plugins) is not correctly initialized. Error message:
Is there any possibility to hand over the content_type information from a call within the skin? Same problem also applies to Aeon MQ4.
great skin! My absolut favourite. Nevertheless I encounter the following problem. Calling for example the plugin video_podcast works from the standard XBMC addon menu:
Code:
DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Apple iTunes Podcasts('plugin://plugin.video.itunes_podcasts/','2','?content_type=audio')
When adding this call to the main menu or "my menu" the call is changed to the following leaving out the content_type info:
Code:
DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Apple iTunes Podcasts('plugin://plugin.video.itunes_podcasts/','3','')
Thus this results in the problem that the content type (needed by some plugins) is not correctly initialized. Error message:
Code:
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: 'content_type'
Traceback (most recent call last):
File "X:\_XBMC\portable_data\addons\plugin.video.itunes_podcasts\addon.py", line 303, in <module>
plugin.run()
File "X:\_XBMC\portable_data\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "X:\_XBMC\portable_data\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "X:\_XBMC\portable_data\addons\plugin.video.itunes_podcasts\addon.py", line 44, in show_root
content_type = plugin.request.args['content_type']
KeyError: 'content_type'
-->End of Python script error report<--