Skip to content

Download the files for a plex playlist and optionally convert to MP3

License

Notifications You must be signed in to change notification settings

APIUM/plex-playlist-copier-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

plex-playlist-copier-converter

Download the files for a plex playlist and optionally convert to MP3

Preparation

You must generate a CSV file with your playlist information. This is to be done with WebTools-NG.

Steps:

  1. Sign into your Plex server
  2. Select 'ExportTools' in the left sidebar
  3. Select your server in the header
  4. Select Export Type: Playlist
  5. Select Sub Type: Audio
  6. Select Media Library: <Your Playlist Name>
  7. Select Export Level: All
  8. Select 'Export Media'

WebTools-NG Screenshot

You may also need to go to settings and set the export to be 'CSV'.

Using the script

Then follow the script steps:

  1. Copy that csv file to a folder
  2. Change the name to 'plex.csv'
  3. Listed in the file will be the prefix to your music, if you're running the script directly on your Plex server set "USE_PATH_REPLACEMENT" to False
  4. Otherwise inspect the column "Part File Combined" in the csv and use the replacement config items to change it to a valid path on your system
  5. Run the script

There are several configuration items which are self-explanatory.

Running the script

This is designed for Python 3.10.6, you should be able to use anything after about 3.6 with no issues.

Ensure you have ffmpeg installed if you are performing conversion. This requires no external python dependencies so should just 'work'.

python plex-playlist-downloader.py

About

Download the files for a plex playlist and optionally convert to MP3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages