Number of Players (control command?)

You have a question or need an advice about how to do something? Ask it here!
Post Reply
Inzane8305
Posts: 53
Joined: 06 Jun 2018 08:06
Number of Players (control command?)

Post by Inzane8305 »

Hi forum.

The setup: Live broadcast weekends, rest of the week re-stream other radio.
When restreaming only 2 players should be used (Sometimes PF plays 2 players at the same time if 3 players)

When sending live I would like 3 players.

But I cannot find a control command that changes from 2 to 3 players before opening playlist for live broadcast.
And back again from 3 to 2 players before playlist for restreaming opens.

Is there a way to do this?

Kind regards Kjeld
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Number of Players (control command?)

Post by radio42 »

There is no such control-command available, nor is there a plan to introduce it.
The issue, that 2 players should play in parallel is unknown to me. What exact version are you using and what are the steps to reproduce? As it seems, that this issue should be resolved in your case, instead of introducing a work-around command.
Inzane8305
Posts: 53
Joined: 06 Jun 2018 08:06
Re: Number of Players (control command?)

Post by Inzane8305 »

Hi Bernd.
We are using the latest version (No updates available).
I think the problem is the way we do it: From sunday at 4 pm until saturday 11 am we "restream" another radio.
Script: 2 lines "load url" (7 hours, 45 min each), 1 line "jingle".
Program scheduler "Same program/script 0:01 - 23:59" every day.
If 3 players: the 2 lines of load url SOMETIMES play at the same time.
If 2 players: above never happens.
(This is the URL we load: http://stream.wlmm.dk/oestfmmp3)

Then saturday at 11 am until saturday at 9 pm we broadcast live (Program scheduler: 1 hour slots with different scripts)
Sunday 11 am until 4 pm same 1 hour slots with scripts.
But when broadcasting live we have a few "short jingles". With only 2 players: Playing "A-B-A-B" (music, jingle, music, music)
If music has a longer fade/outro a short gap will occur, (the next file cannot load before music is over)
(YES they are very short, like 3 seconds)
This is why I would like 3 players.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Number of Players (control command?)

Post by radio42 »

I guess your problem is, that your playlist loops.
Your initial issue is, that your playlist (with 2 script-lines) loops, in case it is too short (each player, plus Look-Ahead asks for the ‘next’ entry from the script). And this behavior is by design.
BUT there is a very simple solution to it (which is also by design).
You simple add more script-lines (at least one) to your script and set the Loop-Line option in the script to 3.
This means, that the script, if it has to loop, will only loop starting with script-line 3.
I.e. it will skip the first two script-lines.

Post Reply