Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

ngrt-sh/spotindexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotindexer

A simple Python Spotify GUI downloader

Installation

  1. Downloaded repo
  2. Install these modules : tkinter, customtkinter*, spotipy, spotdl
  3. Replace UR_CLIENT_ID and UR_CLIENT_SECRET by your proper client ID and client secret. See here to find these (you must create an app)
  4. Run spotindexer.py or ctk_spotindexer.py

*optionnal if you use only spotindexer.py and not ctk_spotindexer.py.

Images

Tkinter

tkinterprev

Customtkinter

ctkprev

Known errors

When you download a music other than default MP3 (MP3 320k or FLAC or WAV ...), you can have an error like this: The above exception was the direct cause of the following exception:

+--------------------- Traceback (most recent call last) ---------------------+
| C:\Users\NGRT\AppData\Local\Programs\Python\Python312\Lib\site-packages\spo |
| tipy\client.py:311 in _internal_call                                        |
|                                                                             |
|    308                 reason = retry_error.args[0].reason                  |
|    309             except (IndexError, AttributeError):                     |
|    310                 reason = None                                        |
| >  311             raise SpotifyException(                                  |
|    312                 429,                                                 |
|    313                 -1,                                                  |
|    314                 f"{request.path_url}:\n Max Retries",                |
+-----------------------------------------------------------------------------+
SpotifyException: http status: 429, code:-1 -                                  
/v1/artists/7hJcb9fa4alzcOq3EaNPoG:

There are not any solution to remediate it but you can retry download.

Another error is "yt-dlprovider error". Like the first, there are not any solution to remediate it but you can retry download.

Licence & copyright

This project is open-source and you can modify the code if you need and redistribuate it with or not attribution of myself. COPYRIGHT CONTENT NOTICE: You download content protected by the copyright, to do not engage law pursuit, engage you to keep the music for yourself and do not broadcast it!

About

A Python Spotify downloader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages