Posts: 26,215
Joined: Oct 2003
Reputation:
187
An alternative method would be to allow Player.play() to take a listitem object (like I'm 99% sure it does internally).
Cheers,
Jonathan
Posts: 347
Joined: Jul 2007
Reputation:
4
Not sure if I expressed that correctly... When I browse a folder or a plugin folder, XBMC knows about the infolabels. In a plugin, if I set artist and title, it displays this information while browsing. So it would be nice if this information could be passed to the player. I thought this would happen as the player knows about video library information - covers, etc. for example. So I thought this info would be passed to the player on playback start... This is just cosmetic, however I wondered how the information would flow...
And I wonder why this works for Apple Movie trailers. The player displays all the information set in the infolabels. Things are different here for music playback.
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
2007-09-21, 00:02
(This post was last modified: 2007-09-21, 00:12 by Nuka1195.)
hmm, i don't know, but I'm adding listitem support to the player as we speak.
Edit: when you say AMT works, are you downloading the videos first? It would be the real name then as I save the file with the title of the trailer.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
There'll be a difference depending on whether XBMC plays the file directly (i.e. from the listing you give it) or whether the plugin is called to play the file.
If XBMC plays the file directly then the info should already be in the listitem, and thus available to the player.
I'll grab the myspace plugin and have a play.
Cheers,
Jonathan
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
JMarshall fixed your issue in svn