On Wed, Nov 5, 2008 at 11:28 AM, Soren Holstebroe <span dir="ltr">&lt;<a href="mailto:holstebroe%2Bmythtv@gmail.com">holstebroe+mythtv@gmail.com</a>&gt;</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&#39;t find
suitable documentation for the recorded* tables. I tried to set the
&quot;deletepending&quot; flag to 1, but it didn&#39;t seem to have the desired
effect. What I will do now is to set &quot;recorded.recpriority&quot; very low
(like -50 or maybe a more dynamic &quot;SELECT MIN(recpriority) FROM
recorded&quot;), but isn&#39;t there a better practice of marking recordings for
expiration?</blockquote><div><br>There is, using the frontend or Mythweb.&nbsp; You really should look at the code of either of those two applications to determine the &quot;proper&quot; 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 &quot;OLDHOSTNAME&quot;. Is this really the setting used for the
recording folder?</blockquote><div><br>Recordings are in storage groups and IIRC, the folder isn&#39;t stored anywhere.&nbsp; 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>
&nbsp;</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.&nbsp; Check the code for the plugin to see which setting it pulls.<br><br>Kevin</div></div><br>