I was trying to get raspotify to work on RasPi Zero W which is streaming to a bluetooth speaker, which I've connected using alsa and a PCM definition in /etc/asound.conf. ERROR:librespot_playback::player: Could not start audio: Alsa error: PCM open failed, Again, I note I can plan PCM audio to this DAC using Roon RAAT and HQPlayer NAA, I found that the wrong device was being used: 0,1. But the ultimate method should be backuping Spotify tracks to your computer by downloading TuneFab Spotify Music Converter so that you can listen to them on multiple devices anytime. non-default USB audio device working by doing the following: I currently set the OPTION parameter --device hw:X,0 in /etc/default/raspotify to hardcode output playing on hw device X, otherwise there is no sound from raspotify. I tried to kill pulseaudio and then restarted it. Successfully merging a pull request may close this issue. Pulse doesn't want to be shared between the user I create (raspotify) and the desktop user. Since a week I am having issues that raspotify won't play anything, while the progressbar in Spotify just continues. Everything plays OK through HDMI but Raspotify. sudo systemctl daemon-reload sudo systemctl restart raspotify Author walkman Posted on November 25, 2020 November 25, 2020 Categories Music , Raspberry Pi , Streaming Music Leave a Reply Cancel reply Have a question about this project? The HDMI device for example is on card 0, device 1. I hope this helps though! privacy statement. Look for the identifyer numbers of your device. Working as a Spotify Connect device allows you to easily stream songs from any Spotify app to your Raspberry Pi. The easiest way to install Sound Juicer in Ubuntu is to open the Ubuntu Software store, type “sound juicer” in the search and select install. omxplayer example.mp3 -o local works just fine. We’ll occasionally send you account related emails. Thanks, I eventually removed pulseaudio, rebooted and everything works like a charm. EDIT: turned out that having 2 pc's with Spotify open interferred with Raspotify. raspotify should now be running, check it’s status by typing systemctl status raspotify. omxplayer example.mp3 works fine. privacy statement. Already on GitHub? I tend to use Sound Juicer for the mainstream artists and XCFA for CDs I’m having trouble with (like no entry in the MusicBrainz database). Add a parameter to the ExecStart command: --device hw:1,0 (where the first number is the card and the second is the device). Raspbian adds an index of -2 to the snd-usb-audio module. Tried PulseAudio with no luck. If you want to make changes to the Pi as a Spotify Connect source: sudo pico /etc/default/raspotify You are receiving this because you authored the thread. —————— Now you can send Spotify to your Pi using Spotify Connect from any device! ... but there's no public address for those folks.) Thanks for the report. In my case, my USB device is card 1, device 0. I can type something but don’t know how to save or run a command afterwards. I ran, card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones] Raspotify is a Spotify Connect client for Raspbian on the Raspberry Pi that Just Works™. Fresh Raspbian install, fresh Raspotify install. I managed to get my Open to suggestions! Re: No sound with raspotify using 3.5mm Audio Jack Wed Feb 17, 2021 7:59 am ah Sorry Ronnie I didnt realised Ive been confused reading too much into the topic too many commands to remember lol, glad you got it working. Your device might be having a technical problem. Open the service configuration file of raspotify. Fresh Raspbian install, fresh Raspotify install. Restart raspotify: sudo systemctl restart raspotify. When I do aplay -l, the DAC is listed as soundcard 0; device 0. Thanks, On Sun, Oct 22, 2017 at 9:54 AM harrybaumann < harrybaumann ( harrybaumann ***@***. Hi, I tried the above but still no sound (Spotify sees Raspotify fine and says it is connected)...my Pi3 is connected to a Pro-Ject S2 DAC. sudo apt-get -y install raspotify. So I connected the XR18 via USB ran aplay -l and found it straight out of the box: Successfully merging a pull request may close this issue. Restart raspotify: sudo systemctl restart raspotify. Any thoughts? I have the Spotify premium account. Try a different device. I then reimaged my Pi. Restarted raspotify, audio plays now over XLR. Sign in Therefore if you have the problem of Spotify playing but no sound, then you can try to restart Spotify, re-login your account, update to the latest version, etc. Save, close, restart service. aplay -l The case it’s housed in has full HDMI ports and spreads the connections out in the back, so there’s no cables going in at all angles. So, if after trying out all the … Subdevice #0: subdevice #0 Podcast quality is equivalent to approximately 96kbit/s on all devices except the web player where it’s 128kbit/s.. On mobile/tablet, if you change the audio quality to low, the podcast quality will lower to approximately 24kbit/s. You should hear a read out of your audio channels. Download Latest Version I created a guide so you can build and of course, customize your own system. List the audio devices on your raspberry. Will look at this today. I tried recompile with newest librespot, but it's not working. Have a question about this project? aplay -l For me it seems to be the same songs on a playlist, the last few. Podcast quality. omxplayer example.mp3 -o local works just fine. —————— Now you can send Spotify to your Pi using Spotify Connect from any device! I had it running before, but at some point the music became distorted, and after a reboot it stopped playing at all. sudo systemctl restart raspotify — Reply to this email directly, view it on GitHub (. I still have sound, but it could be described as "distorted", as OP says. I have an RPI 3 running Raspbian 2021-01-11 with Raspotify installed and the DAC+ Pro. Everytime it reaches there, it will stop and I need to restart Raspotify. I have set the dtoverlay to this card. Note that per another thread, I disabled the onboard bcm soundcard in order to use my USB DAC. Only other two things that are running are dnsmasq and hostapd. All you need is a (any) Raspberry Pi, the SD card for it, power, and a way to plug it into your stereo. Worked for me. Raspotify is a Debian package and associated repository which thinly wraps the awesome librespot library by Paul Lietar and others. I might be having a similar issue - have used raspotify on this pi for many months, but suddenly having issues. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Maybe you don't use the right audio output device. You can find the best solutions to solve it here. Save, close, restart service. It has worked extremely well for two years. sudo nano /lib/systemd/system/raspotify.service. sudo systemctl daemon-reload sudo systemctl restart raspotify distantdark Music , Raspberry Pi , Streaming Music Leave a comment November 25, 2020 1 Minute Ubuntu 20.04 update and MSQL issues Everything else is the same basic layout with all my playlists but all I get is a slight “pop” noise when I try to play it. It works out of the box on all three revisions of the Pi, immediately after installation. And with DietPi, both Roon RAAT and HQPlayer NAA works fine. Disclaimer. I'm posting this addition in case someone else runs into the same problem. Upon further investigation, I am getting the following error when I play: ERROR:librespot_playback::audio_backend::alsa: Alsa error PCM open -22 sudo systemctl restart raspotify. to your account. to your account. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. The solution was to set the device to the bluetooth speaker as is was defined in /etc/asound.conf. The software I used is called Raspotify and it is really simple to get up and running. sudo systemctl daemon-reload Already on GitHub? Introduction. Subdevices: 3/4 Raspotify is a Spotify Connect client for Raspbian on the Raspberry Pi that Just Works™. I ran the install and everything is showing up in Spotify Connect but there's no sound going through. This may be a bit of basic question - but when I open all that up in Terminal, I don’t know how to save the config files. Reinstall raspotify fixed the issue. ***> ) > wrote: Rather than hardcoding the selection, how do I set up so that raspotify would play out on whichever device the system is currently uses as output device? I had it running before, but at some point the music became distorted, and after a reboot it stopped playing at all. There are many great improvements to Raspberry Pi OS for the Pi enthusiasts.. Chromium browser updated to version 84, which allows smoother video playback in sites like Youtube.com. Spotify was connecting to raspotify but I could not get any audio. Therefore, for above, I added --device hw:0,0. Exactly what the title says. If you’re using an USB sound card, the next step is to configure alsa to use it as the default. Everyone, I'll give it some thought and see if I can push a fix soon. In my case, my USB device ... My Raspberry Pi does not use my USB sound card! sudo systemctl daemon-reload https://github.com/notifications/unsubscribe-auth/AfZF7r3ON5bI9WBpzlVbyH2XaIWVjTIUks5su0kggaJpZM4P-jxl. I am running Raspotify as part of DietPi. Tried apt update, reinstalling package, reducing/increasing memory split - no effect. It's actually like it's inserting a large number of tiny gaps per second into the audio, so the song is playing slowly because it's stretched out by the gaps. I'm able to connect to raspotify, and music is showing as playing on my controller device, but no sound is coming out. If you want to make changes to the Pi as a Spotify Connect source: sudo pico /etc/default/raspotify Prior to making that change, the speaker test would work and all seemed well, but there was no sound when playing from Raspotify. However, now I would like to have the audio stream of raspotify simultaneously on both the new hifiberry sound card and on the onboard phone jack. Still no audio. I managed to get my non-default USB audio device working by doing the following: List the audio devices on your raspberry. However since the recent Vero update there is no sound. I believe the dmix entry is the essential part. If raspotify does not appear after boot, here are some options. Your solution solved my issue of no audio. sudo apt-get -y install raspotify. I got Raspotify (Librespot) to work well with Bluetooth speaker by just adding the asound.conf without any fiddling of the Raspotify conf file. EDIT2: unfortunately it suddenly stops playing again. Now I just included a Behringer XR18 as mixer for multiple sound devices (vinyl, cd and raspberry) I would like to send the Raspberry sound directly over the USB Soundcard to the XR18. Only other two things that are running are dnsmasq and hostapd. number is the card and the second is the device). If you have questions or need details on the above, I'm not your guy. I have the pi set up as a Roon Bridge and it works fine for that. This follows that it all works for me using Jessie Lite (since I have no desktop environment). After editing the service configuration in nano, press Ctrl+x to save and close the file. I change the audio source to raspotify and it started playing, however it stopped after 2-3 seconds. config.txt has been edited to force HDMI output. Subdevice #3: subdevice #3. I think you might have missed to define btspeaker as a controller, see the ctl.btspeaker part below. Found the Raspotify page and script and in typical comical Linux fashion it didn't even come close to working (I had Logitchmediaserver, squeezelite, pulseaudio installed previously.....even tried to remove it all.....no joy). I am running Raspotify on a Pi 3 B+ connected by HDMI to a TV. The HDMI device for example is on card 0, device 1. Now with only one Spotify open it plays again as it should. Started fresh and wrote down the … By clicking “Sign up for GitHub”, you agree to our terms of service and There are many great improvements to Raspberry Pi OS for the Pi enthusiasts.. Chromium browser updated to version 84, which allows smoother video playback in sites like Youtube.com. There's an audio icon you can select (right-click) to choose the audio output device. PulseAudio sound server instead of ALSA, which allows for simultaneous playback and improves Bluetooth options. Got the issue Spotify no sound? Subdevice #2: subdevice #2 Rather than hardcoding the selection, how do I set up so that raspotify would play out on whichever device the system is currently uses as output device? I then reimaged my Pi. Final Note...and remember kids, have fun! (So now i can simply switch between the two devices with no additional configuration) So far so good. @harrybaumann Thank you for providing help. ... raspotify – no sound even though phone is connected to Pi. I tried reinstalling it, and reinstalling Raspbian, but it did nothing. I got a nice raspotify setup with multiple raspberrys at home. By clicking “Sign up for GitHub”, you agree to our terms of service and This setup is an affordable way of connecting any speakers to Spotify. Done. The conf file below also works with mpd given that btspeaker is added to its conf file. The text was updated successfully, but these errors were encountered: Maybe you don't use the right audio output device. Almost any Pi except a Zero are basically plug-n-play as they have a 3.5mm audio jack. Subdevice #1: subdevice #1 sudo nano /lib/systemd/system/raspotify.service Good luck! You signed in with another tab or window. Tried PulseAudio with no luck. PulseAudio sound server instead of ALSA, which allows for simultaneous playback and improves Bluetooth options. In my case, though, $ aplay -l shows an empty list (not sure why).