• 1
  • 37
  • 38
  • 39(current)
  • 40
  • 41
  • 131
Beta Spotify for Kodi
No. It's not a fresh install on Rpi , but i started fresh on o Krypton osx build a long time ago .
Make sure to get webrowser ok on pc first. If not start fresh and delete addon data and webrowser cache
Reply
OK. But on a pi with libreelec there is no Webbrowser?!

Sent from my SM-T715
Reply
I have tried to instal and activate Spotify, installed Chromium but no success. Keep givng me an error and that is should check the log.
If I go to the accountpage of my spotify, i have no possibilty to approve any addon.
Is there anyone who can give me an idea to have it work?
Reply
(2016-11-20, 10:50)Palmdale95 Wrote: OK. But on a pi with libreelec there is no Webbrowser?!

Sent from my SM-T715 (typie typie)

http://forum.kodi.tv/showthread.php?tid=...pid2458560
Reply
(2016-11-20, 17:29)Jönke Wrote: http://forum.kodi.tv/showthread.php?tid=...pid2458560


even following this method, couldn't make it work.. (see my post just below the one you linked). any advises ?
Reply
Just had to copy the file from addon-data instead of addons
Reply
(2016-11-20, 20:28)Jönke Wrote: Just had to copy the file from addon-data instead of addons

ok that was a good call. I copied all files to addons/plugin.audio.spotify as well as to userdata/addon_data/plugin.audio.spotify from my windows' Kodi spotify folders to my pi3 (kodi16)

but still the same error notification. I uninstalled the addon, reinstalled it, copied the folder, launched it, and same issue :/

this is in the kodi.log

Quote:11:56:04 338.416870 T:1957270448 ERROR: Window Translator: Can't find window settingsprofile
11:56:10 344.426971 T:1742730224 NOTICE: Spotify --> Your platform (armv7 System.Platform.Linux)
11:56:12 345.857452 T:1742730224 NOTICE: Spotify --> Starting background service...
11:56:12 345.876312 T:1742730224 NOTICE: Spotify --> Checking remembered_user ..
11:56:12 346.149597 T:1581249520 NOTICE: Spotify --> logged in: 0
11:56:16 349.574951 T:1742730224 NOTICE: Spotify --> starting proxy at port 8090
11:56:16 349.575165 T:1742730224 NOTICE: Spotify --> Setting callback ..
11:56:16 349.575378 T:1742730224 NOTICE: Spotify --> Obtaining user token ..
11:56:16 349.575714 T:1742730224 NOTICE: Spotify --> Encoding header ..
11:56:16 350.316772 T:1769853936 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'spotipy.client.SpotifyException'>
Error Contents: http status: 550, code:-1 - no credentials set
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.audio.spotify/plugin.py", line 3, in <module>
Main().main()
File "/home/osmc/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1146, in main
if self.checkLoginDetails():
File "/home/osmc/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1074, in checkLoginDetails
self.token = util.prompt_for_user_token(username)
File "/usr/local/lib/python2.7/dist-packages/spotipy/util.py", line 47, in prompt_for_user_token
raise spotipy.SpotifyException(550, -1, 'no credentials set')
SpotifyException: http status: 550, code:-1 - no credentials set
-->End of Python script error report<--
11:56:16 350.469330 T:1957270448 ERROR: GetDirectory - Error getting plugin://plugin.audio.spotify/
11:56:16 350.469604 T:1957270448 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.spotify/) failed
Reply
Great Addon!!!

I want help you, the Spanish translate is here


Thanks for your addon!
Reply
I'm trying to run this addon on apple tv 4 with kodi 17 . Here is the error log when i'm trying to run the addon;


18:37:37 T:6148009984 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'traceback' is not defined
Traceback (most recent call last):
File "/var/mobile/Library/Caches/home/addons/plugin.audio.spotify/spotifyservice.py", line 3, in <module>
import resources.playbackservice as service
File "/var/mobile/Library/Caches/home/addons/plugin.audio.spotify/resources/playbackservice.py", line 10, in <module>
load_all_libraries()
File "/var/mobile/Library/Caches/home/addons/plugin.audio.spotify/resources/utils.py", line 86, in load_all_libraries
add_native_libraries()
File "/var/mobile/Library/Caches/home/addons/plugin.audio.spotify/resources/utils.py", line 90, in add_native_libraries
architecture = get_architecture()
File "/var/mobile/Library/Caches/home/addons/plugin.audio.spotify/resources/utils.py", line 123, in get_architecture
return get_detected_architecture()
File "/var/mobile/Library/Caches/home/addons/plugin.audio.spotify/resources/utils.py", line 133, in get_detected_architecture
logMsg(traceback.format_exc())
NameError: global name 'traceback' is not defined
-->End of Python script error report<--
Reply
Thanks for this great addon.

