Skip to content

Create playlist for your local music files and listen on every device

License

Notifications You must be signed in to change notification settings

jesusisavailable/Spotify-automate

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

72 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Spotify-automate

Create playlist for your local music files and listen on every device

This is a personal project

Why I built this program?

1. I wanted to list my local songs on spotify app and listen to them on all of my devices (Phone, TV, Car), but to do that I had to copy the local files onto all of my devices which is time/space consuming and a tedious task.

2. If in case of you have a data loss, you might loose all your local files and your fav songs, so its better to store it or create playlist on spotify and listen everywhere.

3. To do the above mentioned tasks, I had to manually search and add all of my songs to my spotify playlist one after one which is a hassle ๐Ÿ˜’

To solve the above problems I bulit Spotify-automate.

How is my program helpful?

1. Spotify-automate reads all your local music files.

2. Searches all your local songs from the spotify database using spotify API references and adds them to a playlist.

3. So this enables you to listen to all your local songs on any of your devices without having to have the local files stored on other devices ๐Ÿ˜„

Spotify has a feature called "Local files" where you can listen to your local songs, but you cannot listen to them on other devices as you need to have a copy of all those songs stored onto your devices(TV or Car), which is not possible. "Local files" feature is not available for every device and gadgets.

How to run Spotify-automate?

1. Before running the python script you have to get to your client_id and client_secret from Spotify developers website.

Link to the spotify developers website

2. Go to spotify developers website, login with your spotify account.

3. Create an app, give the title and description about the app (just give whatever you want).

createanapp

4. After creating the app, go to edit settings, add https://www.google.com/ as the redirect URL.

go to edit settings

add redirect URL

5. Now copy your client_id and client_secret.

Copy this

6. Open "spotifymain.py" and paste your credentials.

paste here

7. Copy and paste destination path of your music folder.

8. Install requirements in terminal.

How to install requirements

pip install -r requirements.txt

5. Run the python script.

6. After running the program on cmd, it will redirect you to google.com for your permission, grant the permission, copy the URL and paste the URL on cmd.

paste URL

7. Follow the instructions.

8. Enjoy your fav songs everywhere ๐Ÿ™€

If the songs are not added or the song added is different from the local song then the mp3 file dosen't contain proper title, album or artist name.
video.mp4

About

Create playlist for your local music files and listen on every device

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%