mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #161] No Playback #112
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ytzelf on GitHub (Feb 22, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/161
I'm running librespot on a raspberry 3 w/ raspbian stretch lite.
The raspberry is connected to an Allo Boss DAC :
I'm issuing the command
My raspberry appears correctly in the Spotify Android app, logs react to skipping / seeking / volume BUT song stays at 0:00 and total duration shows 0:00 as well... I can paste detailed debug ouput if needed but standard log pretty much stops after
@kingosticks commented on GitHub (Feb 22, 2018):
Shouldn't it be
hw:0,0?EDIT: This was in response to the original unedited post
Or just don't specify the device, since the 'BOSSDAC' appears to be your default anyway.
@ytzelf commented on GitHub (Feb 22, 2018):
Nope
I've tried a billion combination of different device but since I have only one and its default --backend alsa should suffice...
@kingosticks commented on GitHub (Feb 22, 2018):
Note I said
hw : 0 , 0, nothw 0 , 0. But yes, you don't need it anyway. So, for clarity, your command is now actually:Right? And depending on how it was compiled you might not need
--backend alsaeither.But regardless of all of this, since spotifyd is not librespot and has it's own config handling, isn't this question better directed at that project rather than here?
@ytzelf commented on GitHub (Feb 22, 2018):
That's correct for the command.
I actually have the exact same issue w/ spotifyd so I've posted in their Github as well but that's just a wrong copy paste - edited 1st post.
@awiouy commented on GitHub (Feb 23, 2018):
Have you tried
--device "default:CARD=BossDAC"?@ytzelf commented on GitHub (Feb 23, 2018):
This actually works! thanks a lot 💃
@awiouy commented on GitHub (Feb 23, 2018):
@sashahilton00
This could be added to the wiki.
I tried to have
--device ?list alsa devices but librespot only opens the alsa sink when a track starts playing. Moreover, rust-alsa does not appear to provide a call to list devices.@ComlOnline commented on GitHub (Feb 24, 2018):
As noted in #107 it works for the portaudio backend but not others.
@sashahilton00 commented on GitHub (Feb 24, 2018):
@awiouy only portaudio implements list devices, I believe it's noted briefly in the CLI usage instructions. It's one of the things that needs to be added at some point, but it's a long way down the list of things to do.
@ytzelf commented on GitHub (Jul 5, 2018):
I've implemented a wiki page specifying syntax for alsa backend devices : https://github.com/librespot-org/librespot/wiki/Devices
Don't know if that's relevant and appropriate but might as well start helping somewhere.