I have some problem writing my pygtk binding.
Here my is stackoverflow question: http://stackoverflow.com/questions/1513 ... next-track
The main problem is that in the callback MediaPlayerEndReached i want player to play a new track
That is why I do this:
Code: Select all
fname = vlc_controller.GetNextTrack()['url']
self.vlc.player.set_media(instance.media_new(fname,'--network-caching 60000'))
self.vlc.player.play()
I cannot use playlist because i don't know what track i must play. I can figure it out only after I've finished playing current track by colling external function vlc_controller.GetNextTrack()['url'].
Can anyone help me with this?