new program endpoint
I wanted to write some python for once
I’ve deleted the entire program/playout endpoint in the first commit, so that it’s easier to see what I’ve actually implemented (see the second commit for that).
Feel free to use/re-use/edit/mangle/move-around this code at your convenience.
I haven’t put much thought into edge cases (I don’t even know if there are any). I do think that the generate_program_entries
function is quite elegant. Also… generating only the necessary data in it and moving the data serialization complexity in the serializers is probably a good idea to keep maintenance low.
Have fun with it! I had some :)
Edited by Konrad Mohrfeldt