forked from MediaBrowser/plugin.video.emby
-
-
Notifications
You must be signed in to change notification settings - Fork 79
How to automatically delete playlists
croneter edited this page Dec 23, 2018
·
19 revisions
If you've been testing PKC thoroughly, it's possible that you unintentionally put PKC in a state where it kept spawning playlists on both the Plex and Kodi side. Using Plex Web, you'll see potentially hundreds to thousands of playlists listed, all of them ending in a digit like _15
.
- Exit EVERY Kodi instance that has PKC up and running
- For every Kodi instance with PKC, delete the
Database
folder in the Kodi userdata folder. Also do this for all the Kodi profiles in theprofiles
folder, if you're using different Kodi users - Also delete the
playlists
folder of the userdata folder and also do this for all profiles - Using Plex Web, navigate to a single movie or show's information page. Hit the three dots
...
at the top right, thenShow Information
, thenShow XML-file
. A new browser window opens - The URL of the new browser window will be something like this:
https://82-123-96-251.7923ljfse892382.plex.direct:34698/library/metadata/12345?checkFiles=1&includeExtras=1&includeBandwidths=1&X-Plex-Token=alkjb84klafj83
For the script below, you'll need to copy-paste the following information:
* PMS address: in the example above, https://82-123-96-251.7923ljfse892382.plex.direct
* PMS port: in the example above, 34698
* X-Plex-Token: the string directly after the =
, in the example above alkjb84klafj83
Here is a Python script that will automatically delete these playlists from the PMS.
Devs: croneter
- Screenshots
- Direct Paths Explained
- Set-up Direct Paths
- Direct Play
- Skins and Video Nodes
- Multiple users
- Multiple Plex Media Servers
- Manage additional Media without Plex
- Is PKC a hack
- FAQ
- Report a Bug
- How to uninstall PKC
- How to automatically delete playlists
- Update PKC Repository to receive automatic updates