Best ways of doing...

You have a question or need an advice about how to do something? Ask it here!
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Best ways of doing...

Post by radio42 »

The Overlay Scheduler as well as the Program Scheduler both use the same mechanism.
Meaning each entry can be either simple (non-recurring), occurring only once in the specified time interval specified, or recurring many times in the same interval.
Click on the 'Recurrence...' button to define a recurrence pattern.
This can be:
- hourly (every X hours)
- daily (every X days OR every weekday Mon.-Fri.)
- weekly (every X weeks on every or selected days Mon., Tue., Wed., Thu., Fri., Sat., Sun.)
- monthly (every X day of every Y month OR the xth day of every Y month)
- yearly (every Xth month day OR the Xth day of a certain month)

This allows maximum flexibility to defining recurrences.
In your case you might however be right, that you need to simply define 5 separate entries, each with a daily (every 1 day) recurrence.
One for each time of the day at which your element should be played.
Not sure, what might be better (easier) for you - as it sounds you could define them as an Overlay or regular Program - both would work I guess.

Also note, that you can define so called 'Exceptions' for each recurrence occurrence. So a recurring entry can either be a pattern or an occurrence. Occurring entries can either be a simple occurrence or an exception (e.g. a changed one or a deleted). This allows you define recurring patters to define your standard repeat interval - but still define exceptions of a particular occurrence - e.g. on XMas you might plan a special show.
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Best ways of doing...

Post by radio42 »

Now I got you!
Yes, dynamic file names containing macros are currently not supported.
But I guess something like that could be made available.
I'll look into that...
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Best ways of doing...

Post by radio42 »

Note (as stated above), that for things which are different within the week (i.e. not scheduled for every day) you might use the weekly recurrence pattern:
as here you can even select the individual days at which the recurrence should take place, e.g. only on certain days, like only on Mon., Tue., Thu., and Sat. ...
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Best ways of doing...

Post by radio42 »

As said, please let me know your exact requirements and I might tell you.

In your first post you said: "...you have some scripts that you want to run several times everyday at fixed times" and "Each script will play every day with no end day..." (e.g. 5 times per day).
In the next post you asked: "If you can use the adv manager..."
Now you say, that "...some files ... are different files that are not scheduled for every day..."

That is a bit confusing to me, since the requirements/questions seems to change with each post...
So what are your exact requirement:
- what individual files do you have?
- how long is each file, how many different files are we dealing with?
- are they somehow related?
- how often should these be played?
- at what exact times?
- what are the recurrence pattern for these files?

If there are different 'groups' of files you want to repeat differently, we should keep them as separate questions...
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Best ways of doing...

Post by radio42 »

I am not sure what you finally want to achieve.
But from what you say there wouldn't be any need for Campaigns and Slot assignments etc.
A campaign always uses the assigned audio files and they must always be imported manually.

In your case you might use a simple script and use the 'LoadTrack' mode and then specify the ${start_MM} and ${start_dd} macros within the 'entry' column
E.g use C:\My Music\Today-${start_MM}-${start_dd}.mp3 to let the file name resolve to scheduled script start time.
You might then use the script either in a regular program or overlay scheduler entry.

Is that what you are looking for...?
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Best ways of doing...

Post by hdradio »

Bernd
I think it's ok.
The only problem I see is that the files have to be at the campaign folder and not in any folder that already exist.
But if you think that you have to do it that way it's ok. It's better than nothing.
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Best ways of doing...

Post by radio42 »

It will be a 'current' limitation, as the rest would need a bit more time!
In a future release there might be external folder support be added.

The solution above is then added to v3.0.13.6.
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Best ways of doing...

Post by radio42 »

I took a look, and this is what I could add very quickly to the next release:

Each audio file must reside in the resp. campaign folder!
You could then initially import one audio file to a campaign, which contains one of the following macros in its filename:
${start_day} : resolves to the play out day in format 'yyyy-MM-dd'
${start_yyyy} : resolves to the play out year, 4-digits
${start_yy} : resolves to the play out year, 2-digits
${start_MM} : resolves to the play out month, 2-digits
${start_dow} : resolves to the play out day of the week (1=Mon, 7=Sun)
${start_week} : resolves to the play out week number (01..52), 2-digits
${start_dd} : resolves to the play out day, 2-digits
Note, that ONLY the day macros are supported and not any time macros!

E.g. in your example you would initially need to provide a file with a filename containing such macros.
For example the following file: "WorldDay-${start_MM}-${start_dd}.mp3"

At runtime this file will never effectively being used - instead, the macros will be replaced accordingly and ProppFrexx then looks for the resulting filename to be present in the campaign folder and if present use that one!
As an example the following files might be present in your campaign folder (but you ONLY actively use the file containing the macros for the campaign):
WorldDay-${start_MM}-${start_dd}.mp3
WorldDay-01-01.mp3
WorldDay-01-03.mp3
WorldDay-01-04.mp3
WorldDay-01-07.mp3
WorldDay-01-08.mp3
WorldDay-01-14.mp3
...

At runtime on e.g. the 8th of January the file "WorldDay-01-08.mp3" would then be used effectively.
Let me know, if this works out for you...and if yes, I might provide a new version by tomorrow.
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Best ways of doing...

Post by hdradio »

Can you explain how to import file : WorldDay-${start_MM}-${start_dd}.mp3
When I set this as a filename a "File not found message" is shown.
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Best ways of doing...

Post by radio42 »

You need to initially create a physical file (a real and existing one) and then place it into the campaign folder or import it.

E.g. copy an existing audio file "WorldDay-03-01.mp3" and rename it "WorldDay-${start_MM}-${start_dd}.mp3".
Then ONLY import (activate) this physical existing audio file "WorldDay-${start_MM}-${start_dd}.mp3" within the campaign.

As explained above, during runtime any used file containing such macros will then be resolved to its effective name.

Post Reply