Connect To Server -> Autoplay?

You have a question or need an advice about how to do something? Ask it here!
Post Reply
User avatar
Adger
Posts: 122
Joined: 10 Apr 2012 20:09
Location: Germany
Connect To Server -> Autoplay?

Post by Adger »

Up until recently PFOA worked like this:

Set up an "Event" for a streaming server that would read something like:

OnServerStarted: PLS_CURRENT_AUTOPLAY_ON

When setting PFOA to try to connect to some server it would retry to connect until success and then start autoplay.

Currently (V. 3.0.11.33) it connects, but does not execute "autoplay on" when not immediately connecting successfully but instead several attempts to connect are needed.

This might be because I am missing some setting. Therefore my question is:

Which Flag / Command / Event do I have to set in which way to make PFOA toggle autoplay after several unsuccessful attempts of (re)connecting to a server?

//edit: clarified.
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Connect To Server -> Autoplay?

Post by radio42 »

There are two seperate events (since a couple of versions): "On Server Started" and "On Reconnected".

In case of a successful 'reconnect try' the "On Reconnected" event is raised.
As such the "On Server Started" event is basically raised, only if the initial connect was successful.
In your case you can savely assign the PLS_CURRENT_AUTOPLAY_ON command to both events.
User avatar
Adger
Posts: 122
Joined: 10 Apr 2012 20:09
Location: Germany
Re: Connect To Server -> Autoplay?

Post by Adger »

I might be blind but under Settings -> Events/Commands -> Streaming I can not find any "OnReconnect". So I have to set that for each and every individual server manually?! Is there no global event for this?
User avatar
Adger
Posts: 122
Joined: 10 Apr 2012 20:09
Location: Germany
Re: Connect To Server -> Autoplay?

Post by Adger »

And why is there no documentation for that?!
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Connect To Server -> Autoplay?

Post by radio42 »

I didn't know, that you where talking about the global system event 'Streaming.OnServerStaerted' and not about the individual streaming server event 'On Server Started'.
I guess the gloabl event indeed needs to be triggered in case of a successfull reconnect try. I guess I simply have overseen that when I added the 'On Reconnect' feature.
It'll be fixed soon!
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Connect To Server -> Autoplay?

Post by radio42 »

It should be fixed now in the new v3.0.11.34!

Post Reply