Jump to content


Photo

Synology and subtitles


  • Please log in to reply
2 replies to this topic

#1 Zzo911

Zzo911

    Member

  • Members
  • PipPip
  • 40 posts
  • Location: Belgium

Posted 05 August 2012 - 08:13 PM

Hi all,

I already tried to find an solution to my issue but without luck...
So I've installed PMS on my Synology DS411+.
Everything is fine except that local subtitles are not scanned correctly.

I tried S01E11.fr.srt, S01E11.fre.srt and S01E11.french.srt, same issue...

Here is the log :

2012-08-05 21:52:19,491 (4000b) :  INFO (__init__:458) - Found subtitle file: S01E11.fr.srt language: fr codec: srt
2012-08-05 21:52:19,567 (4000b) :  CRITICAL (agentkit:968) - Exception in the update function of agent named 'Local Media Assets (TV)', called with guid 'com.plexapp.agents.thetvdb://250487?lang=fr' (most recent call last):
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 966, in _update
    agent.update(obj, media, lang)
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/LocalMedia.bundle/Contents/Code/__init__.py", line 135, in update
    FindSubtitles(part)
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/LocalMedia.bundle/Contents/Code/__init__.py", line 460, in FindSubtitles
    part.subtitles[lang][f] = Proxy.LocalFile(os.path.join(path, f), codec=codec)
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 240, in __setitem__
    self._save()
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 191, in _save
    self._parent._save()
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 406, in _save
    el = lang_dir._element('Language', 'Subtitle')
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 179, in _element
    el.append(item_el_for_tuple(self._proxies[item]))
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 155, in item_el_for_tuple
    item_el.set('file', p_value)
  File "lxml.etree.pyx", line 699, in lxml.etree._Element.set (src/lxml/lxml.etree.c:34531)
  File "apihelpers.pxi", line 563, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:15781)
  File "apihelpers.pxi", line 1366, in lxml.etree._utf8 (src/lxml/lxml.etree.c:22211)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters

My PMS version is : 0.9.6.7.204-266f05d (same issue with version 0.9.6.3.xxx)
My PMC verions is : 0.9.8.1 on a Samsung EU46D7000 and 0.9.5.3 on a Macbook Air

Thanks for your help.
Synology DS411+ ----------> Plex ----------> Samsung UE46D7000 (firmware 1015)

#2 Zzo911

Zzo911

    Member

  • Members
  • PipPip
  • 40 posts
  • Location: Belgium

Posted 10 August 2012 - 06:24 PM

Hi,

Nobody knows how to solve the subtitle issue?
I already tried to remove the localmedia and framework bundle folders then restart the server.
It recreates the folders but problem is not solved, still the same issue...

Regards
Synology DS411+ ----------> Plex ----------> Samsung UE46D7000 (firmware 1015)

#3 Zzo911

Zzo911

    Member

  • Members
  • PipPip
  • 40 posts
  • Location: Belgium

Posted 17 September 2012 - 12:47 PM

Same issue with 0.9.6.9
I tried to delete the framwork and localmedi bundles, but it still fails to catch subtitles.

2012-09-17 14:30:51,623 (5000c) :  INFO (__init__:458) - Found subtitle file: S01E01.en.srt language: en codec: srt
2012-09-17 14:30:51,671 (5000c) :  CRITICAL (agentkit:968) - Exception in the update function of agent named 'Local Media Assets (TV)', called with guid 'com.plexapp.agents.thetvdb://255250?lang=en' (most recent call last):
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 966, in _update
    agent.update(obj, media, lang)
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/LocalMedia.bundle/Contents/Code/__init__.py", line 135, in update
    FindSubtitles(part)
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/LocalMedia.bundle/Contents/Code/__init__.py", line 460, in FindSubtitles
    part.subtitles[lang][f] = Proxy.LocalFile(os.path.join(path, f), codec=codec)
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 240, in __setitem__
    self._save()
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 191, in _save
    self._parent._save()
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 406, in _save
    el = lang_dir._element('Language', 'Subtitle')
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 179, in _element
    el.append(item_el_for_tuple(self._proxies[item]))
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 155, in item_el_for_tuple
    item_el.set('file', p_value)
  File "lxml.etree.pyx", line 699, in lxml.etree._Element.set (src/lxml/lxml.etree.c:34531)
  File "apihelpers.pxi", line 563, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:15781)
  File "apihelpers.pxi", line 1366, in lxml.etree._utf8 (src/lxml/lxml.etree.c:22211)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters

Synology DS411+ ----------> Plex ----------> Samsung UE46D7000 (firmware 1015)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users