Please allow to execute 'play' when xbmc expects a dir
#1
My problem (with my plugin).

User click on a video on a list.
This is defined as is:

Code:
xbmcplugin.addDirectoryItem(
            handle=jw_config.plugin_pid,
            url=url,
            listitem=listItem,
            isFolder=True
        )

Note: isFolder = True. This is because now I list available resolutions.
But if user has choosen in setting a default video res, I DO NOT do addItem... /endOfDirectory, but a simple Play !

Code:
xbmc.Player().play(item=url_to_play, listitem=listItem)

... so in Gotham xbmc tell me (a very useless message for the user !!!!)

"Remote Sharing

Unable to connect to server"

This don't happens in Frodo, so please,

- 1 . Tell me a workaround
or
- 2 . restore previous behaviour !
Reply

Logout Mark Read Team Forum Stats Members Help
Please allow to execute 'play' when xbmc expects a dir0