[mythtv-users] Updating "remove extra audio track" job for storage groups
Ian Evans
dheianevans at gmail.com
Fri Jan 17 00:01:48 UTC 2014
On Thu, Jan 16, 2014 at 4:06 PM, Michael Stucky <mike at stucky.us> wrote:
> On Wed, Jan 15, 2014 at 8:22 PM, Raymond Wagner <raymond at wagnerrp.com>wrote:
>
>> On 1/15/2014 8:16 PM, Ian Evans wrote:
>>
>>> I was using a "remove extra audio track" script that Michael Stucky
>>> posted here:
>>>
>>> http://www.gossamer-threads.com/lists/mythtv/users/547560#547560
>>>
>>> I recently added a new drive (and added it to the recordings storage
>>> group) and wondered why the user job was now failing.
>>>
>>> Suddenly realized the script has hard-coded the recordings dir:
>>> http://www.mythtv.org/wiki/RemoveExtraAudioStreams
>>>
>>>
>>> Not that comfortable with bash scripts or Myth variables, but would it
>>> be relatively easy to update to use storage groups and find the
>>> recording wherever it is?
>>>
>>
>> You can have the jobqueue give you the specific directory and filename
>> for the recording.
>>
>> http://www.mythtv.org/wiki/Job_Queue#User_Jobs
>>
>> I have updated my script to eliminate the hard-coded recordings directory
> and posted it on the wiki as a "User Job Script":
>
> http://www.mythtv.org/wiki/RemoveExtraAudioStreams
>
> I don't have multiple directories in my recordings storage group so I
> can't confirm that it will work for you. It works as always for my setup
> with only one directory in the storage group, so please let me know if this
> fixes your problem.
>
> Thanks to both of you (Ian and Raymond) for encouraging me to enhance the
> functionality of my script!
>
>
No, thank you for the update. Hopefully give it a whirl this weekend!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140116/e68e9386/attachment.html>
More information about the mythtv-users
mailing list