g3rb3n / plugin.audio.spotify2

Spotify addon for Kodi
Other
2 stars 1 forks source link

Python Module "six" not found #1

Open PicusJu opened 1 year ago

PicusJu commented 1 year ago

Running on Raspi3 and LE 11.01 (Kodi 20) I got the issue that the python module "six" was not found. Assumingly, the module is not included with the shipped Python3. I was able to solve the problem (for me) by copying the module on the Raspi to ~/.kodi/userdata/addon_data/six-1.16.0 and then to insert import sys sys.path.append('/storage/.kodi/userdata/addon_data/six-1.16.0') prior to the import six in file ~/.kodi/addons/plugin.audio.spotify2/lib/spotipy/client.py

Maybe, the "six" module can be included somehow into the plugin?

g3rb3n commented 1 year ago

Hi @PicusJu , thank you for reporting this issue.

I did not encounter this issue, six might have already been installed on my systems. Spotipy indeed uses six, this will need to be added. I think the following plugin should be a requirement in addon.xml. https://kodi.tv/addons/matrix/script.module.kodi-six/

Cheers!

g3rb3n commented 1 year ago

PS. I have tried to install the plugin on the Vero4K. This requires a different binary for playback. The raspotify connect client works but seems to sometimes break the sound in kodi. I have also not published the auth server on a stable place on the internet yet.

PicusJu commented 1 year ago

Hi @g3rb3n, actually, this would have been my next question: When trying to run the plugin, with the server "https://kodi.g3rb3n.online/1/" the error log gives me a "502 bad gateway". I suppose, the server is not reachable? Alternatively, I sure would consider to run the oauth server myself, but I don't fully understand, what needs to be actually done. For me, having only basic skills in programming, the instructions are a bit too general.

BR, PicusJu

g3rb3n commented 6 months ago

Hi @PicusJu,

I agree, this is not a end user friendly project. You currently need to setup your own oauth server to get an access code.