#28 spotify plugin not enabled

Open
opened 4 weeks ago by trogne · 3 comments
trogne commented 4 weeks ago

After updating deemix-py, I can no longer download from spotify.

I get this error :

File "c:\users\patri\anaconda3\lib\site-packages\deemix\plugins\spotify.py", line 171, in getAlbum
    if not self.enabled: raise Exception("Spotify plugin not enabled")
Exception: Spotify plugin not enabled

Spotify download works using python deemix GUI.

Thanks

After updating deemix-py, I can no longer download from spotify. I get this error : ``` File "c:\users\patri\anaconda3\lib\site-packages\deemix\plugins\spotify.py", line 171, in getAlbum if not self.enabled: raise Exception("Spotify plugin not enabled") Exception: Spotify plugin not enabled ``` Spotify download works using python deemix GUI. Thanks
RemixDev commented 4 weeks ago
Poster
Owner

Do you have spotipy lib installed?

pip install spotipy

Did you have the client and secret ids in the right file in the config folder?

Do you have spotipy lib installed? pip install spotipy Did you have the client and secret ids in the right file in the config folder?
trogne commented 3 weeks ago
Poster

Still not work.

pip install spotipy says it's already installed.

So I did pip uninstall spotipy and pip install spotipy.

Now I have spotipy 2.19.0 instead of 2.16.0

But it still does not work :

File "c:\users\patri\anaconda3\lib\site-packages\deemix\plugins\spotify.py", line 171, in getAlbum
    if not self.enabled: raise Exception("Spotify plugin not enabled")
Exception: Spotify plugin not enabled

In deemix gui, I can download from spotify with the spotify features filled in (client ID, client secret, username).

I did a clean uninstall for deemix and spotipy, and still have the problem.

Is there a way to update the deemix config from the command line ?

It's by chance that I discovered that updating in the GUI was also updating for the command line (like download location).

If it's not working on the command line for spotify, is it because I use the wrong GUI ?

Still not work. `pip install spotipy` says it's already installed. So I did `pip uninstall spotipy` and `pip install spotipy`. Now I have spotipy 2.19.0 instead of 2.16.0 But it still does not work : ``` File "c:\users\patri\anaconda3\lib\site-packages\deemix\plugins\spotify.py", line 171, in getAlbum if not self.enabled: raise Exception("Spotify plugin not enabled") Exception: Spotify plugin not enabled ``` In deemix gui, I can download from spotify with the spotify features filled in (client ID, client secret, username). I did a clean uninstall for deemix and spotipy, and still have the problem. Is there a way to update the deemix config from the command line ? It's by chance that I discovered that updating in the GUI was also updating for the command line (like download location). If it's not working on the command line for spotify, is it because I use the wrong GUI ?
trogne commented 3 weeks ago
Poster

It works now.

I found the deemix settings here :

%appdata%/deemix

Then I found that :

%appdata%/deemix/spotify/settings.json

It was empty :

{
  "clientId": "",
  "clientSecret": "",
  "fallbackSearch": false
}

So, the credentials did not update when I updated the GUI, so I fed them manually, and now it works.

It works now. I found the deemix settings here : %appdata%/deemix Then I found that : %appdata%/deemix/spotify/settings.json It was empty : ``` { "clientId": "", "clientSecret": "", "fallbackSearch": false } ``` So, the credentials did not update when I updated the GUI, so I fed them manually, and now it works.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.