2016 Mar 26, 04:30 PM
Welcome!
Yes, setting per-zone durations has been on the TODO list for some time. It is definitely a good idea. If you would like to give it a try that would be great.
There has already been some work done on improving the program.json format. I just pushed a branch named prog_restruct to the SIP repo on GitHub. It is working but has not been extensively tested. It should give you an easier path for adding per-zone durations, (perhaps replacing the "duration_sec"value with a list).
The plugin system is intended to let anyone experiment with new ideas without affecting the core code.
Another contributor is adding code to allow various types of controller interfaces:
https://github.com/Pelado-Mat/SIP/tree/a...rolPlugins
I don't think your code changes would conflict with his but I just wanted you to be aware of his work.
Yes, setting per-zone durations has been on the TODO list for some time. It is definitely a good idea. If you would like to give it a try that would be great.
There has already been some work done on improving the program.json format. I just pushed a branch named prog_restruct to the SIP repo on GitHub. It is working but has not been extensively tested. It should give you an easier path for adding per-zone durations, (perhaps replacing the "duration_sec"value with a list).
The plugin system is intended to let anyone experiment with new ideas without affecting the core code.
Another contributor is adding code to allow various types of controller interfaces:
https://github.com/Pelado-Mat/SIP/tree/a...rolPlugins
I don't think your code changes would conflict with his but I just wanted you to be aware of his work.