Kodi Community Forum
Beta Spotify for Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: Beta Spotify for Kodi (/showthread.php?tid=265356)



RE: Spotify for Kodi - bartbarsch - 2023-11-04

Hey everyone and especially @glk1001,

first of all thanks so much for this plugin. I am running kodi on debian with this plugin (v.1.3.6), and it works great.
I can play music fine, no lags, all good.

But I have one problem:
The device does not show up in the local network as a device I can switch too, when playing music on my phone.
Also, my phone does not register when music is playing on the kodi machine.

Is this intentional or a some (avahi/zeroconf) problem on my side?
Is this something @gkl1001 could help me with, or should I try to ask the authour of the "spotty" branch of librespot?
At the moment, I am not sure whether this working is expected functionality.

Thanks already so much!

Any help is appreciated, let me know if I can help out with logs etc.


RE: Spotify for Kodi - glk1001 - 2023-11-06

Hi,

I can briefly explain how the current Spotify plugin works and then I can mention Spotify connect.

The plugin as it stands now uses two main underlying third party libraries: "spotipy" and "spotty".
Spotipy is a python library that talks to the Spotify web API and is used by the Kodi Spotify plugin
to do authorisation and build menus of playlists, music, etc. Spotty is a binary executable (based
off the "librespot" project) that allows the plugin to stream selected tracks from Spotify directly
to the underlying Kodi music player.

In an earlier version of this Spotify plugin, Spotify connect was included as an experimental option.
But in order to get the plugin working for later versions of Kodi I stripped out the connect option
which made the python code much, much simpler and easy to work with. There have been a couple
of requests for the connect option so I am looking at what's required to put it back.

Just for my understanding what's the main attraction of connect? For example, I'm happy to use the Kodi
menus to navigate Spotify and play music directly inside Kodi. What are the advantages and use cases for
Spotify connect to Kodi?


RE: Spotify for Kodi - kicker - 2023-11-06

(2023-11-06, 06:48)glk1001 Wrote: Just for my understanding what's the main attraction of connect? For example, I'm happy to use the Kodi
menus to navigate Spotify and play music directly inside Kodi. What are the advantages and use cases for
Spotify connect to Kodi?

My setup is Kodi running on Vero OSMC device, connected to a TV box and an audio amplifier. That means, if I want to start listening to spotify, I need now to turn on the TV, navigate through the menus (which are quite slow, BTW) and start playing, then I can turn the TV back off. If I want to change track, I need to turn on TV, navigate menus... You get the idea.
My preferred solution would be to have connect and just select the music I want on my phone and send it to the device. I don't need to mess with the TV, I don't need to pick up my glasses ;-), I don't need to stand up and search for the remote...
Also, I have a family subscription, and having all my family members access to their favorite music is a plus (AFAIK the plugin currently allows only one login, so only one list of suggestions).


RE: Spotify for Kodi - bartbarsch - 2023-11-06

(2023-11-06, 06:48)glk1001 Wrote: Just for my understanding what's the main attraction of connect? For example, I'm happy to use the Kodi
menus to navigate Spotify and play music directly inside Kodi. What are the advantages and use cases for
Spotify connect to Kodi?

Hi glk1001,

for me the usecase is similar to the one stated by kicker.
Additionally, it seems that smart playlists (i.e. spotify continuing to play "matching" music) does not seem to work via kodi (and without connect). Also, in a multi-room setup, I would like to easily switch the song playing in kodi (via an amp, with the connected projector off) to say, the spotify connect enabled speaker in another room.

I would gladly help with any testing/bugfixing.


RE: Spotify for Kodi - mollyrocco - 2023-11-07

hi i am using kodi 20.2 win 11 ,  i have a spotify account but when i play music within kodi i dont get any artwork   any thoughts thanks


RE: Spotify for Kodi - glk1001 - 2023-11-09

Hi,

It could be a Spotify plugin cache problem or maybe Kodi is missing some component. Not sure.

You could try the "Clear the plugin cache" option on the main menu of the Spotify plugin, then restart Kodi and see if the images appear.

If that doesn't work then maybe there's a clue in the Kodi log.


RE: Spotify for Kodi - mollyrocco - 2023-11-09

hi thanks for your reply i cannot see Clear the plugin cache" option on the main menu of the Spotify plugin i done a log it seems to be pointing to the direct texture is failing to load




https://paste.kodi.tv/madojufoqa.kodi


RE: Spotify for Kodi - glk1001 - 2023-11-10

