![plex media server download cover art plex media server download cover art](https://i0.wp.com/diyfuturism.com/wp-content/uploads/2017/12/Screen-Shot-2017-12-14-at-1.30.50-PM.png)
- #PLEX MEDIA SERVER DOWNLOAD COVER ART MOVIE#
- #PLEX MEDIA SERVER DOWNLOAD COVER ART INSTALL#
- #PLEX MEDIA SERVER DOWNLOAD COVER ART UPDATE#
- #PLEX MEDIA SERVER DOWNLOAD COVER ART CODE#
Agents are configured for Local Media Assets as the first in the list. I changed the user Plex use to run to my own user so permissions are not a problem and all the media is being correctly identified. I use Ubuntu 16.04 LTS and PMS Version 1.
#PLEX MEDIA SERVER DOWNLOAD COVER ART MOVIE#
If i put this movie in a directory and index that folder as a library the cover is shown correct.īy OttoKerner suggestion I am following this post and I can help with logs or anything you need to debug the problem. INFO (_init_:54) - Error finding media for movie Tom & Jerry Collection 1: 'ascii' codec can't encode character u'\xf6' in position 31: ordinal not in range(128)
#PLEX MEDIA SERVER DOWNLOAD COVER ART UPDATE#
10:13:51,740 (7fc45a7fc700) : CRITICAL (agentkit:1067) - Exception in the update function of agent named 'Local Media Assets (Movies)', called with guid 'local://76' (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-24ffd60/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1065, in _update agent.update(obj, media, lang, **kwargs) File "/usr/lib/plexmediaserver/Resources/Plug-ins-24ffd60/LocalMedia.bundle/Contents/Code/_init_.py", line 59, in update localmedia.findSubtitles(part) File "/usr/lib/plexmediaserver/Resources/Plug-ins-24ffd60/LocalMedia.bundle/Contents/Code/localmedia.py", line 265, in findSubtitles if os.path.isfile(os.path.join(path, file_path_listing)) and not RE_arch(file_path_listing): File "/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-08b2c10/lib/python2.7/genericpath.py", line 29, in isfile UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 35: ordinal not in range(128) Also i noticed that some files with Umlauts in their name will show up but others wont - even some without Umlauts in the title (maybe there are Umlauts in the meta description?)
#PLEX MEDIA SERVER DOWNLOAD COVER ART CODE#
Thank you for the code - I edited both files and started plex, but it would not fix the problem.
#PLEX MEDIA SERVER DOWNLOAD COVER ART INSTALL#
These changes are overwritten when you install a new server release. Log('Couldn\'t strip control characters: ' + filename) Log(type(e)._name_ + ' exception precomposing: ' + str(e))įilename = re.sub(RE_UNICODE_CONTROL, '', filename) Try: filename = unicodedata.normalize('NFKC', s) Try: filename = unicodedata.normalize('NFKC', unicode(s.decode('ISO-8859-1'))) Try: filename = unicodedata.normalize('NFKC', unicode(s.decode(sys.getfilesystemencoding()))) Try: filename = unicodedata.normalize('NFKC', unicode(s.decode(sys.getdefaultencoding())))
![plex media server download cover art plex media server download cover art](https://i.ytimg.com/vi/aVX3LjSWgJM/maxresdefault.jpg)
Try: filename = unicodedata.normalize('NFKC', unicode(s.decode('utf-8'))) If your working platform is Windows, I recommend ‘notepad++’.Īnd replace the def unicodize(s): (lines 20-30) Use an editor which is aware of proper indenting for Python. Then edit the Code/helpers.py (create a backup first!) In there, edit first the ist file and insert the following Go to /usr/lib/plexmediaserver/Resources/Plug-ins-?/LocalMedia.bundle/Contents OK here follows a highly inofficial fix, which may cause your computer to spontaneously catch fire, so tread carefully: If i scan a Folder without them its working like expected. There are critical errors in .log:ĬRITICAL (sandbox:298) - Function named 'Start' couldn't be found in the current environmentĬRITICAL (agentkit:1067) - Exception in the update function of agent named 'Local Media Assets (Movies)', called with guid 'local://79' (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-24ffd60/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1065, in _update agent.update(obj, media, lang, **kwargs) File "/usr/lib/plexmediaserver/Resources/Plug-ins-24ffd60/LocalMedia.bundle/Contents/Code/_init_.py", line 59, in update localmedia.findSubtitles(part) File "/usr/lib/plexmediaserver/Resources/Plug-ins-24ffd60/LocalMedia.bundle/Contents/Code/localmedia.py", line 265, in findSubtitles if os.path.isfile(os.path.join(path, file_path_listing)) and not RE_arch(file_path_listing): File "/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-08b2c10/lib/python2.7/genericpath.py", line 29, in isfile UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 47: ordinal not in range(128)īut an update still wont load the local images and the error is still showing up.ĮDIT: The problem is the german Umlaute.