Priority queue for record post process (1 Viewer)

deebo

Portal Pro
April 19, 2006
233
3
I thought about starting a project of writing a plugin that would compress all recordings to x264 .mkv with commandline tools, but id like to stick to mainly the compression.

So the suggestion is:

implement a queue interface for plugins that want to touch a recording after its done so the different plugins dont conflict

like everyone most likely wants comskip+comclean to run first so the compressed file doesnt have commercials

then the file should be compressed

and after that added to the recordings db or video db or something similiar (my tv series)

so there should be either a simple queue class that tells the plugins when its their turn and if the filename had changed and so forth

or a tvserver event handler class that supports different stages of post processing and invokes plugins when needed based on priority: comskip+clean :0, repack: 5, add to db: 10 and so forth

any thoughts?

this is mainly just to avoid plugins conflicting that access the file during/after recording
 

Users who are viewing this thread

Top Bottom