[mythtv-users] Excellent mythvidexport.py - issue with national chars

warpme warpme at o2.pl
Thu May 26 10:16:57 UTC 2011


Hi *

I manage to resolve above issue by adding converssion from UTF-8 to 8bit.
Line 83

'%s - %s' % (self.rec.title, self.rec.subtitle))

is changed to

'%s - %s' % (self.rec.title.encode('utf-8'), self.rec.subtitle.encode('utf-8')))

It seems like now script can handle shows having non-ascii chars in title/subtitle without above error.

Good. 
Unfortunatelly another little thing pop-ups:
I want to move show which has following 
title: 
"Finansowa Historia..." 

subtitle:
"Finansowa historia świata: Chimerica, odc. 6"

description:
"Finansowa historia świata: Chimerica, odc. 6
Tematem odcinka jest 'Chimerica', gospodarczy mariaż Chińskiej Republiki Ludowej i Stanów Zjednoczonych Ameryki."

Script correctly updates videometadata but rec. file now has <jobid>.mpg filename and is copied not into video/Movies subdir but to root of video dir. Filename is not big problem, but file location is, as I have dedicated subdir in video for all contnet stored on externally attached USB drive (mythadder.py solution).

Is it possible to modify script in way were files will be always stored in given (e.g. Movies/) dir ?

Thx in advance !
   
     


More information about the mythtv-users mailing list