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 321 24-Sep-2023, 07:43 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 900 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  [SOLVEDOutput devices - Device is closed with MPD mb32 1 472 10-Feb-2023, 12:22 AM
Last Post: hkphantomgtr
  [SOLVEDSpotify? cpcat 1 447 05-Feb-2023, 07:26 AM
Last Post: agent_kith
  good mpd client macos Tecko 3 746 07-Feb-2022, 09:06 AM
Last Post: hkphantomgtr



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Something seriously wrong with Squeezeli...
Last Post: Coacharnold
21-Apr-2024 08:28 PM
» Replies: 1
» Views: 27
MP3 Not Playing
Last Post: davem
21-Apr-2024 10:41 AM
» Replies: 4
» Views: 89
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4862
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 106
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 696
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 199
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 102
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 241
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 64
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 93

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