horstepipe 357 Posted October 9, 2016 Share Posted October 9, 2016 (edited) hey Emby server is being accessed from the internet, movies are stored as .strm-files which point to google drive. Everything works fine, but movies with umlauts (Ä, Ö, Ü) in their name don't work: 20:34:00 T:2372 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.UnicodeEncodeError'> Error Contents: 'ascii' codec can't encode character u'\xfc' in position 127: ordinal not in range(128) Traceback (most recent call last): File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby.movies\default.py", line 50, in <module> entrypoint.doPlayback(itemid, dbid) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\entrypoint.py", line 43, in doPlayback pbutils.PlaybackUtils(item).play(itemId, dbId) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\playbackutils.py", line 57, in play playurl = playutils.getPlayUrl() File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\playutils.py", line 96, in getPlayUrl window('emby_%s.playmethod' % playurl, value="DirectStream") File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\utils.py", line 38, in window WINDOW.setProperty(property_, value) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 127: ordinal not in range(128) -->End of Python script error report<-- Kodi v16.1 Emby for Kodi v2.2.41 Emby Server 3.0.7300 Best regards Edited October 9, 2016 by horstepipe Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 9, 2016 Share Posted October 9, 2016 I am confused by this. Where is the special character? In the strm filename or the url inside? Link to comment Share on other sites More sharing options...
horstepipe 357 Posted October 9, 2016 Author Share Posted October 9, 2016 I am confused by this. Where is the special character? In the strm filename or the url inside? Both :-) Filename: Armageddon - Das jüngste Gericht.1080p.bluray.dca.mkv url: plugin://plugin.video.gdrive/?mode=video&username=usernamexxxxxxxxxxxxxxxxxxxx&title=Armageddon+-+Das+jüngste+Gericht.1080p.bluray.dca.mkv 1 Link to comment Share on other sites More sharing options...
Solution Angelblue05 4130 Posted October 9, 2016 Solution Share Posted October 9, 2016 I've just posted the latest beta 2.2.42. Give it a try and let me know if it resolves the issue. 1 Link to comment Share on other sites More sharing options...
horstepipe 357 Posted October 9, 2016 Author Share Posted October 9, 2016 I've just posted the latest beta 2.2.42. Give it a try and let me know if it resolves the issue. thanks, I will as soon it's available here. Link to comment Share on other sites More sharing options...
horstepipe 357 Posted October 9, 2016 Author Share Posted October 9, 2016 It should be available in the Emby for Kodi beta repo within the next minutes, shouldn't it? Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 9, 2016 Share Posted October 9, 2016 Yes, that is correct. Otherwise, you can download it via the no sideloading method in the public testing folder (it's there instantly) https://github.com/MediaBrowser/plugin.video.emby/wiki/Emby-Repository 1 Link to comment Share on other sites More sharing options...
horstepipe 357 Posted October 9, 2016 Author Share Posted October 9, 2016 Yes, that is correct. Otherwise, you can download it via the no sideloading method in the public testing folder (it's there instantly) https://github.com/MediaBrowser/plugin.video.emby/wiki/Emby-Repository perfect, works. Thank you very much!! 1 Link to comment Share on other sites More sharing options...
horstepipe 357 Posted November 15, 2016 Author Share Posted November 15, 2016 just to make sure this is not Emby related. Playing .strm-files containing an apostrophe results in this error: 21:31:54 T:3808 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.TypeError'> Error Contents: 'NoneType' object is not iterable Traceback (most recent call last): File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.gdrive\default.py", line 1458, in <module> (mediaURLs,package) = service.getPlaybackCall(None,title=title) TypeError: 'NoneType' object is not iterable -->End of Python script error report<-- But this is only a gdrive plugin issue, isn't it? Link to comment Share on other sites More sharing options...
horstepipe 357 Posted November 16, 2016 Author Share Posted November 16, 2016 @@Angelblue05 not sure if you see it because the thread is already marked as solved, so I better link you :-) Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 16, 2016 Share Posted November 16, 2016 Yes it's not an emby issue. Seems the gdrive addon is at fault here. Sent from my iPhone using Tapatalk 1 Link to comment Share on other sites More sharing options...
horstepipe 357 Posted November 17, 2016 Author Share Posted November 17, 2016 (edited) Sorry @@Angelblue05 but I need to warm it up, again. The error only occurs when using Emby for Kodi. Adding those strm-files to "normal" Kodi database playback works fine. Do you have any idea what the problem could be? I also asked @@ddurdle , the author of the gdrive plugin. Best regards Edited November 17, 2016 by horstepipe Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 17, 2016 Share Posted November 17, 2016 Then post the full kodi log, thanks. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
horstepipe 357 Posted November 17, 2016 Author Share Posted November 17, 2016 Then post the full kodi log, thanks. Sent from my iPhone using Tapatalk I'll pm it to you Link to comment Share on other sites More sharing options...
Recommended Posts