[mythtv-users] Custom rule to allow re-record of transcoded recordings

Michael T. Dean mtdean at thirdcontact.com
Wed Dec 9 04:14:43 UTC 2015


On 12/08/2015 11:13 PM, Michael T. Dean wrote:
> On 12/08/2015 11:05 PM, Ian Evans wrote:
>>
>> A while back I recorded episodes of an SD series. I was tight on 
>> space then and so after cutting the commercials out, I ran a user job 
>> that converted it to an mp4. I have more space now and am wondering 
>> how to set up a custom recording rule that would only allow a 
>> re-record if the recording in question had a an mp4 extension. I know 
>> it'd be program.title = 'My show' but how would you specify the 
>> extension part?
>>
>
> To do what you asked, you would use program.basename .  To do it 
> right, you would use program.transcoded != 0 .  ;)

er, recorded.transcoded and recorded.basename....  I shouldn't be 
posting when I'm tired.

Mike


More information about the mythtv-users mailing list