2014-09-09, 09:17
Hello all,
I'd like some advice on something i would like to do with xbmc using python.
This is what i want to do:
I have a playlist that plays all the songs in it, on repeat. Now i have a scheduled event that will play a different song at 13:00.
Now i want to essentially pause playback of the playlist, play the scheduled song, and resume play of the playlist after the scheduled song ends.
I thought of accomplishing this by trying to store the track number and play time of current track in the playlist, into some variable, play the schedule, and after schedule ends, resume play.
After researching, i found a way to start playback from a certain track, but did not find a way to start play from a given time in a track.
Any ideas on how to achieve this? thanks
I'd like some advice on something i would like to do with xbmc using python.
This is what i want to do:
I have a playlist that plays all the songs in it, on repeat. Now i have a scheduled event that will play a different song at 13:00.
Now i want to essentially pause playback of the playlist, play the scheduled song, and resume play of the playlist after the scheduled song ends.
I thought of accomplishing this by trying to store the track number and play time of current track in the playlist, into some variable, play the schedule, and after schedule ends, resume play.
After researching, i found a way to start playback from a certain track, but did not find a way to start play from a given time in a track.
Any ideas on how to achieve this? thanks