Jump to content

Scheduled Recordings


kmaisch

Recommended Posts

Hi,

 

I am wondering if someone can tell me how the scheduled recordings are configured in VRS? (it is difficult for me to install the demo at the moment - so I am not able to see for myself).

 

Is there an editable config or something where the schedules can be edited? (XML file or something?). Why I ask is that we have an existing program schedule in a MySQL database (which is used to display a radio program schedule on a website). If possible I would like to make a PHP script that pulls the schedule times from MySQL and saves it into a recording schedule that VRS can use...

 

Cheers,

Kim

Link to comment
Share on other sites

The scheduling is done within the program and the entries are stored in registry.

 

example:

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SOFTWARE\NCH Swift Sound\VRS\datetime7]

"count"="2"

"commence1"="17/09/07-00:00:00"

"expire1"="17/09/17-00:00:00"

"todstart1"="11:45:00"

"todend1"="11:50:00"

"weekdays1"="127"

Link to comment
Share on other sites

Thanks Morten.

 

I wonder how easy it would be to have a PHP script generate a .reg file (inserting all the relevant values based on the MySQL data)... and then this .reg file is manually run on the PC. I guess it might not over-write the old schedule, but instead create duplicate schedules or something - could be asking for trouble.

 

Just trying to work out a way to create VRS schedules based on the schedule data we already have in MySQL... I'm thinking it probably won't be easy.

 

Kim

 

The scheduling is done within the program and the entries are stored in registry.

 

example:

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SOFTWARE\NCH Swift Sound\VRS\datetime7]

"count"="2"

"commence1"="17/09/07-00:00:00"

"expire1"="17/09/17-00:00:00"

"todstart1"="11:45:00"

"todend1"="11:50:00"

"weekdays1"="127"

Link to comment
Share on other sites

It is possible. I do not know how often and when VRS does it but the program do re-read the registry from time to time. I have frome time to time changed my schedules directly in the registry and VRS have picked up these changes without me having to restart the program.

 

In order to write a php script to generate a registry file you must only follow the "rules". Here's the recording schedule for one of my channels. It will give you a clue to how the scheduler entries is built up.

 

One thing to remember: If you reduce the number of scheduling entries you must also delete them from the registry, not only write a reg file with the new entries.

 

Example of registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\NCH Swift Sound\VRS\datetime2]

"count"="4"

"commence0"="24/09/07-00:00:00"

"expire0"="24/09/20-00:00:00"

"todstart0"="07:00:00"

"todend0"="07:03:00"

"weekdays0"="62"

"commence1"="24/09/07-00:00:00"

"expire1"="24/09/20-00:00:00"

"todstart1"="10:00:00"

"todend1"="10:03:00"

"weekdays1"="62"

"commence2"="24/09/07-00:00:00"

"expire2"="24/09/20-00:00:00"

"todstart2"="13:00:00"

"todend2"="13:05:00"

"weekdays2"="62"

"commence3"="24/09/07-00:00:00"

"expire3"="24/09/20-00:00:00"

"todstart3"="17:00:00"

"todend3"="17:10:00"

"weekdays3"="62"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...