Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify playlist fails #435

Closed
gunlof opened this issue Jan 20, 2018 · 5 comments
Closed

Spotify playlist fails #435

gunlof opened this issue Jan 20, 2018 · 5 comments

Comments

@gunlof
Copy link

gunlof commented Jan 20, 2018

The first time I try to play somethging from Spotify this happens:

The command
tizonia --spotify-playlist richter
finds the playlist and tries to play the first song but then exits with
[OMX_ErrorInsufficientResources]
[OMX.Aratelia.audio_renderer.pulseaudio.pcm:port 0]

Do I need to change some configuration ?

@gunlof
Copy link
Author

gunlof commented Jan 21, 2018

Sorry for

@gunlof gunlof closed this as completed Jan 21, 2018
@gunlof
Copy link
Author

gunlof commented Jan 21, 2018

Sorry for unnecessary posting, I had not set up the USB headset properly.

@juanrubio
Copy link
Member

No issues!. Great to hear that you were able to work out the issue.

@flxwu
Copy link

flxwu commented Apr 22, 2018

Hey @gunlof , how did you fix it?

@juanrubio
Copy link
Member

Hi @gunlof ,

Could you please provide more details?

Are you running on a Raspberry Pi? USB audio perhaps?. If so, with a reasonably recent version of Tizonia, on Raspbian, you should be able to get USB audio going with this in your tizonia.conf:

[plugins]
# ALSA Audio Renderer
OMX.Aratelia.audio_renderer.alsa.pcm.alsa_device = default
OMX.Aratelia.audio_renderer.alsa.pcm.alsa_mixer = Master

[tizonia]
# Tizonia player section
default-audio-renderer = OMX.Aratelia.audio_renderer.alsa.pcm

And in your $HOME/.asoundrc, an ALSA config like this one:

pcm.!default {
    type hw
    card 1
}
ctl.!default {
    type hw
    card 1
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants