<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!-- body{padding:1ex;margin:0;font-family:sans-serif;font-size:small}a[href]{color:-moz-hyperlinktext!important;text-decoration:-moz-anchor-decoration}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em}blockquote blockquote{border-color:#006312}blockquote blockquote blockquote{border-color:#540000} --></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div>
        On Wednesday, November 02, 2011 9:06 AM, &quot;Roger H&quot; &lt;mythtvuser1818@gmail.com&gt; wrote:</div>
<div class="defangedMessage">
        <div id="me71142">
                <blockquote class="me71142QuoteMessage" type="cite">
                        <div class="me71142gmail_quote">
                                On Wed, Nov 2, 2011 at 8:12 AM, Kris B. <span dir="ltr">&lt;<a href="mailto:krisbee@krisbee.com">krisbee@krisbee.com</a>&gt;</span> wrote:<br />
                                <blockquote class="me71142gmail_quote" style="border-left: #ccc 1px solid; margin: 0px 0px 0px 0.8ex; padding-left: 1ex">
                                        That&#39;s it.. it isn&#39;t a universal script, it was a Kris script :) &nbsp;I just<br />
                                        posted it so someone could bend it to their setup (not too hard)...</blockquote>
                        </div>
                        <br />
                        Sorry for the newbie question, but what do you mean by a universal script?<br />
                        <br />
                        Also, you say your script modifies the database to point to the new file.&nbsp; Is this type of database modification considered safe (I know the devs don&#39;t like people playing with it)?<br />
                        <br />
                        Thirdly, what were to happen if you were watching the program when it finished transcoding?&nbsp; I have had cases where I have suspected (not proven) that if MythTranscode finishes while you are watching a the same program, it will get corrupted for the next time you watch it (may be related to setting a book mark, but as I said, none of this has been proven.<br />
                        &nbsp;</blockquote>
        </div>
</div>
<div>
        &nbsp;</div>
<div>
        By Universal script, I mean I didn&#39;t put any particular logic like a real developer would, who would probably not pass any of those variables through but query directly.</div>
<div>
        &nbsp;</div>
<div>
        Is the database modification safe?&nbsp; I think it is okay - it is a simple update query, not a whole rebuild or anything.&nbsp; Been using it daily (usually about&nbsp;three or four shows) for three months or so now, no issues.</div>
<div>
        &nbsp;</div>
<div>
        Watching the untranscoded program and then it finishes the transcode... hmmm.. I don&#39;t know, to be honest.&nbsp; I don&#39;t have any jobs running on the backend from 4pm-11pm because I didn&#39;t want to overtax my system, or make it sluggish.&nbsp; I use the backend as my main computer (mostly websurfing and ham radio logging, but other things as well) and during &quot;primetime&quot; I wanted it snappy, especially if I am recording three shows and watching a fourth on the frontend.</div>
<div>
        &nbsp;</div>
<div>
        I imagine you will either have a lockup of the file since it is in use and it will fail to delete the original mpg, but the database will still point to the new file, so when you go back to watch it will play fine, but probably not have a clue where that bookmark was (though I might be wrong), and you will have the extra mpg file - OR it will delete and it will either crash just the watching part and bounce you out of the view screen, or perhaps a full on crash of frontend (though I doubt that).</div>
<div>
        &nbsp;</div>
<div>
        Since I don&#39;t transcode EVERYTHING due to the speed on my machine, I just never ran across it yet.</div>
<div>
        <div>
                &nbsp;</div>
        <div>
                --</div>
        <div>
                Kris B.</div>
        <div>
                <a href="mailto:krisbee@krisbee.com">krisbee@krisbee.com</a></div>
</div>
<div>
        &nbsp;</div>
</div></body></html>