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
  Not able to add custom audio output sjtuross 1 526 24-Sep-2023, 07:43 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 1,354 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  [SOLVEDOutput devices - Device is closed with MPD mb32 1 716 10-Feb-2023, 12:22 AM
Last Post: hkphantomgtr
  [SOLVEDSpotify? cpcat 1 704 05-Feb-2023, 07:26 AM
Last Post: agent_kith
  good mpd client macos Tecko 3 1,169 07-Feb-2022, 09:06 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
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5821
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 465
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1690
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 115
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 115
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 351
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 95
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 126
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 235
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 163

[-]
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-2024. Theme © Melroy van den Berg.