Skip to content

This program reads a .csv file containing a list of songs and automatically downloads them. Simply provide the .csv file with titles and artists, and the software retrieves the corresponding tracks. Ideal for creating offline music libraries in just a few clicks.

License

Notifications You must be signed in to change notification settings

Simv135/playlist-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program reads a .csv file containing a list of songs and automatically downloads them. Simply provide the .csv file with titles and artists, and the software retrieves the corresponding tracks. Ideal for creating offline music libraries in just a few clicks.

📌 Requirements

  • Python 3.x

For Windows:

https://www.python.org/downloads/windows/

For Linux:

sudo apt install python3-pip -y && sudo apt update

📦 Installation

For the GUI version simply download the "playlist-dl-gui.py" file and open it with Python

For the Console version open the terminal or command prompt and use:

curl -o playlist-dl.py https://raw.githubusercontent.com/Simv135/playlist-dl/refs/heads/main/playlist-dl.py

📄 CSV File Format

The '.csv' file must contain at least two columns:

  • "Artist Name" → Name of the artist or band
  • "Track Name" → Song Title

Example of '.csv' file

Artist Name Track Name
Coldplay Yellow
Eminem Lose Yourself
Daft Punk One More Time
Artist Name,Track Name
Coldplay,Yellow
Eminem,Lose Yourself
Daft Punk,One More Time

▶️ Usage (Console version)

Open the terminal or command prompt and use:

For Windows:

python playlist-dl.py "/my_path/my_playlist.csv"

For Linux:

python3 playlist-dl.py "/my_path/my_playlist.csv"

If you want to specify a destination folder for your audio files:

For Windows:

python playlist-dl.py "/my_path/my_playlist.csv" --output_path "/my_path/Music"

For Linux:

python3 playlist-dl.py "/my_path/my_playlist.csv" --output_path "/my_path/Music"

🚨 Uninstallation

For the GUI version delete the file "playlist-dl-gui.py", open the terminal or command prompt and use:

pip uninstall pandas yt-dlp requests -y

For the Console version open the terminal or command prompt and use:

For Windows:

del playlist-dl.py && pip uninstall pandas yt-dlp colorama requests -y

For Linux:

rm playlist-dl.py && pip uninstall pandas yt-dlp colorama requests -y

About

This program reads a .csv file containing a list of songs and automatically downloads them. Simply provide the .csv file with titles and artists, and the software retrieves the corresponding tracks. Ideal for creating offline music libraries in just a few clicks.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages