[FEATURE REQUEST] - Expose programme genre on post record
Added by Anonymous almost 12 years ago
Hello,
First off, may I say that you guys are doing a fantastic job on TVHeadend, and please don't think that this request should take priority over anything else you are doing, but if it's a quick 'fix' please feel free to slot it in when you can.
I am in the process of creating a handler script for when a recording finishes to detect whether what has been recorded is a movie / sporting event or TV show that I call in the following way:
~/Videos/move_recordings.sh %f %b %d %ThisIsWhereIWantToPassGenre
Unfortunately, the genre (contenttype) does not appear to be one of the parameters you can pass out to an external script. Looking at the source code, it would seem that adding something to line 569 in:
/src/dvr/dvr_rec.c would be where it needs to go (de->de_content_type??).
If you could add something in that would allow me to do that, I would be very much in your debt.
Thanks again, and keep up the good work.
Replies (1)
RE: [FEATURE REQUEST] - Expose programme genre on post record - Added by Adam Sutton almost 12 years ago
When I can finally find some time I plan to do a massive overhaul of the DVR code which will include updating the postproc stuff to include more info.
But don't hold your breath as I've been struggling for time.
Adam