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

Raymond Wagner raymond at wagnerrp.com
Tue Jan 18 08:30:40 UTC 2011


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%"



More information about the mythtv-users mailing list