Delay sending of song title
I have a need to delay the sending of song title data until a stream has been physically connected for perhaps 10 seconds.
I am running two instances of PlayIt Live, only one is connected to the streaming server with the second as backup if the first fails, PC2 should connect almost straight away if PC1 fails.
It works, but there is an issue. The song title data from PC2 is somehow getting through to the streaming server and is displayed as the current song, incorrectly. No audio break-through, that would be a much bigger problem, but this happens every time PC2 changes track information.
A lot of the time it is the same data - like the name of the current show being played on air. But there are times where we will have different songs played as there are some clocks that play tracks rather than a show and it's here where the confusion lies.
My suggestion is to delay the sending of the playing song info until the stream has been connected for at least 10 seconds. If it is denied access then it should not send this data.