get Info about playing file
#1
Hy,
i am new to python, but i want to try my first addon. I need info about the playing file (Movie, episode or music) and send it per post to another website.

I tried sending with

PHP Code:
conn httplib.HTTPConnection(server)
jdata json.dumps(args)
conn.request('POST''/python/test.php'jdata)
conn.close() 

but how to get info about the actual playing file i could not found something or i am blind after search for hours Rolleyes
Reply
#2
You can retrieve information by:

yourplayer.getVideoInfoTag()

Reference: http://xbmc.sourceforge.net/python-docs/...tml#Player
Reply
#3
I tried xbmc.Player().getPlayingFile() and get the file and path of playing file. Next i tried xbmc.Player().getTime() and get an error, why? It is all in Player Class. Is it because it is no libraryfile? How can i check if the file playing comes from the library?

Thanks for help.
Reply

Logout Mark Read Team Forum Stats Members Help
get Info about playing file0