Skip to content

Error when browsing for stream #5

Description

@kekukui

In some addons, pluginplayer fails to add a working stream:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of rangeTraceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.pvr.plugin.player/main.py", line 835, in <module> 
plugin.run()File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 345, in
 run items = self._dispatch(self.request.path)File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py",
 line 319, in _dispatch listitems = view_func(**items)
   File "/storage/.kodi/addons/plugin.video.pvr.plugin.player/main.py", line 679, in choose_stream
 link = links[selected]
 IndexError: list index out of range
 -->End of Python script error report<--

Note: It is possible to extend Kodi's context menu, so when the user invokes the context menu on a channel within some addon, where it now says 'add to favorites' it could also say 'add to PVR plugin player'. Then it would not be necessary to run the setup wizard for each channel: you could add multiple channels to PVR plugin player without exiting the addon. Just an idea.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions