Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Pltv 0.7.9 #14

Open
tromyl opened this issue Aug 6, 2016 · 3 comments
Open

Pltv 0.7.9 #14

tromyl opened this issue Aug 6, 2016 · 3 comments

Comments

@tromyl
Copy link
Contributor

tromyl commented Aug 6, 2016

Hey Lunatixz
Very nice addition to see custom fonts in PLTV also thank you for adding google search in art downloader.
You've done wonderful job!

I just want to mention you some minor "issues" i have .
Google search seems to work fine only if the epg entries are in english.My entries are most in Greek so I get no art and unicode errors like this
17:10:10 T:4136 ERROR: script.pseudotv.live-0.7.9-Artdownloader: script.pseudotv.live-Artdownloader: FindArtwork Failed! 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128) 17:10:10 T:4136 ERROR: script.pseudotv.live-0.7.9-Artdownloader: Traceback (most recent call last): File "C:\Users\thomas\AppData\Roaming\Kodi\addons\PseudoTV_Live-master\resources\lib\Artdownloader.py", line 218, in FindArtwork setImage = self.findMissingArtLive(title) File "C:\Users\thomas\AppData\Roaming\Kodi\addons\PseudoTV_Live-master\resources\lib\Artdownloader.py", line 282, in findMissingArtLive request = self.getGoogleImages('%s+site:zap2it.com' %title) File "C:\Users\thomas\AppData\Roaming\Kodi\addons\PseudoTV_Live-master\resources\lib\Artdownloader.py", line 395, in getGoogleImages args = ['q={0}'.format(urllib.quote_plus(terms.encode("utf-8","ignore")))] UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)

As for custom fonts,I can't change the font in label "5006" in the epg section so I have a bigger font than the other time labels.
screenshot021

Also if I use kodi's confluence skin my custom fonts seems not to work,even if I use kodi as an administrator.On all other skins custom fonts work nice.

That's all...
Thank you,as always,for PLTV.

@Lunatixz
Copy link
Contributor

Lunatixz commented Aug 7, 2016

Fixed, your three issues... you'll have to test the ascii error to make sure it's working correctly.

@Lunatixz Lunatixz closed this as completed Aug 7, 2016
@Lunatixz Lunatixz reopened this Aug 7, 2016
@tromyl
Copy link
Contributor Author

tromyl commented Aug 27, 2016

Thanks, Lunatixz.Using now 0.8.0b version two of the issues were solved but still having a unicode error.
Hope you can have a look and fix it.

00:26:13 T:3380 ERROR: metahandler: Meta data: {'rating': 0, 'banner_url': '', 'TVShowTitle': '\xce\x95\xce\x99\xce\x94\xce\x97\xce\xa3\xce\x95\xce\x99\xce\xa3 - \xce\x91\xce\x98\xce\x9b\xce\x97\xce\xa4\xce\x99\xce\x9a\xce\x91 - \xce\x9a\xce\x91\xce\x99\xce\xa1\xce\x9f\xce\xa3', 'year': 0, 'duration': '', 'plot': '', 'title': '', 'mpaa': '', 'imgs_prepacked': 'false', 'backdrop_url': '', 'status': '', 'tvdb_id': '', 'cover_url': '', 'imdb_id': None, 'studio': '', 'genre': '', 'episode': 0, 'overlay': 6, 'premiered': '', 'cast': '[]', 'playcount': 0, 'trailer_url': ''}

@Lunatixz
Copy link
Contributor

it's a issue with string encoding and metahandler... I'd like to avoid correcting this issue on my end since it originates from another plugin. Maybe post this issue there...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants