I've made a player that receives a shoutcast stream and plays if fine on the computer.
What i want to do now is if the stream should stop and then restart, i would like the player to restart playing.
so what i need is some kind of timer that will check the status of the player like every 10 seconds and if it has stopped or paused, i would like it the try to start playing again.
What i want to do now is if the stream should stop and then restart, i would like the player to restart playing.
so what i need is some kind of timer that will check the status of the player like every 10 seconds and if it has stopped or paused, i would like it the try to start playing again.
Comment