#19 how to enable spotify plugin?

Closed
opened 3 months ago by jojo · 1 comments
jojo commented 3 months ago

Hi,
I am getting this when trying to download a spotify playlist. Do I need to set an option in config.json to enable the plugin?

(deemix) jojo@gin ~/git/deemix-py (main) $ deemix https://open.spotify.com/playlist/xxxxxxxxxxxx
Traceback (most recent call last):
  File "/Users/jojo/.venvs/deemix/bin/deemix", line 33, in <module>
    sys.exit(load_entry_point('deemix==3.4.2', 'console_scripts', 'deemix')())
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/__main__.py", line 103, in download
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/__main__.py", line 70, in downloadLinks
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/__init__.py", line 59, in generateDownloadObject
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/plugins/spotify.py", line 69, in generateDownloadObject
  File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/plugins/spotify.py", line 113, in generatePlaylistItem
Exception: Spotify plugin not enabled
(deemix) jojo@gin ~/git/deemix-py (main) $

thanks a ton!

Hi, I am getting this when trying to download a spotify playlist. Do I need to set an option in config.json to enable the plugin? ``` (deemix) jojo@gin ~/git/deemix-py (main) $ deemix https://open.spotify.com/playlist/xxxxxxxxxxxx Traceback (most recent call last): File "/Users/jojo/.venvs/deemix/bin/deemix", line 33, in <module> sys.exit(load_entry_point('deemix==3.4.2', 'console_scripts', 'deemix')()) File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/click/core.py", line 1137, in __call__ return self.main(*args, **kwargs) File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/click/core.py", line 1062, in main rv = self.invoke(ctx) File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/click/core.py", line 763, in invoke return __callback(*args, **kwargs) File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/__main__.py", line 103, in download File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/__main__.py", line 70, in downloadLinks File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/__init__.py", line 59, in generateDownloadObject File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/plugins/spotify.py", line 69, in generateDownloadObject File "/Users/jojo/.venvs/deemix/lib/python3.9/site-packages/deemix-3.4.2-py3.9.egg/deemix/plugins/spotify.py", line 113, in generatePlaylistItem Exception: Spotify plugin not enabled (deemix) jojo@gin ~/git/deemix-py (main) $ ``` thanks a ton!
jojo commented 3 months ago
Poster

Sorry, my bad, my credentials where just wrong. I now created a spotify app in developer settings and all is working fine. closing...

what could help though is an error message that states that creds are actually wrong and that's why the plugin can't be enabled.

Sorry, my bad, my credentials where just wrong. I now created a spotify app in developer settings and all is working fine. closing... what could help though is an error message that states that creds are actually wrong and that's why the plugin can't be enabled.
jojo closed this issue 3 months ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.