We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


How To Use Another Audio Device In Spotify Client
#11
(07-Feb-2020, 12:44 AM)OscarH Wrote: No luck I’m afraid...

It seems as if all outputs except USB have now been successfully disabled for all players.

The MPD player and upnp plays just like before.

However Spotify now fails to play at all but instead for each song comes up with the error ‘song unavailable’. This error typically comes when a computer is offline, however this is not the case as other internet functions are there.

Have sent you the diagnostics file.
Everything looks good as far as i can tell. The ALSA output can't be muted, because MPD is working.

Are you playing songs from Spotify, or local?

Can you go into Spotify settings, under advanced, make sure "Show Unavailable songs in playlists" is off? This looks more like a Spotify issue, probably need to ask them.

[Image: Spotify-Unavailable.png]
Snakeoil Operating System - Music, your way!
Reply

#12
Hi agent_kith,

Thanks for checking. It’s rather mysterious... all settings are as they should. Everything plays fine on all other computers in the home network.

I can also control any other Spotify Connect device through the VNC on the snakeoil machine and they still play. Yet somehow no songs are available to the snakeoil machine.

Will investigate whether Spotify have an equally dedicated support... doubt it...
Reply

#13
One last hail mary, maybe can SSH into the PC and run the following:
Code:
sudo rm ~/.config/spotify/ -rf

Also, can you run the following and let me know what it says?
Code:
ls /etc/asound.* -l

Restart the PC. You should be prompted to re sign-in to Spotify. now see if you get audio out your USB.
Snakeoil Operating System - Music, your way!
Reply

#14
(07-Feb-2020, 02:08 PM)agent_kith Wrote: One last hail mary, maybe can SSH into the PC and run the following:
Code:
sudo rm ~/.config/spotify/ -rf

Also, can you run the following and let me know what it says?
Code:
ls /etc/asound.* -l

Restart the PC. You should be prompted to re sign-in to Spotify. now see if you get audio out your USB.

For the last piece of code it said: no such file or directory

Somewhat uncertain about whether it successfully ran the first code.

Spotify still does the same: declares all songs unavailable.

I have restarted the computer between all above attempts.

I might give at a 64 bit install another go...
Reply

#15
(07-Feb-2020, 04:08 PM)OscarH Wrote: For the last piece of code it said: no such file or directory
That part is correct

(07-Feb-2020, 04:08 PM)OscarH Wrote: Somewhat uncertain about whether it successfully ran the first code.
if you restart Spotify and it asked you re-login, then it's working.

(07-Feb-2020, 04:08 PM)OscarH Wrote: Spotify still does the same: declares all songs unavailable.

I have restarted the computer between all above attempts.

I might give at a 64 bit install another go...
Maybe there's a bug with 32 bit version. Certainly give the 64 bits a go and let me know how it goes. Hopefully this weekend I can run the 33 bit code and see if it works.
Snakeoil Operating System - Music, your way!
Reply

#16
Just for completeness I went back to the original kernel. Spotify now plays fine through the headphone out again, just like before. And all the output options are there for the other players.

Seems the DSD kernel doesn't work with Spotify, but possibly the audio output part of it has some value?

Will try to create a new bootable media. Not sure why the 64 bit didn't want to install last time.
Reply

#17
(07-Feb-2020, 05:15 PM)OscarH Wrote: Just for completeness I went back to the original kernel. Spotify now plays fine through the headphone out again, just like before. And all the output options are there for the other players.

Seems the DSD kernel doesn't work with Spotify, but possibly the audio output part of it has some value?

Will try to create a new bootable media. Not sure why the 64 bit didn't want to install last time.
The DSD kernel only works with the USB audio driver, hence your observation above. Because your onboard audio output is the first audio device, it'll work.

For all intents and purposes it seems Spotify is "hard coded" to always use the first audio device (i.e. card 0). The DSD kernel still treats the USB audio as card 1, even though it's the only audio device. This is just a suspicion atm and I'll try and verify this later when I can.

So, as strange as it may sound, have to figure out how to disable your onboard audio. I'm just surprised I can't seem to find the option to do that in the manual.
Snakeoil Operating System - Music, your way!
Reply

#18
The DSD Kernel somehow corrupts the Spotify functionality - i.e. the songs come up as unavailable. So it’s not certain whether the audio would in fact go to usb, despite this being called “1”.
Reply

#19
Hmm.

Using the DSD kernel, remote desktop to the virtual desktop, quit Spotify. Then right click with your mouse and start a new terminal. Run the following commands:
Code:
spotify --show-console
Now start to play some music again. You should see a lot more output in the background now (called a console). Cut and paste the contents and hopefully there's something informative in there.
Snakeoil Operating System - Music, your way!
Reply

#20
I’ve sent you the Spotify console output.

I won’t have access to the snakeoil computer the coming week. When I get back I’ll try the 64-bit install.
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDNo audio devices on RPi5 with latests builds miksi 16 1,356 21-Apr-2025, 12:52 AM
Last Post: miksi
  Snakeoil 1.4 and Squeezelite R2 - not rembering USB audio output petemac110 4 516 23-Feb-2025, 07:47 PM
Last Post: petemac110
  Not able to add custom audio output sjtuross 1 820 24-Sep-2023, 07:43 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 2,015 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  [SOLVEDOutput devices - Device is closed with MPD mb32 1 1,035 10-Feb-2023, 12:22 AM
Last Post: hkphantomgtr



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
Yesterday 06:43 AM
» Replies: 14
» Views: 872
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 5940
Android Firefox issues with forum
Last Post: agent_kith
03-Jun-2025 04:14 PM
» Replies: 20
» Views: 1122
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 533
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 385
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 3193
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 3489
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 10647
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 2584
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 678

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.