WIP Stereoscopic 3D support for half/full SBS, over/under, etc
When it is this code, 3D mode is activated.

Code:
import sys, os, string
import xbmc, xbmcgui, xbmcplugin, xbmcaddon

__script_path__ = os.path.abspath( os.path.dirname(__file__) )
__strm_file__   = __script_path__ + '/stream.3D.SBS.strm'
__youtube_url__ = 'plugin://plugin.video.youtube/?action=play_video&videoid='
__videoid__     = "u0hmMt5znX0"

xbmc.Player().play(__youtube_url__ + __videoid__)
url = xbmc.Player().getPlayingFile()
while True:
    tit  = xbmc.getInfoLabel("Player.Title")
    thum = xbmc.getInfoLabel("Player.Art(thumb)")
    print tit
    print thum
    if xbmc.Player().isPlayingVideo() and tit:
        xbmc.Player().stop()
        break
    xbmc.sleep(1)

f = open(__strm_file__, 'w')
f.write(url)
f.close()

li = xbmcgui.ListItem(tit,"",thum,thum,__strm_file__)
xbmc.Player().play(__strm_file__)

But there is something that 3D mode does not start it's videoid another.
this Videid is no good. why?
__videoid__ = "zyPLTtj-cxg"
Reply


Messages In This Thread
Intel® InTru™ 3D support - by acidizer - 2014-01-26, 12:47
RE: Stereoscopic 3D support for half/full SBS, over/under, etc - by xbmc_now - 2014-07-10, 09:48
, - by User 102910 - 2014-08-08, 11:11
Logout Mark Read Team Forum Stats Members Help
Stereoscopic 3D support for half/full SBS, over/under, etc11