micro fix
This commit is contained in:
@@ -1013,7 +1013,6 @@ def get_video_seleccionado(item, seleccion, video_urls):
|
|||||||
def set_player(item, xlistitem, mediaurl, view, strm):
|
def set_player(item, xlistitem, mediaurl, view, strm):
|
||||||
logger.debug()
|
logger.debug()
|
||||||
item.options = {'strm':False, 'continue':False}
|
item.options = {'strm':False, 'continue':False}
|
||||||
prevent_busy(item)
|
|
||||||
# logger.debug("item:\n" + item.tostring('\n'))
|
# logger.debug("item:\n" + item.tostring('\n'))
|
||||||
|
|
||||||
# Moved del conector "torrent" here
|
# Moved del conector "torrent" here
|
||||||
@@ -1037,12 +1036,12 @@ def set_player(item, xlistitem, mediaurl, view, strm):
|
|||||||
logger.info("mediaurl=" + mediaurl)
|
logger.info("mediaurl=" + mediaurl)
|
||||||
|
|
||||||
if player_mode in [0,1]:
|
if player_mode in [0,1]:
|
||||||
# from core.support import dbg;dbg()
|
prevent_busy(item)
|
||||||
logger.info('Player Mode:' + ['Direct', 'Bookmark'][player_mode])
|
logger.info('Player Mode:' + ['Direct', 'Bookmark'][player_mode])
|
||||||
# Add the listitem to a playlist
|
# Add the listitem to a playlist
|
||||||
playlist = xbmc.PlayList(xbmc.PLAYLIST_VIDEO)
|
playlist = xbmc.PlayList(xbmc.PLAYLIST_VIDEO)
|
||||||
playlist.clear()
|
playlist.clear()
|
||||||
playlist.add(mediaurl, xlistitem, True)
|
playlist.add(mediaurl, xlistitem)
|
||||||
# Reproduce
|
# Reproduce
|
||||||
xbmc_player.play(playlist, xlistitem)
|
xbmc_player.play(playlist, xlistitem)
|
||||||
# viewed(item, played_time)
|
# viewed(item, played_time)
|
||||||
|
|||||||
Reference in New Issue
Block a user