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
  Snakeoil 1.4 and Squeezelite R2 - not rembering USB audio output petemac110 4 127 23-Feb-2025, 07:47 PM
Last Post: petemac110
  Not able to add custom audio output sjtuross 1 622 24-Sep-2023, 07:43 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 1,602 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  [SOLVEDOutput devices - Device is closed with MPD mb32 1 823 10-Feb-2023, 12:22 AM
Last Post: hkphantomgtr
  [SOLVEDSpotify? cpcat 1 791 05-Feb-2023, 07:26 AM
Last Post: agent_kith



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
SOXR resampler and DSD
Last Post: agent_kith
Today 01:10 PM
» Replies: 3
» Views: 40
A ripping project ideae/help
Last Post: agent_kith
Today 01:09 PM
» Replies: 7
» Views: 78
Glibc 2.36 missing
Last Post: jetski
04-Mar-2025 03:23 AM
» Replies: 5
» Views: 119
Snakeoil 1.4.0 (High End)
Last Post: knottydreadbr
03-Mar-2025 11:42 PM
» Replies: 63
» Views: 4611
Using Ubuntu low latency & real time ker...
Last Post: hkphantomgtr
26-Feb-2025 12:13 AM
» Replies: 12
» Views: 572
My Snakeoil-powered system
Last Post: petemac110
24-Feb-2025 04:30 AM
» Replies: 7
» Views: 589
Snakeoil 1.4 and Squeezelite R2 - not re...
Last Post: petemac110
23-Feb-2025 07:47 PM
» Replies: 4
» Views: 127
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
21-Feb-2025 04:38 PM
» Replies: 9
» Views: 318
Progress update on High End U1
Last Post: agent_kith
21-Feb-2025 10:43 AM
» Replies: 8
» Views: 634
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 733

[-]
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.