Open hummelstrand opened 11 years ago
I agree this would be useful. It would be good also if it gave each element in the queue a unique id which it would return through the initial AMCP command when a clip is added and then the command to get the entire queue. You could then run another command to either empty the queue or pass the ids of the items in the queue that you want to remove to remove specific ones only.
This would be great to if there was timecode in the server, either through SDI or freewheeling inside CCG. You could then fire clips at a certain time...
Yes, I agree too. I also agree that a unique ID for a loaded media return by the load/loadbg/play command would be great. In clients this would help to identify media and templates much better than just the name+layer+channel.
I would recommend to add such a uid to every loaded media, no matter if it is loaded to bg.
mcdikki: Excellent idea, I was just considering that myself when trying to add per item status.
When someone looks at this could they also see about altering cambell-prince's new layer producer so tha amcp commands work like described here http://casparcg.com/forum/viewtopic.php?f=3&t=1475#p9186 . It would be really useful to be able to queue this as well like the other producers. Thanks!
Keep is simple:
LOADBG 1-1 1-2 PLAY 1-1
+1 for hid as feedback to client, and as a part of the INFO block when querying for status.
The "auto" parameter of LOADBG only holds one clip. This buffer could instead be made into a queue where the server kept track of all the tracks that have been loaded, and auto-loads the next one in the queue as soon as the previous one is playing.
This could be handled by a client (as several community clients have shown) but it requires complicated transaction and constant INFO polling. If it is implemented on the server, it is cleaner...
There should also be an AMCP command to read the contents (file names and lengths) of the queue.