Jump to content

Files with German Umlaute (äöü) can not be played on LibreELEC


Recommended Posts


Good day,
since Emby addon version 3.0.27a files with German Umlaute (äöü) in their names can not be played any longer (Emby Error).


This is on LibreELEC v8.2.5 with current Emby addon 3.0.29a.


LibreELEC log extract:

10:45:29.920 T:139732315002624  NOTICE: EMBY.default_tvshows -> Parameter string: ?dbid=6751&mode=play&id=91c7254db514e2616ee01b4d74b01349&filename=S02E07+-+H%C3%A4utungen.mkv
10:45:29.968 T:139732315002624  NOTICE: EMBY.playbackutils -> Play called 91c7254db514e2616ee01b4d74b01349: Häutungen
10:45:30.049 T:139732315002624  NOTICE: EMBY.playutils -> Path exists.
10:45:30.055 T:139732315002624   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'\xe4' in position 78: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.emby.tvshows/default.py", line 50, in <module>
                                                entrypoint.doPlayback(itemid, dbid)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/entrypoint.py", line 49, in doPlayback
                                                pbutils.PlaybackUtils(item).play(itemId, dbId)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/playbackutils.py", line 98, in play
                                                play_url = putils.PlayUtils(self.item, listitem).get_play_url(force_transcode)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/playutils.py", line 56, in get_play_url
                                                info = self.get_playback_info()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/playutils.py", line 132, in get_playback_info
                                                return self.get_optimal_track(selected_source)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/playutils.py", line 146, in get_optimal_track
                                                self.set_external_subs(source, source['Path'])
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/playutils.py", line 362, in set_external_subs
                                                window('emby_%s.indexMapping.json' % play_url, value=mapping)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/utils.py", line 42, in window
                                                WINDOW.setProperty(property_, value)
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 78: ordinal not in range(128)
                                            -->End of Python script error report<--
10:45:30.116 T:139732315002624 WARNING: CPythonInvoker(9, /storage/.kodi/addons/plugin.video.emby.tvshows/default.py): the python script "/storage/.kodi/addons/plugin.video.emby.tvshows/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
10:45:30.126 T:139733790217920   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby.tvshows/42358d90bb9186352df5952b9a3b2ffa/?dbid=6751&mode=play&id=91c7254db514e2616ee01b4d74b01349&filename=S02E07+-+H%C3%A4utungen.mkv]

Tasks done so far with no result:

- Re-install Emby addon

- Reset local Kodi DB


Any suggestions are welcome, thanks and regards.

Link to comment
Share on other sites


Thanks for reporting. I'll fix this and post a new build. For now, you can temporarily fix this by going into the add-on settings > playback > disable external subtitles.

  • Like 1
Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...