I'm adding a video items using this :
Also, my play module has this code:
GbcYoukuResolver module does a
So whats happening is that the video is attempted to play twice. The default resolver fails and my custom url resolver works.
How can i add a video item as non playable ?
Code:
addon.add_video_item({'host': mediaHost, 'media_id': media_id},{'title': mediaHost + ' (' +media_id+')'})
Code:
if play:
url = addon.queries.get('url', '')
host = addon.queries.get('host', '')
media_id = addon.queries.get('media_id', '')
if host == 'youku':
addon.show_small_popup(host,"please wait...", 2000, logo)
GbcYoukuResolver(media_id)
Code:
xbmc.Player().play(stackurl)
How can i add a video item as non playable ?