On Wed, Nov 5, 2008 at 11:28 AM, Soren Holstebroe <span dir="ltr"><<a href="mailto:holstebroe%2Bmythtv@gmail.com">holstebroe+mythtv@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I have written an export script for transcoding shows (with
possibility for automatic commercial removing) from the recording
folder into the video folder. <br>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.<br>
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?</blockquote><div><br>There is, using the frontend or Mythweb. You really should look at the code of either of those two applications to determine the "proper" method for marking a recording. <br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>Some other questions: <br>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?</blockquote><div><br>Recordings are in storage groups and IIRC, the folder isn't stored anywhere. Myth will search each storage group for the file when attempting playback which is why you can move it between storage groups without issue.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
And where can I found the folder name for video covers?</blockquote><div><br>In the mythvideo settings table I imagine. Check the code for the plugin to see which setting it pulls.<br><br>Kevin</div></div><br>