[mythtv] How to expire recordings

Soren Holstebroe holstebroe+mythtv at gmail.com
Wed Nov 5 17:28:37 UTC 2008


Hi,

I have written an export script for transcoding shows (with possibility for
automatic commercial removing) from the recording folder into the video
folder.
The idea is to be able to move movies or favorite shows away from the
recordings folder and into the video-folder. I prefer the video gallery and
human readable filenames for my movies.
After a successful transcoding I would like to put the original recordings
first in line for autoexpiration. However, I can't find suitable
documentation for the recorded* tables. I tried to set the "deletepending"
flag to 1, but it didn't seem to have the desired effect. What I will do now
is to set "recorded.recpriority" very low (like -50 or maybe a more dynamic
"SELECT MIN(recpriority) FROM recorded"), but isn't there a better practice
of marking recordings for expiration?

Some other questions:
Where can I get the folder name of recordings? I can only find it in
settings under RecordFilePrefix for hostname "OLDHOSTNAME". Is this really
the setting used for the recording folder?
And where can I found the folder name for video covers?

Best regards
Søren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081105/710e15ea/attachment.htm 


More information about the mythtv-dev mailing list