Automatically restarting streams

Questions comments and suggestions for MusicLobby 3.75
User avatar
simonmason
Expert
Expert
Posts: 855
Joined: Tue Dec 26, 2006 9:06 pm
Contact:

Automatically restarting streams

Postby simonmason » Thu Sep 08, 2011 5:03 pm

Recently I have noticed that my stream playback is interrupted and doesn't restart automatically. Ever since Irene (may or may not be related) the playback will periodically stop. When I check the now playing it will sometimes show "Acquiring stream" or nothing. Hitting the play button will immediately reconnect the stream. Is there any way to have it restart these streams automatically?
Simon D. S. Mason

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Automatically restarting streams

Postby CinemarDave » Thu Sep 08, 2011 7:41 pm

Not at this time. You'll have to manually restart them.

sonypoolplr
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1490
Joined: Fri Mar 26, 2004 8:48 am
Location: New Jersey
Contact:

Re: Automatically restarting streams

Postby sonypoolplr » Fri Sep 09, 2011 10:36 am

Just wondering if there is a variable that shows the now playing as "Acquiring stream". If so, maybe an automation rule to state if the variable is in this condition for say more than a minute to issue the play command again.

Just a thought, as I don't know if this variable even exists in the system.

User avatar
simonmason
Expert
Expert
Posts: 855
Joined: Tue Dec 26, 2006 9:06 pm
Contact:

Re: Automatically restarting streams

Postby simonmason » Fri Sep 09, 2011 5:23 pm

That is a good idea.
Simon D. S. Mason

User avatar
simonmason
Expert
Expert
Posts: 855
Joined: Tue Dec 26, 2006 9:06 pm
Contact:

Re: Automatically restarting streams

Postby simonmason » Sun Sep 11, 2011 8:45 pm

I was looking into this a little further. I notice that when the player stops playing the stream it shows "Acquiring stream..." in {{music_currentartistname_{{music_activemusicsourcenumber_{{clientname}}}}}}.

I created the following automation rule:

whenever music_currentartistname_2 changes value
and music_currentartistname_2 contains ...
then MLMusicLobby|2~TogglePlayPause

I have not had the stream stop yet so I don't know if this will work?
Simon D. S. Mason

User avatar
simonmason
Expert
Expert
Posts: 855
Joined: Tue Dec 26, 2006 9:06 pm
Contact:

Re: Automatically restarting streams

Postby simonmason » Tue Sep 13, 2011 8:21 am

This did not appear to do anything so I modified it as follows:

whenever music_currentartistname_2 changes value
and music_currentartistname_2 contains ...
then Macro|MLMusicLobby|2~TogglePlayPause!Setvariable|Streamdebug~Got it

I am hoping to see that it catches the "Acquiring Stream..." text and sets the variable?

Is my syntax correct for this? Thanks.
Simon D. S. Mason

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Automatically restarting streams

Postby CinemarDave » Tue Sep 13, 2011 10:32 am

Make sure the MusicLobby plugin is not setting variables in "fast" mode. If it is no automation rules will ever get fired.

User avatar
simonmason
Expert
Expert
Posts: 855
Joined: Tue Dec 26, 2006 9:06 pm
Contact:

Re: Automatically restarting streams

Postby simonmason » Tue Sep 13, 2011 11:09 am

It is - I just turned this back on. I did it to try and diagnose the issue with coverart not appearing for my radio streams. I will switch it back off. Other than that, is my syntax correct for the automation rule? Thanks.
Simon D. S. Mason

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Automatically restarting streams

Postby CinemarDave » Tue Sep 13, 2011 11:24 am

Your rule syntax appears to be correct.


Return to “MusicLobby 3.75”

Who is online

Users browsing this forum: No registered users and 1 guest