Comments (5)
Also getting this error. Not an issue for me as Plex is my main/only music server right now, and I just use this script to export the playlists for backup/future use as I care about having my playlists available in a service agnostic format. I'll try and investigate the API, but the lack of any documentation from plex makes it hard.
from ppp.
@XDGFX Hi Callum, do you have a solution for this? Thanks
from ppp.
Hey, sorry for the lack of response. Yep it's an error from Plex, and as deafmute1 says there isn't really any documentation on the api to help.
Are you able to run and debug the code? If so I would try breaking on line 673 (just before it sends the POST request), copying the querystring parameters and trying to POST with another program like Postman or Curl.
I imagine one of the parameters might be wrong, so either the section ID, Plex token, or maybe most likely the Plex path. Have a look at _plex_path
after line 668 (add print(_plex_path)
on the next line if you can't debug) and see if the path looks correct, and make sure it's accessible from wherever your Plex instance is running.
from ppp.
Just as an information: I run the script and Plex console threw following error:
[Req#4a562] PlaylistImporter: invalid section 11
from ppp.
I think I found the solution for this:
You need to adopt the value selection_id
with the current music id - e.g.:
curl -k -XGET https://plex.server.fqdn:32400/library/sections/?X-Plex-Token=*********
This will give you an XML response and you need to identify which directory does include the music and take the Location id=x
from that.
After that the PPP.py scripts works again.
from ppp.
Related Issues (20)
- adding file to end of playlist
- Crash if playlist has no item
- What is PPP install directory? HOT 2
- [guide] convert to *.wpl playlist to sync with Windows Media Player
- Issue entering Server URL HOT 2
- Playlists not pushed to Plex HOT 1
- Import playlists for different users
- Exclude .DS_Store from local_backups cleanup
- Can't access local playlists
- Ability to keep a local copy intact? HOT 1
- Path with % gets ignored.
- Playlists are not created HOT 1
- Playlists not pushing to Plex HOT 1
- Issues on First Launch HOT 1
- "This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association in the Default Apps Settings page." HOT 2
- Traceback (most recent call last): error.
- Half of the playlists tracks aren't getting pushed to Plex
- Playlists not being sent to Plex, everything else seems to work HOT 3
- ValueError: Can't mix absolute and relative paths
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppp.