2014-07-09, 00:27
da-anda.
I was helpful to you.
Later, I will publish the finished program.
I was helpful to you.
Later, I will publish the finished program.
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__)
import xbmc, xbmcgui, xbmcplugin, xbmcaddon
__youtube_url__ = 'plugin://plugin.video.youtube/?action=play_video&videoid='
__videoid__ = "u0hmMt5znX0"
xbmc.Player().play(__youtube_url__ + __videoid__)
url = xbmc.Player().getPlayingFile() + '&_3D_SBS_'
while True:
tit = xbmc.getInfoLabel("Player.Title")
thum = xbmc.getInfoLabel("Player.Art(thumb)")
if xbmc.Player().isPlayingVideo() and tit:
xbmc.Player().stop()
break
xbmc.sleep(1)
li = xbmcgui.ListItem(tit,"",thum,thum,url)
xbmc.Player().play(url,li)
(2014-07-08, 10:09)da-anda Wrote: [quote='arokh' pid='1745153' dateline='1404220458']
read again. Decoding is the missing piece, and this might still take a while until it has been implemented in to libav and been backported to ffmpeg. And only once it's in ffmpeg XBMC can make use of it.
(2014-07-14, 10:51)nickr Wrote: My son is an undergrad compsci major and I have been trying to get him interested in MVC before he starts his honours year next year. No luck so far, more interested in encryption, so maybe I'll point him at libaacs.