glk1001 / glk1001.github.io

Kodi repository for the Unofficial Spotify for Kodi Add-on and the Goom++ visualization add-on.
17 stars 1 forks source link

Spotify login failed. #7

Open SerdarARIKAN opened 9 months ago

SerdarARIKAN commented 9 months ago

Hi there...

I loaded this addon and configure my credantials. But when run return "Spotify login failed. Either no credentials have been set or the Spotify username or password is incorrect. Please check your username and password in the addon settings"

I tryed login with username and mail.

What do you recommend me to do?

glk1001 commented 9 months ago

Try again after exiting Kodi. If it fails again then you need to look at the Kodi log for more error information. If you can get the log to me using pastebin or hastebin then I can help.

coltc50 commented 9 months ago

Same here. Can't Login. `2023-11-29 18:21:27.002 T:1092 info : plugin.audio.spotify:spotty:run_spotty: Spotty args: /storage/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/arm-linux/spott> 2023-11-29 18:21:27.419 T:1092 info : plugin.audio.spotify:spotty_auth:get_token: Spotty stdout: b'{"error":"Failed to create session or connect to servers."}\n' 2023-11-29 18:21:28.423 T:1092 warning : plugin.audio.spotify:main_service:__get_retry_auth_token: Took 20 retries to get authorization token. 2023-11-29 18:21:28.427 T:1092 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

