Thread Rating:
  • 0 Vote(s) - 0 Average
Agent x modified
#1
i am making a personal script that is based fully on agentx. basically instead of downloading zip files it downloads .wmv video files and stores them in a location as temp.wmv. i was wondering what a piece of code would be to play the temp file after it was downloaded. i was looking thru previously made video streaming .py files but got confused. i am new to python and was just wanting something that would fit my needs. maybe after i learn more i could use my knowledge to better the xboxmediacenter scene. any help is greatly appreciated. i am a noob. thx.
Reply
#2
you write a script but you don't know how to play a file ? Smile
streamfile='http:// or mms:// host/filename.wmv'
localfile='q:\\scripts\\localdir\\localfil.wmv'
player=xbmc.player()
player.play(streamfile or localfile)
Reply
#3
Quote:you write a script but you don't know how to play a file ?

like i said im a noob. thx tho. that was exactly what i wanted.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Agent x modified00