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

Comments

Projects
None yet
3 participants
@gunlof
Copy link

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

This comment has been minimized.

Copy link
Author

commented Jan 21, 2018

Sorry for

@gunlof gunlof closed this Jan 21, 2018

@gunlof

This comment has been minimized.

Copy link
Author

commented Jan 21, 2018

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

@juanrubio

This comment has been minimized.

Copy link
Collaborator

commented Jan 21, 2018

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

@flxwu

This comment has been minimized.

Copy link

commented Apr 22, 2018

Hey @gunlof , how did you fix it?

@juanrubio

This comment has been minimized.

Copy link
Collaborator

commented Apr 22, 2018

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
You can’t perform that action at this time.