Agent x modified

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
zerowizard Offline
Junior Member
Posts: 7
Joined: Mar 2005
Reputation: 0
Post: #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.
find quote
solexalex Offline
Skilled Python Coder
Posts: 707
Joined: Jul 2004
Reputation: 6
Post: #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)
find quote
zerowizard Offline
Junior Member
Posts: 7
Joined: Mar 2005
Reputation: 0
Post: #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.
find quote