[mythtv-users] Exporting recordings with its cutlist to mythvideo using mythvidexport.py

Paul pturpin+mythtv at gmail.com
Wed Jan 19 16:21:57 UTC 2011


On Tue, Jan 18, 2011 at 12:30 AM, Raymond Wagner <raymond at wagnerrp.com> wrote:
> On 14:59, Johnny Stenback wrote:
>>
>> I discussed this briefly with Raymond Wagner on irc at the time and he
>> said he'd look into it, but I've had no time since to follow up. Anyways, I
>> wanted to post my hack so others can see if it fixes the problem for them
>> too. If it does, maybe someone has ideas on a proper fix for this issue that
>> could be committed to the bindings, or added to the script, whichever is
>> appropriate.
>
> Thanks for reminding me about this.  I ended up taking a slightly different
> approach and altering the existing object directly.  It's still a dirty fix,
> but considering that whole bit of code is going to be rewritten for 0.25 due
> to schema changes, it will probably remain as it is.
>
>> @@ -108,7 +110,7 @@ class VIDEO:
>>              self.tfmt = self.db.settings[host]['mythvideo.TVexportfmt']
>>          else:
>>              self.tfmt = 'Television/%TITLE%/Season %SEASON%/'+\
>> -                            '%TITLE% - S%SEASON%E%EPISODEPAD% -
>> %SUBTITLE%'
>> +                            '%TITLE% - S%SEASONPAD%E%EPISODEPAD% -
>> %SUBTITLE%'
>
> Don't change the defaults, just override them in the database by running:
> mythvidexport.py --tformat="Television/%TITLE%/Season %SEASON%/%TITLE% -
> S%SEASONPAD%E%EPISODEPAD% - %SUBTITLE%"
>

Thank you both for the script and suggested changes. With them I was
able to get things working as I had hoped.

-Paul


More information about the mythtv-users mailing list