Hi,

I noticed in the log you have the Spotify plugin 1.2.0:

  "plugin.audio.spotify v1.2.0 installed"

Have a look at https://github.com/glk1001/glk1001.github.io which tells you how to get the latest version
of the plugin (1.3.8).

If that doesn't help then the other clue in the log is there are quite a few "error <general>: Unable to find plugin"
problems. I'm not sure what these might be but maybe a fresh install of Kodi would help.


RE: Spotify for Kodi - wags1 - 2023-11-10

@mollyrocco Looks like you are missing some things, skin helper service (v 1.20.0) and metadatautils (v 1.20.0) don’t seem to be there. Could be others as well. You might want to think about re- installing Kodi and the MQ9 Mod.


RE: Spotify for Kodi - city_zen - 2023-11-10

Hi,

I'm trying to run the Spotify add-on, but I keep getting "Playback failed" errors

Login to my Spotify account works fine, and I can list my songs, but whenever I try to play one of them, the systems freezes and I get the "Playback failed" error after a minute or so.

I'm running the latest version (1.3.8) of the add-on.
My Kodi skin is Aeon Nox: SiLVO
I'm running Kodi Nexus 20.2 on CoreELEC

This is the log file:

https://paste.kodi.tv/delasuboqu.kodi

I can see a line with an error ("error <general>: plugin.audio.spotify:spotty_audio_streamer:send_part_audio_stream: Nothing read from stdout."), but I don't know if that's the cause nor how to fix it

Any help, much appreciated

Thanks!


RE: Spotify for Kodi - city_zen - 2023-11-14

(2023-11-10, 05:43)city_zen Wrote: Hi,

I'm trying to run the Spotify add-on, but I keep getting "Playback failed" errors

Login to my Spotify account works fine, and I can list my songs, but whenever I try to play one of them, the systems freezes and I get the "Playback failed" error after a minute or so.

I'm running the latest version (1.3.8) of the add-on.
My Kodi skin is Aeon Nox: SiLVO
I'm running Kodi Nexus 20.2 on CoreELEC

This is the log file:

https://paste.kodi.tv/delasuboqu.kodi

I can see a line with an error ("error <general>: plugin.audio.spotifyConfusedpotty_audio_streamerConfusedend_part_audio_stream: Nothing read from stdout."), but I don't know if that's the cause nor how to fix it

Any help, much appreciated

Thanks!
I reply to my own post with an update.

After A LOT of testing and trial and error, I was finally able to discover the cause of the issues I was having with the Spotify add-on

It was another add-on: Artist Slideshow. I had it installed and was trying to make it work together with the Spotify add-on. Apparently, there is some sort of "conflict" between the two add-ons as Artist Slideshow is probably trying to fetch images from online sources for the currently playing artist on Spotify, and this likely causes an interference with the streaming of the Spotify add-on. I had to completely uninstall Artist Slideshow AND disable all integration with it from my current Kodi skin (Aeon Nox: SiLVO) to get the Spotify add-on working again.
I think that the conflict between the two add-ons that's preventing the Spotify add-on from working correctly isn't about bandwidth, because I have more than enough for concurrent music streaming and downloading images, but about something else (which I don't know yet)

I'd like to be able to get the two add-ons working together again, Artist Slideshow is a nice complement to Spotify, but for now this doesn't appear likely.

Has anyone got Artist Slideshow and Spotify working together?
Does anyone have any ideas about how to solve this issue? Should I ask in the Artist Slideshow thread too?

Thanks


RE: Spotify for Kodi - bristony - 2023-11-26

Hi guys,
Is there a step by step instruction to setup Spotify in Windows 11 with Kodi 20.2?


RE: Spotify for Kodi - glk1001 - 2023-11-28

Have a look at https://github.com/glk1001/glk1001.github.io


RE: Spotify for Kodi - trihy - 2023-12-07

(2023-11-28, 00:57)glk1001 Wrote: Have a look at https://github.com/glk1001/glk1001.github.io

Hi. Added spanish languages to add on.

https://www.mediafire.com/file/f7g622n5cfnxhg6/spotify+es+es+es+ar+es+mx.7z/file

If you want to merge them, feel free to do it Big Grin


RE: Spotify for Kodi - trihy - 2023-12-07

BTW, do you know why those characters appears when entering 'explorer'?

Image

Not sure if those are arabic characters displayed wrong? Saw before some programs confusing 'es_ar' language as arabic, when usually is spanish.