I copied the cache file in the following directory:
/storage/.kodi/userdata/addon_data/plugin.audio.spotify.
Reply
(2016-11-21, 11:13)SKUK Wrote: Thanks for this great addon.

I copied the cache file in the following directory:
/storage/.kodi/userdata/addon_data/plugin.audio.spotify.



Hi SKUK, can you please describe the steps you did to make it work ? I tried many times reinstalling the plugin, then copying back the files, with no success, still get the same errors...
Reply
(2016-11-16, 21:31)marcelveldt Wrote: Sorry for the inconvenience, a new beta is uploading to the repo now!

I'm a little late to the party, but I want to say thank you too for all those who helped fix this issue. I hope this addon will be maintained for a long time, I absolutely love it!
Reply
I can't get this addon (latest beta I believe 1.0.25 from marcelveldt's repo) to work on latest LibreELEC Krypton beta 7.90.008 Generic x86_64. I have already installed the Chromium extension and entered my Spotify login credentials, but when I run the app it loads for a good amount of time before it aborts. I've read this thread carefully looking for a solution and I found out about the spotify_auth.py script. I've tested it on my Mac and it seems to work cause it gave me a list of my recent liked tracks on Spotify but I don't know how to run it on my LibreELEC machine since I won't be able to install spotipy using pip on this OS.
Out of the people who made it work on LE Krypton give me an insight on how to successfully get through the login procedure please? :)

EDIT
got it working myself by renaming the cache file created on my Mac (it was a hidden file) to <myusername>.cache just like the description said and then put it in the addon_data/plugin.audio.spotify folder on my LibreELEC PC. I had to restart the machine afterwards and now everything is working perfectly. not too hard actually haha

t h a n k s, good job !
HTPC LibreELEC 9.0 - Xperience1080+
RPi3 LibreELEC Milhouse build - Arctic Zephyr
Reply
I still tried again, to reinstall, to copy/paste files with NICKNAME.cache etc, it's working on my Windows KODI, but not on my Pi3 Kodi with OSMC, even if I copied the exact same files from addons and addon_data to the Pi3.

What could be the issue or how to debug it, I have no idea what other options I can try anymore Sad
Below the error log I have :



Code:
18:54:34  53.748489 T:1742730224  NOTICE: Spotify --> Your platform (armv7 System.Platform.Linux)
18:54:35  55.281933 T:1742730224  NOTICE: Spotify --> Starting background service...
18:54:35  55.379211 T:1742730224  NOTICE: Spotify --> Checking remembered_user ..
18:54:35  55.385921 T:1742730224  NOTICE: Spotify --> Cached session found
18:54:35  55.393009 T:1760859120  NOTICE: Spotify --> logged in: 0
18:54:40  59.512177 T:1742730224  NOTICE: Spotify --> starting proxy at port 8090
18:54:40  59.512367 T:1742730224  NOTICE: Spotify --> Setting callback ..
18:54:40  59.512627 T:1742730224  NOTICE: Spotify --> Obtaining user token ..
18:54:40  59.513008 T:1742730224  NOTICE: Spotify --> Encoding header ..
18:54:40  59.948719 T:1769247728   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'spotipy.client.SpotifyException'>
                                            Error Contents: http status: 550, code:-1 - no credentials set
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.audio.spotify/plugin.py", line 3, in <module>
                                                Main().main()
                                              File "/home/osmc/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1146, in main
                                                if self.checkLoginDetails():
                                              File "/home/osmc/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1074, in checkLoginDetails
                                                self.token = util.prompt_for_user_token(username)
                                              File "/usr/local/lib/python2.7/dist-packages/spotipy/util.py", line 47, in prompt_for_user_token
                                                raise spotipy.SpotifyException(550, -1, 'no credentials set')
                                            SpotifyException: http status: 550, code:-1 - no credentials set
                                            -->End of Python script error report<--
18:54:40  60.090248 T:1957176240   ERROR: GetDirectory - Error getting plugin://plugin.audio.spotify/
18:54:40  60.090492 T:1957176240   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.spotify/) failed
Reply
(2016-11-24, 20:03)mgkday Wrote: I still tried again, to reinstall, to copy/paste files with NICKNAME.cache etc, it's working on my Windows KODI, but not on my Pi3 Kodi with OSMC, even if I copied the exact same files from addons and addon_data to the Pi3.

What could be the issue or how to debug it, I have no idea what other options I can try anymore Sad
Below the error log I have :

I need to take a proper look at it later but from what I see now it couldn't find a browser for the authentication part.
From your working Windows setup copy the folder plugin.audio.spotify in addon_data to your pi and it should work
Reply
  • 1
  • 37
  • 38
  • 39(current)
  • 40
  • 41
  • 131

Logout Mark Read Team Forum Stats Members Help
Spotify for Kodi17