[mythtv-users] Mythfrontend 0.28 - Can't fetch meta-data images when programme name has a '%' (percentage sign) in it.

Hika van den Hoven hikavdh at gmail.com
Thu Aug 18 08:47:47 UTC 2016


Hoi Kingsley,

Thursday, August 18, 2016, 3:55:48 AM, you wrote:

> It looks like Mythfrontend can't fetch programme meta-data images when the
> metadata name has a percentage sign in it.  it seems like the informational
> data is retrieved OK, just not the artwork.

> For example, the show named "Ichigo 100%"  (AKA: "Strawberry 100%", "いちご
> 100%").

>  From the mythfrontend log:

> Aug 18 11:40:11 mediabox mythfrontend.real: mythfrontend[3780]: I 
> MetadataDownload metadatagrabber.cpp:453 (RunGrabber) Running Grabber:
> /usr/share/mythtv/metadata/Television/ttvdb.py -l en -a AU -N 80759 The
> Illusionary Strawberry Underwear / Misunderstanding or a Wrong Guess?
> Aug 18 11:40:11 mediabox mythfrontend.real: mythfrontend[3780]: I 
> MetadataDownload metadatacommon.cpp:1202 (ParseMetadataItem) Result Found,
> Season 1 Episode 1
> Aug 18 11:40:11 mediabox mythfrontend.real: mythfrontend[3780]: I 
> MetadataDownload metadatadownload.cpp:176 (run) Returning Metadata Results:
> Strawberry 100% 1 1
> Aug 18 11:40:11 mediabox mythfrontend.real: mythfrontend[3780]: E ImageLoad
> remotefile.cpp:250 (openSocket) RemoteFile::openSocket(file data socket):
> Failed to open socket, error was filetransfer_filename_empty
> Aug 18 11:40:11 mediabox mythfrontend.real: mythfrontend[3780]: E ImageLoad
> remotefile.cpp:250 (openSocket) RemoteFile::openSocket(file data socket):
> Failed to open socket, error was filetransfer_filename_empty

> I'd guess it needs to be escaped somehow before being munged through all
> those QStrings in remotefile.cpp.  But I don't know much at all about QStrings.

> cheers,
> -kt

Did some quick testing and I do not think your errors have to do with
"%". Try on the command-line:
ttvdb.py -D "ichigo 100%" 1 1
ttvdb.py -F "ichigo 100%"
ttvdb.py -P "ichigo 100%"

All metadata is named like: 80759-1.jpg.

I have not tried opening those urls, but they might just be empty on
the ttvdb side.

(ttvdb.py is located somewhere like:
/usr/share/mythtv/metadata/Television)

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list