2023-11-29 18:21:28.429 T:1092 info : CPythonInvoker(0, /storage/.kodi/addons/plugin.audio.spotify/service.py): waiting on thread 3376411264`

glk1001 commented 9 months ago

I'm not sure what device you're using but for some reason the authorisation command is failing. This is usually an incorrect username or password (you can check these in "/storage/.kodi/userdata/addon_data/plugin.audio.spotify/settings.xml").

If you can get to a command line, can you run the authorisation command:

/storage/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/x86-linux/spotty-muslhf --cache /home/greg/.kodi/userdata/addon_data/plugin.audio.spotify/spotty-cache --ap-port 54443 --verbose --enable-audio-cache --name temp-spotty --get-token --client-id 2eb96f9b37494be1824999d58028a305 --scope user-read-playback-state,user-read-currently-playing,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-read-private,user-read-email,user-read-birthdate,user-top-read -u SPOTIFY_USER_NAME -p PASSWORD

where you put in your user name and password instead of SPOTIFY_USER_NAME and PASSWORD. If it succeeds you should get something like

{"accessToken":"BQCaYudMOY.....","expiresIn":3600}

as output.

devbar commented 9 months ago

Same here. Can't Login. `2023-11-29 18:21:27.002 T:1092 info : plugin.audio.spotify:spotty:run_spotty: Spotty args: /storage/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/arm-linux/spott> 2023-11-29 18:21:27.419 T:1092 info : plugin.audio.spotify:spotty_auth:get_token: Spotty stdout: b'{"error":"Failed to create session or connect to servers."}\n' 2023-11-29 18:21:28.423 T:1092 warning : plugin.audio.spotify:main_service:get_retry_auth_token: Took 20 retries to get authorization token. 2023-11-29 18:21:28.427 T:1092 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'Exception'> Error Contents: Could not get Spotify auth token for user '1146105155'. Traceback (most recent call last): File "/storage/.kodi/addons/plugin.audio.spotify/service.py", line 19, in MainService().run() File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 85, in run self.renew_token() File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 124, in __renew_token raise Exception( Exception: Could not get Spotify auth token for user 'xxxxxxxxxx'. -->End of Python script error report<--

2023-11-29 18:21:28.429 T:1092 info : CPythonInvoker(0, /storage/.kodi/addons/plugin.audio.spotify/service.py): waiting on thread 3376411264`

Rollback to 1.3.7 worked for me. It feels like a bug in latest version.

glk1001 commented 9 months ago

There weren't many changes from1.3.7 but it could be something wrong on the 'spotty' command line. The extract from the log you showed is a bit truncated. Can you get me a bigger section of the kodi log. I need to see the full spotty command line and it's response. The kodi log should contain a number of full command lines something like this:

/storage/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/x86-linux/spotty-muslhf --cache /home/greg/.kodi/userdata/addon_data/plugin.audio.spotify/spotty-cache --ap-port 54443 --verbose --enable-audio-cache --name temp-spotty --get-token --client-id 2eb96f9b37494be1824999d58028a305 --scope user-read-playback-state,user-read-currently-playing,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-read-private,user-read-email,user-read-birthdate,user-top-read -u SPOTIFY_USER_NAME -p PASSWORD

coltc50 commented 9 months ago

Sorry seems to be a wrong password in my case... Now login worked but it only plays some seconds and then it stops.

RobbieMackenzie commented 9 months ago

Hi, this was an issue for me too on 1.3.8 and replacing it with 1.3.7 worked for me like it did for @devbar. I'm on a Raspberry Pi 4 (aarch64) running Raspberry Pi OS Bookworm with Python 3.11.

Thanks for the add-on! Much appreciated.

glk1001 commented 9 months ago

Hi Guys, I've tried 1.3.8 with Ubuntu, Windows 10, and FireCube (Android 9, arm) and it seems OK. Can one of you give a log with the failed login (either hastebin or pastebin would do). Otherwise I'm not sure what I can do to fix this. Thanks.

L-Dlbcq commented 8 months ago

Same problem here with any version of addon. I’m using Kodi with LibreElec 11.0.4 on RPi4.

I don’t have logs right now but I will give you when I can.

[EDIT]

This is what I got from logs

glk1001 commented 8 months ago

Thanks. If you can get me the full logs that would be great.

L-Dlbcq commented 8 months ago

There’s the log when trying connection

2024-01-05 23:16:03.863 T:19077 error : Repository add-on repository.atreides.tools uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use

definitions. 2024-01-05 23:16:03.864 T:19077 error : Repository add-on repository.atreides.tools does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition 2024-01-05 23:16:03.864 T:19077 warning : Repository add-on repository.chainsrepo uses plain HTTP for add-on downloads in path http://thechains24.com/_zips/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled! 2024-01-05 23:16:03.865 T:19077 error : Repository add-on repository.universalscrapers uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use definitions. 2024-01-05 23:16:03.865 T:19077 error : Repository add-on repository.universalscrapers does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition 2024-01-05 23:16:03.992 T:801 warning : CGUIMediaWindow::OnMessage - updating in progress 2024-01-05 23:16:04.114 T:19076 info : plugin.audio.spotify:service:: Python version: 3.11.2 (main, Dec 20 2023, 07:16:57) [GCC 12.2.0]. 2024-01-05 23:16:04.114 T:19076 info : plugin.audio.spotify:service:: Python exe: /usr/bin/python3. 2024-01-05 23:16:04.141 T:19076 info : plugin.audio.spotify:service:: Platform: Linux-6.1.68-aarch64-with-glibc2.36. 2024-01-05 23:16:04.859 T:19076 info : plugin.audio.spotify:main_service:init: Spotify plugin version: 1.3.7. 2024-01-05 23:16:04.864 T:19076 info : plugin.audio.spotify:spotty_helper:get_linux_spotty_path: Reported architecture: 'aarch64'. 2024-01-05 23:16:04.869 T:19076 info : plugin.audio.spotify:spotty_helper:test_spotty: ok spotty v1.3.1 - using librespot 0.4.2 d197824 (Built on 2023-08-06, Build ID: wUhGRbBx, Profile: release) {"autoplay":true,"debug":false,"lms-auth":true,"ogg-direct":true,"podcasts":true,"save-token":true,"version":"1.3.1","volume-normalisation":true,"zeroconf-port":true}

2024-01-05 23:16:04.871 T:19076 info : plugin.audio.spotify:spotty_helper:get_spotty_path: Spotty architecture detected. Using spotty binary '/storage/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/arm-linux/spotty-muslhf'. 2024-01-05 23:16:04.881 T:19076 info : plugin.audio.spotify:http_video_player_setter:set_http_rule: There is already a video http rule in '/storage/.kodi/userdata/playercorefactory.xml'. Nothing to do. 2024-01-05 23:16:04.884 T:19076 info : plugin.audio.spotify:main_service:run: Starting main service loop. 2024-01-05 23:16:04.887 T:19076 info : plugin.audio.spotify:main_service:run: Started bottle with port 52308. 2024-01-05 23:16:04.889 T:19076 info : plugin.audio.spotify:main_service:renew_token: Retrieving auth token.... 2024-01-05 23:16:04.892 T:19076 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

  • NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'Exception'> Error Contents: Could not get spotify username. Traceback (most recent call last): File "/storage/.kodi/addons/plugin.audio.spotify/service.py", line 21, in MainService().run() File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 86, in run self.renew_token() File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 122, in renew_token self.auth_token = self.get_retry_auth_token() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 143, in get_retry_auth_token auth_token = self.get_token() ^^^^^^^^^^^^^^^^^^ File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 156, in get_token self.spotty_helper.get_username(), self.__spotty_helper.get_password() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/spotty_helper.py", line 31, in get_username raise Exception("Could not get spotify username.") Exception: Could not get spotify username. -->End of Python script error report<--

2024-01-05 23:16:04.892 T:19076 info : CPythonInvoker(20, /storage/.kodi/addons/plugin.audio.spotify/service.py): waiting on thread 3301954176 2024-01-05 23:16:04.897 T:19081 info : plugin.audio.spotify:bottle_manager:bottle_stderr: ('Bottle v0.13-dev server starting up (using MyWSGIRefServer())...',) 2024-01-05 23:16:04.901 T:19081 info : plugin.audio.spotify:bottle_manager:bottle_stderr: ('Listening on http://localhost:52308/',) 2024-01-05 23:16:04.904 T:19081 info : plugin.audio.spotify:bottle_manager:__bottle_stderr: ('Hit Ctrl-C to quit.\n',) 2024-01-05 23:16:04.911 T:19081 info : plugin.audio.spotify:bottle_manager:run: Starting wsgiref web server, timeout = 600. 2024-01-05 23:16:30.885 T:844 info : JSONRPC Server: New connection added 2024-01-05 23:16:32.204 T:19084 error : Repository add-on repository.atreides.tools uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use

definitions. 2024-01-05 23:16:32.204 T:19084 error : Repository add-on repository.atreides.tools does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition 2024-01-05 23:16:32.204 T:19084 warning : Repository add-on repository.chainsrepo uses plain HTTP for add-on downloads in path http://thechains24.com/_zips/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled! 2024-01-05 23:16:32.206 T:19084 error : Repository add-on repository.universalscrapers uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use definitions. 2024-01-05 23:16:32.206 T:19084 error : Repository add-on repository.universalscrapers does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition 2024-01-05 23:16:36.105 T:19089 error : Repository add-on repository.atreides.tools uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use definitions. 2024-01-05 23:16:36.105 T:19089 error : Repository add-on repository.atreides.tools does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition 2024-01-05 23:16:36.105 T:19089 warning : Repository add-on repository.chainsrepo uses plain HTTP for add-on downloads in path http://thechains24.com/_zips/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled! 2024-01-05 23:16:36.107 T:19089 error : Repository add-on repository.universalscrapers uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use definitions. 2024-01-05 23:16:36.107 T:19089 error : Repository add-on repository.universalscrapers does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition 2024-01-05 23:16:41.698 T:844 info : JSONRPC Server: Disconnection detected 2024-01-05 23:17:50.962 T:844 info : JSONRPC Server: New connection added

glk1001 commented 8 months ago

OK, thanks. Can you check the settings file ".kodi/userdata/addon_data/plugin.audio.spotify/settings.xml"? The plugin should be looking for 'username' in there. Also, can you set logging to 'Debug' and try again and send me the log? Thanks

chrisgo67 commented 8 months ago

Hi, i am on libreelec 11 nightly from 20231216, Kodi 20.2.0 The login on spotify works fine. I can browse my content. When trying to play a song it does not work but give an error. I will provide an errorlog later.

mikeyounge commented 8 months ago

Had an issue with a login the first time, but a reboot after setting up my credentials seems to have fixed it.

damnms commented 7 months ago

i also got that error, will reboot and see if that helps. i mean, its a linux, would wonder me if i have to reboot to be able to login to a spotify app :D

reboot did not help

2024-01-23 20:18:09.681 T:3740     info <general>: plugin.audio.spotify:spotty:run_spotty: Spotty args: /storage/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/arm-linux/spotty-muslhf --cache /storage/.kodi/userdata/addon_data/plugin.audio.spotify/spotty-cache --ap-port 54443 --verbose --enable-audio-cache --name temp-spotty --get-token --client-id xxx --scope user-read-playback-state,user-read-currently-playing,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-read-private,user-read-email,user-read-birthdate,user-top-read -u xxx@xxx.de -p ****
2024-01-23 20:18:09.911 T:3740     info <general>: plugin.audio.spotify:spotty_auth:get_token: Spotty stdout: b'{"error":"Failed to create session or connect to servers."}\n'
2024-01-23 20:18:10.913 T:3740  warning <general>: plugin.audio.spotify:main_service:__get_retry_auth_token: Took 20 retries to get authorization token.
2024-01-23 20:18:10.915 T:3740    error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'Exception'>
                                                   Error Contents: Could not get Spotify auth token for user 'xxx@xxx.de'.
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.audio.spotify/service.py", line 21, in <module>
                                                       MainService().run()
                                                     File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 87, in run
                                                       self.__renew_token()
                                                     File "/storage/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 130, in __renew_token
                                                       raise Exception(
                                                   Exception: Could not get Spotify auth token for user 'xxx@xxx.de'.
                                                   -->End of Python script error report<--

2024-01-23 20:18:10.915 T:3740     info <general>: CPythonInvoker(1, /storage/.kodi/addons/plugin.audio.spotify/service.py): waiting on thread 3368022720

its a 3 month test abo, so guess i wont be able to use that with kodi

chrisgo67 commented 7 months ago

It works fine on a pi 4 and libreelec 11 nightly for me now.

BerendRaap commented 7 months ago

Hi @glk1001 thank you for all your efforts. I also have problem logging in for Kodi. When I follow your steps from CLI , I get the correct response as you mentioned:

/home/osmc/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/arm-linux/spotty-muslhf --cache /home/greg/.kodi/userdata/addon_data/plugin.audio.spotify/spotty-cache --ap-port 54443 --verbose --enable-audio-cache --name temp-spotty --get-token --client-id 2eb96f9b37494be1824999d58028a305 --scope user-read-playback-state,user-read-currently-playing,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-read-private,user-read-email,user-read-birthdate,user-top-read -u ****** -p *****

returns: {"accessToken":"BQARlRv9mxXgp.........","expiresIn":3600}

In the Log I see: /home/osmc/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/arm-linux/spotty-muslhf --cache /home/osmc/.kodi/userdata/addon_data/plugin.audio.spotify/spotty-cache --ap-port 54443 --verbose --enable-audio-cache --name temp-spotty --get-token --client-id 2eb96f9b37494be1824999d58028a305 --scope user-read-playback-state,user-read-currently-playing,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-read-private,user-read-email,user-read-birthdate,user-top-read -u -p

with response: info : plugin.audio.spotify:spotty_auth:get_token: Spotty stdout: b'{"error":"Failed to create session or connect to servers."}\n'

I (quadruppel)checked settings in settings.xml and they are ok.

I tried hardcoding user and pw directly in spotty_helper.py but that did not work either. Then tried to go to version 1.37 as some reported but that also did not help at first. After rebooting it worked finally. (to be honest I did not reboot after hardcoding user and pw)

Vichman67 commented 5 months ago

Not quite sure if I'm doing things properly, but - is this addon suitable for use with non-premium Spotify account (provided is kind of fork from Marcelveldt addon)? If not, please disregard this message.

Second question: Is it suitable for use under Raspberry PI5 - LibreELEC 11.0.6 - Kodi 20.3 Nexus? If not, please disregard this message.

And my problem: I've tried addon versions 1.3.7 and 1.3.9 without achieving successful login into my Spotify FREE account.

By the way, I'm wondering about this command. I've used the executable under /storage/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/arm-linux/ (I'm on LibreELEC and RPI5), so I suppose this is the right one. And I've changed the path to cache directory for the one existing on my system: not /home/greg/.kodi/... but /storage/.kodi/userdata/addon_data/plugin.audio.spotify/spotty-cache. So my spotty-muslhf command goes like this:

/storage/.kodi/addons/plugin.audio.spotify/resources/lib/deps/spotty/arm-linux/spotty-muslhf --cache /storage/.kodi/userdata/addon_data/plugin.audio.spotify/spotty-cache --ap-port 54443 --verbose --enable-audio-cache --name temp-spotty --get-token --client-id 2eb96f9b37494be1824999d58028a305 --scope user-read-playback-state,user-read-currently-playing,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-read-private,user-read-email,user-read-birthdate,user-top-read -u SPOTIFY_USER_NAME -p PASSWORD I guess this is right.

Here is my debug enabled log, from Kodi start up to just after Spotify login error.

  1. Part 1
  2. Part 2

Any help will be much appreciated...

damnms commented 5 months ago

@Vichman67 i assume it does not work with the free account as it did also not work on mine. i "won" a 3 month free account and was unable to login with kodi.

Vichman67 commented 5 months ago

@Vichman67 i assume it does not work with the free account as it did also not work on mine. i "won" a 3 month free account and was unable to login with kodi.

OK, I'll wait for glk1001 confirmation, but I was suspecting that too. Anyway, thanks for your reply!

glk1001 commented 5 months ago

Hi, You do need a premium account (see https://github.com/michaelherger/librespot). And it should work on a Raspberry Pi

Vichman67 commented 5 months ago

Thanks a lot!

El dom, 7 abr 2024, 4:17, glk1001 @.***> escribió:

Hi, You do need a premium account (see https://github.com/michaelherger/librespot). And it should work on a Raspberry Pi

— Reply to this email directly, view it on GitHub https://github.com/glk1001/glk1001.github.io/issues/7#issuecomment-2041278955, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBFLTSRASEXXM3QPOLJTRTY4CUFDAVCNFSM6AAAAAA726FJFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGI3TQOJVGU . You are receiving this because you were mentioned.Message ID: @.***>

S1llyG1t commented 4 weeks ago

Addon stopped working and I noticed that there was this new update 1.3.10 to resolve the login issue. I installed and followed the instructions but still can't get it to log in.

I'm still on Nexus so don't know if that is an issue. Also running on W10.

I never saw an option to authenticate, but a windows firewall box did pop up and I accepted. I did seem to be able to connect to spotty on my desktop app, but that didn't resolve the issue.

When I launch Spotify addon it just says login failed. I don't see any option anywhere that were mentioned in the instructions.

I've tried relaunching Kodi and reinstalling the plugin while deleting all data.

Not sure what else to try at this point. Hoping to get it working again as this is my daily music player.

Here's a snippet from the log, but have no idea how to decipher it.

2024-08-17 16:04:45.592 T:4396 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

  • NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'TypeError'> Error Contents: format_exception() missing 2 required positional arguments: 'value' and 'tb' Traceback (most recent call last): File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\deps\spotipy\client.py", line 271, in _internal_call response.raise_for_status() File "C:\Users\spam4\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.spotify.com/v1/me/

                                               During handling of the above exception, another exception occurred:
    
                                               Traceback (most recent call last):
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\plugin_content.py", line 79, in __init__
                                                   self.check_auth_and_refresh_spotipy()
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\plugin_content.py", line 99, in check_auth_and_refresh_spotipy
                                                   self.init_spotipy(auth_token)
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\plugin_content.py", line 116, in init_spotipy
                                                   self.__userid: str = self.__spotipy.me()["id"]
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\deps\spotipy\client.py", line 1221, in me
                                                   return self._get("me/")
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\deps\spotipy\client.py", line 323, in _get
                                                   return self._internal_call("GET", url, payload, kwargs)
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\deps\spotipy\client.py", line 293, in _internal_call
                                                   raise SpotifyException(
                                               spotipy.exceptions.SpotifyException: http status: 403, code:-1 - https://api.spotify.com/v1/me/:
                                                Check settings on developer.spotify.com/dashboard, the user may not be registered., reason: None
    
                                               During handling of the above exception, another exception occurred:
    
                                               Traceback (most recent call last):
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\plugin.py", line 12, in <module>
                                                   PluginContent()
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\plugin_content.py", line 93, in __init__
                                                   log_exception(exc, "PluginContent init error")
                                                 File "C:\Users\spam4\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\utils.py", line 39, in log_exception
                                                   log_msg(" ".join(format_exception(exc)), loglevel=LOGERROR, caller_name=the_caller_name)
                                               TypeError: format_exception() missing 2 required positional arguments: 'value' and 'tb'
                                               -->End of Python script error report<--
glk1001 commented 4 weeks ago

Do another install. I've updated the "plugin.audio.spotify-1.3.10.zip" using the old Spotify client_id. The one you tried had a new client_id which turned out to have restrictions. The old client_id doesn't. Other users have had success with the latest .zip so let me know how you go.

S1llyG1t commented 4 weeks ago

Yup, that worked! Thank you so much!

S1llyG1t commented 4 weeks ago

Wish it was all good news but now for some reason it seems to be autoskipping to the next track after a few seconds.

glk1001 commented 4 weeks ago

Oh well, a slight improvement. Can you send me your Kodi log and I'll see if there's any clues.

S1llyG1t commented 4 weeks ago

kodi.log

Here you go.

glk1001 commented 4 weeks ago

Thanks. Some network issue that is not obvious to me. I did upload a "plugin.audio.spotify-1.3.10-test.zip" that might be worth trying. Let me know if it works.

S1llyG1t commented 3 weeks ago

Initial testing seems that this version has solved the issue. No longer skipping to next track. I'll keep tabs on it and let you know if it starts misbehaving again. Otherwise(fingers crossed), it appears fully functional again for me. Thanks again!

Hey, while I have you here, I've had a question for awhile that's perhaps a long shot in the dark. When you go to artist/album view, it seems to lump in all singles/EPs along with standard album releases, which can get quite cluttered depending on the artist. Am I missing anything as far as sorting goes(aside from making custom playlists)? Is that something that can be addressed at all? Just curious. I don't want to look a gift horse in the mouth. ;)

glk1001 commented 3 weeks ago

Hope it keeps working. I'll have a look at Albums. The Spotify web api does seem to have an albums, singles, compilation split. So it should be doable.