OK here follows a highly inofficial fix, which may cause your computer to spontaneously catch fire, so tread carefully:
-
quit Plex server
-
go to
/usr/lib/plexmediaserver/Resources/Plug-ins-???????/LocalMedia.bundle/Contents
in there, edit first theInfo.plist
file and insert the following
<key>PlexPluginDevMode</key>
<string>1</string>
then edit the Code/helpers.py
(create a backup first!)
Use an editor which is aware of proper indenting for Python. If your working platform is Windows, I recommend ‘notepad++’.
and replace the def unicodize(s):
(lines 20-30)
with this:
def unicodize(s):
filename = s
try: filename = unicodedata.normalize('NFKC', unicode(s.decode('utf-8')))
except:
try: filename = unicodedata.normalize('NFKC', unicode(s.decode(sys.getdefaultencoding())))
except:
try: filename = unicodedata.normalize('NFKC', unicode(s.decode(sys.getfilesystemencoding())))
except:
try: filename = unicodedata.normalize('NFKC', unicode(s.decode('ISO-8859-1')))
except:
try: filename = unicodedata.normalize('NFKC', s)
except Exception, e:
Log(type(e).__name__ + ' exception precomposing: ' + str(e))
try:
filename = re.sub(RE_UNICODE_CONTROL, '', filename)
except:
Log('Couldn\'t strip control characters: ' + filename)
return filename
These changes are overwritten when you install a new server release.
Let’s hope thse changes are officially confirmed soon and get into an official release.
- start Plex Media Server
- see if it changes anything for you, especially if the error messages continue or not