ukdtom / ExportTools.bundle

Export tools for Plex
https://forums.plex.tv/t/rel-exporttools/175915
The Unlicense
326 stars 29 forks source link

Use ExportTools on NAS Synology #123

Closed Al4ndil closed 4 years ago

Al4ndil commented 4 years ago

Hi,

I need help to use ExportTools. My plex installed on a NAS Synology with Docker.

I succeeded to install WebTools and ExportTools and i configured permissions on the export path. But i have always this issue :

Traceback (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request result = f(**d) File "/config/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/__init__.py", line 70, in launch playlist=playlist) File "/config/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/output.py", line 69, in getOutFileName './/Directory[@title="' + title + '"]')[0] File "/usr/lib/plexmediaserver/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in _getitem_ = lambda x, y: x.__getitem__(y), IndexError: list index out of range

Thx for your help

ukdtom commented 4 years ago

I need a zip with all ET logs, not just a snip

Al4ndil commented 4 years ago

Et voilà !

Logs.zip

ukdtom commented 4 years ago

Try and launch it with an url like

http://IP_OF_SERVER:32400/applications/ExportTools/launch?title=Animations%20-%20Astrix&playlist=false&X-Plex-Token=Plex-Token-Here

Al4ndil commented 4 years ago

Same thing.... Logs.zip

ukdtom commented 4 years ago

Before we go any further, does it work when launched from preferences instead?

ukdtom commented 4 years ago

And logs showed, that I got the title of your library wrong ;)

Isn't it: Animations - Astrix ?

Al4ndil commented 4 years ago

Animations - Astérix in ASCII... that's it my problem ? :$

ukdtom commented 4 years ago

Yes, you need to URL Encode it as said in the Wiki!

So your title will be: Animations%20-%20Ast%C3%A9rix

Al4ndil commented 4 years ago

Hi, I had already used this url ... And i have this error : Response code="2000" status="ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters"

ukdtom commented 4 years ago

So, as asked, does it work if launching from the preferences?

Al4ndil commented 4 years ago

where is this access ? i didn't see a direct access

ukdtom commented 4 years ago

https://github.com/ukdtom/ExportTools.bundle/wiki/IMPORTANT-NOTICE

Al4ndil commented 4 years ago

Ok i understand but now, i think i don't have the good export path. How to configure that with plex on Docker ? A path in the ExportTools path ?

ukdtom commented 4 years ago

You need some directory, that the plex user has full rights to, and then configure it like /volume1/SomePath or you could simply let ET use autopath

Please read the manual https://github.com/ukdtom/ExportTools.bundle/wiki/Configuration#export-path

Al4ndil commented 4 years ago

It's work. My bad ... Very sorry !