<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 1/3/2013 8:58 AM, Jeremy Jones
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADCRbW1WwzUK4f-hRCg_OJn+8==7f74JMt144xOiV3aCbQ5jNw@mail.gmail.com"
      type="cite">On Thu, Jan 3, 2013 at 7:50 AM, Larry Roberts <span
        dir="ltr">&lt;<a moz-do-not-send="true"
          href="mailto:mythtv@american-hero.com" target="_blank">mythtv@american-hero.com</a>&gt;</span>
      wrote:<br>
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          On 1/3/2013 3:15 AM, Michael T. Dean wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            On 01/03/2013 02:06 AM, Bob Long wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Larry Roberts wrote,<br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                My end goal is to get a couple of daily recordings
                converted to a roku<br>
                compatible format with friendly names for my wife to
                watch on the roku<br>
                in our bedroom.<br>
              </blockquote>
              <br>
              [snip]<br>
              <br>
              Are you aware of <a moz-do-not-send="true"
                href="http://www.mythtv.org/wiki/Mythlink.pl"
                target="_blank">http://www.mythtv.org/wiki/Mythlink.pl</a>
              ?<br>
              <br>
            </blockquote>
            <br>
            [snip]<br>
            <br>
          </blockquote>
          Definitely aware of mythlink as I use it to to interface with
          airvideo. It was a great find at the time and something my
          kids use every night. to stream videos to the iPAD.<br>
          <br>
          Maybe its just my understanding of how the user job operates
          and stores information but how do I tell mythlink to create
          links to those newly converted .m4v files? &nbsp;I didn't see a way
          to specify the directory the files were in. &nbsp;I believe it gets
          that info directly from the DB and from what I can tell only
          did the original file. &nbsp;I run mythlink every 30 minutes to
          update recording information and I cant find a link to the
          newly created .m4v file.<br>
          <br>
        </blockquote>
        <div>I think we all missed the "convert" part of your original
          post. &nbsp;What are you doing to create the .m4v files? &nbsp;Since
          these are not referenced by mythlink I assume they also do not
          show up in Myth Frontend under Watch Recordings. &nbsp;Is that
          correct?</div>
        <div><br>
        </div>
        <div>Jeremy</div>
        <div>&nbsp;</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a>
</pre>
    </blockquote>
    I have a user job that references my transcode script.&nbsp; I'm passing
    the 2 variables to the script (channel id and start time) which can
    then autobuild the file name since it also knows the directory my
    recordings are all stored in.<br>
    my transcoding is working great and I end up with the transcoded
    file in my /tmp/ directory with the typical mythtv name
    1006_blahblahblah.m4v.&nbsp; What I want and am trying to do is to
    move/rename the .m4v file and create a "family friendly" name in my
    directory store.<br>
    <br>
    my very ugly rename/move command that is part of the transcode
    script is below:<br>
    <br>
    mysql -uroot -ppasswordremoved mythconverg -B --exec "select
    basename,title,subtitle from recorded;" | grep
    ${CHANID}_${STARTTIME}&nbsp; | sed 's/.mpg//'| sed 's/\t/ /g' | while
    read b NAME ;do mv {$TMPDIR}/${CHANID}_${STARTTIME}.m4v <i
      class="moz-txt-slash"><span class="moz-txt-tag">/</span>roku<span
        class="moz-txt-tag">/</span></i>"$NAME".m4v;done
    <br>
    <br>
    I woke up this morning to find my file transcoded but still sitting
    in the /tmp directory so something isn't working with my command
    above, althought I can run it manually and it works just fine
    (assuming I set the variables of course)&nbsp; .<br>
    <br>
    Roku doesn't natively support uPNP.&nbsp; Still looking at finding a
    solution for that as it may be easier to just point to mythtv as its
    already a uPNP server.&nbsp; <br>
    <br>
    I'm off to work now but will try to check in later.&nbsp; Im officially
    obsessed with getting this working now...<br>
    <br>
  </body>
</html>