[GH-ISSUE #141] adding spotify #79

Closed
opened 2026-02-27 19:28:18 +03:00 by kerem · 14 comments
Owner

Originally created by @jurajs5 on GitHub (Jan 25, 2026).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/141

spotify is currently now allowing to create new apps, is there any other way how to add spotify account?

Originally created by @jurajs5 on GitHub (Jan 25, 2026). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/141 spotify is currently now allowing to create new apps, is there any other way how to add spotify account?
kerem closed this issue 2026-02-27 19:28:18 +03:00
Author
Owner

@rudyberends commented on GitHub (Jan 25, 2026):

If you already had an app registered you can add the callback to that one. I can also add you to the buildin one, but I need to add your emailadres to it. If you want to share it I can add you.

<!-- gh-comment-id:3797233434 --> @rudyberends commented on GitHub (Jan 25, 2026): If you already had an app registered you can add the callback to that one. I can also add you to the buildin one, but I need to add your emailadres to it. If you want to share it I can add you.
Author
Owner

@jurajs5 commented on GitHub (Jan 25, 2026):

i dont have app registred yet, pls add me if you can: jslusny@icloud.com

<!-- gh-comment-id:3797236411 --> @jurajs5 commented on GitHub (Jan 25, 2026): i dont have app registred yet, pls add me if you can: jslusny@icloud.com
Author
Owner

@rudyberends commented on GitHub (Jan 25, 2026):

I added you to the default app, but I might take some time to process.

you will need the default clientid. It is already prefilled, but you need to save it;
26faeb2006ba44ed89ac34f9344670e2

After you saved the id, you can add a user account. Only the account you supplied will work with this id. You can also use the loxone app to add your account

<!-- gh-comment-id:3797254803 --> @rudyberends commented on GitHub (Jan 25, 2026): I added you to the default app, but I might take some time to process. you will need the default clientid. It is already prefilled, but you need to save it; 26faeb2006ba44ed89ac34f9344670e2 After you saved the id, you can add a user account. Only the account you supplied will work with this id. You can also use the loxone app to add your account
Author
Owner

@jurajs5 commented on GitHub (Jan 27, 2026):

lox-audioserver-logs-2026-01-27T10-13-49-790Z.txt

hi, i was able to add account, but spotify is not playning anything.

  • i do see list of music and playlists
  • when i press play, nothing happens

attaching log and screenshot

lox-audioserver-logs-2026-01-27T10-07-00-808Z.txt

Image
<!-- gh-comment-id:3804276289 --> @jurajs5 commented on GitHub (Jan 27, 2026): [lox-audioserver-logs-2026-01-27T10-13-49-790Z.txt](https://github.com/user-attachments/files/24880127/lox-audioserver-logs-2026-01-27T10-13-49-790Z.txt) hi, i was able to add account, but spotify is not playning anything. - i do see list of music and playlists - when i press play, nothing happens attaching log and screenshot [lox-audioserver-logs-2026-01-27T10-07-00-808Z.txt](https://github.com/user-attachments/files/24880045/lox-audioserver-logs-2026-01-27T10-07-00-808Z.txt) <img width="1250" height="1226" alt="Image" src="https://github.com/user-attachments/assets/77a334c4-95f7-4906-90e8-0d64b2195784" />
Author
Owner

@rudyberends commented on GitHub (Jan 27, 2026):

Do you have spotify connect disabled globaly?

<!-- gh-comment-id:3807196418 --> @rudyberends commented on GitHub (Jan 27, 2026): Do you have spotify connect disabled globaly?
Author
Owner

@jurajs5 commented on GitHub (Jan 27, 2026):

Crap, sorry - after enabling it spotify is working. however its sometimes fragmented, is is possible to setup some buffer? I see that currently no buffer in stream

Image
<!-- gh-comment-id:3807297510 --> @jurajs5 commented on GitHub (Jan 27, 2026): Crap, sorry - after enabling it spotify is working. however its sometimes fragmented, is is possible to setup some buffer? I see that currently no buffer in stream <img width="1096" height="310" alt="Image" src="https://github.com/user-attachments/assets/f8a21d65-f3a7-4666-b708-32adcd932d5d" />
Author
Owner

@rudyberends commented on GitHub (Jan 27, 2026):

Yeah well, this is actually a bug. You should be able to disable Spotify Connect if you don’t want to use it. However, Spotify playback will still use Spotify Connect internally when playing Spotify content via Loxone library.

At the moment, the global input setting blocks this. As a workaround, you can disable the inputs for all zones and Spotify playback will still work. I will fix this in the next release so Spotify Connect can be disabled properly at a global level.

I’ve made a lot of changes to the engine recently, which requires continuous testing of all components to ensure nothing breaks. Unfortunately, due to recent changes on Spotify’s side, I’m currently unable to use Spotify myself. This affects librespot and Music Assistant as well, but only for “new” Spotify accounts.

If you can provide a debug or spam log of playing a Spotify item, I’ll try to fix the issue based on that.

<!-- gh-comment-id:3807338928 --> @rudyberends commented on GitHub (Jan 27, 2026): Yeah well, this is actually a bug. You should be able to disable Spotify Connect if you don’t want to use it. However, Spotify playback will still use Spotify Connect internally when playing Spotify content via Loxone library. At the moment, the global input setting blocks this. As a workaround, you can disable the inputs for all zones and Spotify playback will still work. I will fix this in the next release so Spotify Connect can be disabled properly at a global level. I’ve made a lot of changes to the engine recently, which requires continuous testing of all components to ensure nothing breaks. Unfortunately, due to recent changes on Spotify’s side, I’m currently unable to use Spotify myself. This affects librespot and Music Assistant as well, but only for “new” Spotify accounts. If you can provide a debug or spam log of playing a Spotify item, I’ll try to fix the issue based on that.
Author
Owner

@jurajs5 commented on GitHub (Jan 27, 2026):

another issue on spotify:

  • if you play any spotify playlist, only 1 song will by played, system will not play next song
  • system looks confused - see attached video - low quality due size limit attachment - it looks like every song have max 9 sec, then stream starts from 0 - so system have no idea where currently is, every 9 sec its starts as new time line, however song is playing ok - maybe based on this issue system will be not able to start newxt song in playlist

lox-audioserver-logs-2026-01-27T20-49-21-645Z.txt

https://github.com/user-attachments/assets/2f7dfaf3-fd1c-463c-ab62-4e15297596c7

<!-- gh-comment-id:3807519033 --> @jurajs5 commented on GitHub (Jan 27, 2026): another issue on spotify: - if you play any spotify playlist, only 1 song will by played, system will not play next song - system looks confused - see attached video - low quality due size limit attachment - it looks like every song have max 9 sec, then stream starts from 0 - so system have no idea where currently is, every 9 sec its starts as new time line, however song is playing ok - maybe based on this issue system will be not able to start newxt song in playlist [lox-audioserver-logs-2026-01-27T20-49-21-645Z.txt](https://github.com/user-attachments/files/24894497/lox-audioserver-logs-2026-01-27T20-49-21-645Z.txt) https://github.com/user-attachments/assets/2f7dfaf3-fd1c-463c-ab62-4e15297596c7
Author
Owner

@rudyberends commented on GitHub (Jan 27, 2026):

There is a fix for both issues on the testing branch. They are untested so they might not work.
Try the branch and see if the issues are gone. If they are still there supply me with a new spam log.

<!-- gh-comment-id:3807746922 --> @rudyberends commented on GitHub (Jan 27, 2026): There is a fix for both issues on the testing branch. They are untested so they might not work. Try the branch and see if the issues are gone. If they are still there supply me with a new spam log.
Author
Owner

@jurajs5 commented on GitHub (Jan 28, 2026):

i am on test and i did reinstall test branch - none of fix is OK

<!-- gh-comment-id:3812864633 --> @jurajs5 commented on GitHub (Jan 28, 2026): i am on test and i did reinstall test branch - none of fix is OK
Author
Owner

@rudyberends commented on GitHub (Jan 28, 2026):

You are sure you are on the latest commit? try "git pull" from the application root.

If the issue still persists I will need a new spam log while the issue is being reproduced. I cannot reproduce issue or test the fix myself, so we might need another fix or two

<!-- gh-comment-id:3813431607 --> @rudyberends commented on GitHub (Jan 28, 2026): You are sure you are on the latest commit? try "git pull" from the application root. If the issue still persists I will need a new spam log while the issue is being reproduced. I cannot reproduce issue or test the fix myself, so we might need another fix or two
Author
Owner

@jurajs5 commented on GitHub (Jan 28, 2026):

i did clean install today on new virtual machine,

  • playlists are stoping after 1st song,
  • time line is cut after 9seconds - only 1x per song, rest of song seems to be ok.
  • music is still fragmented on radios stream or spotify
<!-- gh-comment-id:3813576202 --> @jurajs5 commented on GitHub (Jan 28, 2026): i did clean install today on new virtual machine, - playlists are stoping after 1st song, - time line is cut after 9seconds - only 1x per song, rest of song seems to be ok. - music is still fragmented on radios stream or spotify
Author
Owner

@rudyberends commented on GitHub (Jan 28, 2026):

Understood. I still need the logs though

<!-- gh-comment-id:3814109703 --> @rudyberends commented on GitHub (Jan 28, 2026): Understood. I still need the logs though
Author
Owner

@jurajs5 commented on GitHub (Feb 8, 2026):

testing beta 4

  • radio is still very fragmented
  • spotify dont play at all - system show that music is playning, but with no sound from speaker
  • log attached

lox-audioserver-logs-2026-02-08T10-02-46-366Z.txt

<!-- gh-comment-id:3866865556 --> @jurajs5 commented on GitHub (Feb 8, 2026): testing beta 4 - radio is still very fragmented - spotify dont play at all - system show that music is playning, but with no sound from speaker - log attached [lox-audioserver-logs-2026-02-08T10-02-46-366Z.txt](https://github.com/user-attachments/files/25160390/lox-audioserver-logs-2026-02-08T10-02-46-366Z.txt)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#79
No description provided.