Insert a clip in a script
-
- Posts: 136
- Joined: 25 Nov 2023 09:23
Insert a clip in a script
I want to program clips inside a script. For example, to play a ‘New Music’ title, like this:
I tried this:
- I created a ‘new-music’ playlist
- added the intro
- I added an Embedded Container like this:
- added the intro[/list]
And I call up this playlist in a script.
Problem: when broadcasting, PF plays always the same title.
Where did I go wrong?
Thank you for your help,
Claude.
- Intro
- Track
- Outro
I tried this:
- I created a ‘new-music’ playlist
- added the intro
- I added an Embedded Container like this:
- added the intro[/list]
And I call up this playlist in a script.
Problem: when broadcasting, PF plays always the same title.
Where did I go wrong?
Thank you for your help,
Claude.
Re: Insert a clip in a script
The way you currently create an embedded container (out of a media lib) - means a fixed container is resolved, which contains the resolved tracks. These are obviously static.
What you are looking for is a script which acts like an embedded container. To create such a dynamic container first create a script to implement the elements of the container.
E.g. some fixed elements like the Intro and Outro and in between a random element... e.g.:
1. LoadTrack, ...
2. Random, MediaLib, ...
3. LoadTrack, ...
Then within your real script you use the 'Container' mode as a script-line to reference the above script:
Another possibility, if you are looking for a way to dynamic place specific Intro's or Outro's before resp. after a specific track, there a feature available called 'Station Voice Files'. This feature is described here:
http://www.proppfrexx.radio42.com/forum ... p?f=9&t=38
Not sure which way resp. requirements you have. Station Voice Files don't even need any scripting. I.e. as soon as the respective track is placed into a playlist, the related Before resp. After files are being added automatically. If you don't want this feature anymore - just remove the special Before or After files for that track.
What you are looking for is a script which acts like an embedded container. To create such a dynamic container first create a script to implement the elements of the container.
E.g. some fixed elements like the Intro and Outro and in between a random element... e.g.:
1. LoadTrack, ...
2. Random, MediaLib, ...
3. LoadTrack, ...
Then within your real script you use the 'Container' mode as a script-line to reference the above script:
Another possibility, if you are looking for a way to dynamic place specific Intro's or Outro's before resp. after a specific track, there a feature available called 'Station Voice Files'. This feature is described here:
http://www.proppfrexx.radio42.com/forum ... p?f=9&t=38
Not sure which way resp. requirements you have. Station Voice Files don't even need any scripting. I.e. as soon as the respective track is placed into a playlist, the related Before resp. After files are being added automatically. If you don't want this feature anymore - just remove the special Before or After files for that track.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
-
- Posts: 136
- Joined: 25 Nov 2023 09:23
Re: Insert a clip in a script
Thank you again, sounds good. I was so far from the right way to do this.
-
- Posts: 136
- Joined: 25 Nov 2023 09:23
Re: Insert a clip in a script
Can the system continue to display song titles and artist names to listeners when it launches an embedded container?
Re: Insert a clip in a script
No.
A container has its own title. It is a continuous stream by itself, even it is generated out of individual items. A container can even contain containers by itself etc. As such, it can not preserve the individual track titles internally.
This is only possible with overlays. Or with the mentioned 'Station Voice File' function.
A container has its own title. It is a continuous stream by itself, even it is generated out of individual items. A container can even contain containers by itself etc. As such, it can not preserve the individual track titles internally.
This is only possible with overlays. Or with the mentioned 'Station Voice File' function.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
-
- Posts: 136
- Joined: 25 Nov 2023 09:23
Re: Insert a clip in a script
Thank you for these clarifications. I'm going to have a look to the ‘Station Voice File’ option.
-
- Posts: 136
- Joined: 25 Nov 2023 09:23
Re: Insert a clip in a script
Hello Bernd,
Finally, I opted for another solution: I created an Overlay using the script you suggested I create. The advantage of combining these two methods is that I get the same result, but the artists and titles are still displayed for the listeners.
Thank you again for your help.
Claude.
Finally, I opted for another solution: I created an Overlay using the script you suggested I create. The advantage of combining these two methods is that I get the same result, but the artists and titles are still displayed for the listeners.
Thank you again for your help.
Claude.