Comments (9)
Please test again with the latest release. This issue should be fixed.
from plugin.audio.spotify.
Nope, doesn't seem to be fixed. Now I get spotty zombie processes instead...
from plugin.audio.spotify.
OK, I'll take a look at it later this week. User switching is kind of a pain to implement.
from plugin.audio.spotify.
Would it be possible to provide me your kodi logfile after you did some user switching ?
btw, you can ignore the spotty processes, they will be cleaned up automatically
from plugin.audio.spotify.
Logfile attached....the only thing which looks suspicious is the "script didn't stop in 5 seconds - let's kill it" part...note that right now Kodi seems to crash on user switch with the spotify plugin enabled rather than spotify just not working anymore (that's why the log file is so short....kodi crashed).
from plugin.audio.spotify.
Like I said, user switching is very sensitive.
I will look at this asap
from plugin.audio.spotify.
Hmmm, your log is a bit confusing. It wants to shutdown right after it started. Did you switch the user right after starting up Kodi ?
Maybe you should wait a bit longer until you switch ?
Python scripts are executed in alphabetically order by Kodi. So at login/startup it will start each python service (including spotify). If you shutdown Kodi or switch a user it send a shutdown command to each python add-on but this is done again one-by-one and not all at once. So if add-on 1 is still processing something it blocks the shutdown for other addons too.
I made sure that the add-on responds very quickly when Kodi requests a shutdown (within 1 second all background processing is ended) but the startup takes a few seconds and that is blocking.
So in theory if the add-on is in it's blocking, startup state and Kodi tries to send a shutdown it will not respond in time and Kodi kills the process and that's exactly what bring it into a useless state because the web proxy port is still hogged by the previous process.
Like I said I will look into it but this is a very sensitive process.
from plugin.audio.spotify.
Sorry for the long delay, this kind of fell off my radar.
Yes, in the log I provided I switch users almost immediately....but the results are exactly the same if I wait a minute and then perform the user switch (I can provide a separate log if necessary).
from plugin.audio.spotify.
new version will be available on the repo within a few minutes, can you give that a try ?
from plugin.audio.spotify.
Related Issues (20)
- Spotify Connect : Can't chose "Local playback on this device" HOT 2
- Spotify does not attempt to install HOT 2
- The music stop suddenly, and play next song HOT 3
- CoreElec 9.2.3 Installation failed HOT 3
- No audio after ~8 minutes on long tracks HOT 7
- Port overlap with Kodi - change port 9090 HOT 1
- no categories in settings - spotify
- Impossible to login HOT 2
- Spotify Connect stops after 1 song HOT 7
- Cannot import into Kodi. HOT 2
- Credentials error HOT 1
- The plugin suddenly stopped working... HOT 2
- Enchancement Request: .strm file generation for library
- Podcasts not working
- not working with pi 4 HOT 1
- "Default browser should now be opened" - but it's not HOT 2
- Spotify Addon in Hotel-like Wlan - edit Player Mac? HOT 1
- Spotify add on is gone?
- Spotify add on is gone?
- Some playlist are inacessible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin.audio.spotify.