<p dir="ltr"><br>
On Oct 14, 2015 3:45 PM, "Mike Perkins" <<a href="mailto:mikep@randomtraveller.org.uk">mikep@randomtraveller.org.uk</a>> wrote:<br>
><br>
> On 14/10/15 20:24, jrh wrote:<br>
>><br>
>><br>
>><br>
>>> On Oct 14, 2015, at 11:04 AM, Jason Hamilton <<a href="mailto:jason.hamilton@thefuzz4.net">jason.hamilton@thefuzz4.net</a>> wrote:<br>
>>><br>
>>> Or perhaps someone has a script that they use with handbrake that they'd be willing to share? Thanks everyone<br>
>>><br>
>>> Jason<br>
>>><br>
>> I have just created a page on <a href="http://mythtv.org">mythtv.org</a> <<a href="http://mythtv.org/">http://mythtv.org/</a>> with a shell script that works well for me.<br>
>><br>
>> <a href="https://www.mythtv.org/wiki/Transcodehb.sh">https://www.mythtv.org/wiki/Transcodehb.sh</a> <<a href="https://www.mythtv.org/wiki/Transcodehb.sh">https://www.mythtv.org/wiki/Transcodehb.sh</a>><br>
>><br>
>> Regards!<br>
>><br>
><br>
> directory="/var/lib/mythtv/recordings"<br>
> ...<br>
> infile=$directory/${chanid}_${starttime}.mpg<br>
><br>
><br>
> That won't work unless you have a single directory defined as the storage group you are expecting your recordings to be in.<br>
><br>
> If you have more than one directory then you have to ask the backend where the recording is. I'm sorry I can't tell you how to get that.<br>
><br>
> -- <br>
><br>
> Mike Perkin</p>
<p dir="ltr">Agreed regarding having a single directory. That is how I use it on my setup.</p>