Jump to content

external server + strm files: files with umlauts don't work


horstepipe
Go to solution Solved by Angelblue05,

Recommended Posts

horstepipe

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 by horstepipe
Link to comment
Share on other sites

horstepipe

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

  • Like 1
Link to comment
Share on other sites

  • Solution
Angelblue05

I've just posted the latest beta 2.2.42. Give it a try and let me know if it resolves the issue.

  • Like 1
Link to comment
Share on other sites

horstepipe

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

  • 1 month later...
horstepipe

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

horstepipe

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 by horstepipe
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...