MPD Automate is a Python project designed to automate the process of searching for songs on YouTube, downloading them using the PyTube library, and extracting their metadata using the Spotipy library. This project aims to simplify the task of acquiring songs and their relevant information, making it easier for users to manage their music collection on your mpd client.
The main functionality of MPD Automate revolves around using the youtube-search-python
module to perform a search query for a specific song. Once the desired song is found, the PyTube
library is utilized to download the song from YouTube. Finally, the Spotipy
library is employed to extract the metadata associated with the downloaded song.
By combining these powerful libraries, MPD Automate provides a streamlined solution for music enthusiasts to discover and manage their favorite songs effectively. Whether you want to create playlists, organize your music library, or explore new tracks, MPD Automate offers a comprehensive set of tools to simplify these tasks.
- Efficiently search for songs using the
youtube-search-python
module. - Download songs from YouTube using the PyTube library.
- Extract metadata from downloaded songs using the Spotipy library.
- Simplify the process of managing and organizing your music collection.
- Store it on your Music directory to access it through your mpd client effortlessly
To use MPD Automate, follow these installation steps:
- Clone the GitHub repository:
git clone https://github.com/Yorubae/mpd-automate.git
- Navigate to the project folder:
cd mpd-automate
- Run the setup script
python setup.py
- Provide your spotify client id, secret id and redirect url. You can get it done on spotify
An example of the config file, you can also manually configure this variable tho
Path = ""
TempPath = ""
clientId = ""
clientSecret = ""
redirectUrl = ""
MPD Automate is licensed under the MIT License.
Contributions to MPD Automate are welcome! If you would like to contribute to this project, please follow the guidelines outlined in the CONTRIBUTING.md file.
I would like to express my gratitude to the developers of the youtube-search-python, PyTube, and Spotipy libraries, as MPD Automate relies heavily on their functionality.