... My Raspberry Pi does not use my USB sound card! I can type something but don’t know how to save or run a command afterwards. 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. I also set the btspeaker as default which makes things easier. After editing the service configuration in nano, press Ctrl+x to save and close the file. 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 comment on Install Spotify Connect on your Raspberry Pi with ‘raspotify” on Raspberry Pi OS In my case, my USB device Open the service configuration file of raspotify. This setup is an affordable way of connecting any speakers to Spotify. https://github.com/notifications/unsubscribe-auth/AfZF7r3ON5bI9WBpzlVbyH2XaIWVjTIUks5su0kggaJpZM4P-jxl. Have a question about this project? 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. Thanks, On Sun, Oct 22, 2017 at 9:54 AM harrybaumann < harrybaumann ( harrybaumann ***@***. I hope this helps though! I'm posting this addition in case someone else runs into the same problem. Also tried restart etc. Raspotify is a Debian package and associated repository which thinly wraps the awesome librespot library by Paul Lietar and others. sudo systemctl restart raspotify 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. 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. I managed to get my non-default USB audio device working by doing the following: List the audio devices on your raspberry. to your account. Your solution solved my issue of no audio. Fresh Raspbian install, fresh Raspotify install. If you have questions or need details on the above, I'm not your guy. Will look at this today. 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. Introduction. Now with only one Spotify open it plays again as it should. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Please help. Subdevice #3: subdevice #3. By clicking “Sign up for GitHub”, you agree to our terms of service and Look for the identifyer numbers of your device. 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. 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). (So now i can simply switch between the two devices with no additional configuration) So far so good. 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. Setting the USB-Sound card as Default. 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. Restart raspotify: sudo systemctl restart raspotify. Sign in Save, close, restart service. I got a nice raspotify setup with multiple raspberrys at home. In my case, my USB device is card 1, device 0. Fresh Raspbian install, fresh Raspotify install. 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. I had it running before, but at some point the music became distorted, and after a reboot it stopped playing at all. I am running Raspotify on a Pi 3 B+ connected by HDMI to a TV. —————— Now you can send Spotify to your Pi using Spotify Connect from any device! I am running Raspotify as part of DietPi. All you need is a (any) Raspberry Pi, the SD card for it, power, and a way to plug it into your stereo. I might be having a similar issue - have used raspotify on this pi for many months, but suddenly having issues. PulseAudio sound server instead of ALSA, which allows for simultaneous playback and improves Bluetooth options. The text was updated successfully, but these errors were encountered: Today I had a similar issue, working raspotiy stop working from one day to next (seems working fine but no sound). Here is the part of the asound.conf that seems to work for me: 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. sudo apt-get -y install raspotify. We’ll occasionally send you account related emails. Maybe you don't use the right audio output device. The solution was to set the device to the bluetooth speaker as is was defined in /etc/asound.conf. So, if after trying out all the … Done. Everyone, I'll give it some thought and see if I can push a fix soon. 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). Open to suggestions! Add a parameter to the ExecStart command: --device hw:1,0 (where the first I got Raspotify (Librespot) to work well with Bluetooth speaker by just adding the asound.conf without any fiddling of the Raspotify conf file. If you’re using an USB sound card, the next step is to configure alsa to use it as the default. I believe the dmix entry is the essential part. Pulse doesn't want to be shared between the user I create (raspotify) and the desktop user. I then reimaged my Pi. The HDMI device for example is on card 0, device 1. —————— Now you can send Spotify to your Pi using Spotify Connect from any device! number is the card and the second is the device). I have the Spotify premium account. I ran the install and everything is showing up in Spotify Connect but there's no sound going through. I have an RPI 3 running Raspbian 2021-01-11 with Raspotify installed and the DAC+ Pro. It works out of the box on all three revisions of the Pi, immediately after installation. Good luck! Upon further investigation, I am getting the following error when I play: ERROR:librespot_playback::audio_backend::alsa: Alsa error PCM open -22 You can find the best solutions to solve it here. You signed in with another tab or window. I have set the dtoverlay to this card. Successfully merging a pull request may close this issue. I also tried using hifiberry, but spotify could not find it to connect. Open the service configuration file of raspotify. There's an audio icon you can select (right-click) to choose the audio output device. Only other two things that are running are dnsmasq and hostapd. — Everything plays OK through HDMI but Raspotify. The text was updated successfully, but these errors were encountered: Maybe you don't use the right audio output device. I still have sound, but it could be described as "distorted", as OP says. 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. If raspotify does not appear after boot, here are some options. This follows that it all works for me using Jessie Lite (since I have no desktop environment). sudo nano /lib/systemd/system/raspotify.service sudo apt-get -y install raspotify. Started fresh and wrote down the … 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. Subdevices: 3/4 When I do aplay -l, the DAC is listed as soundcard 0; device 0. sudo systemctl daemon-reload Disclaimer. Tried PulseAudio with no luck. 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. omxplayer example.mp3 works fine. I think you might have missed to define btspeaker as a controller, see the ctl.btspeaker part below. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. In my case, though, $ aplay -l shows an empty list (not sure why). However since the recent Vero update there is no sound. I managed to get my omxplayer example.mp3 -o local works just fine. The software I used is called Raspotify and it is really simple to get up and running. We’ll occasionally send you account related emails. I had it running before, but at some point the music became distorted, and after a reboot it stopped playing at all. Your device might be having a technical problem. Already on GitHub? It has worked extremely well for two years. 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? sudo nano /lib/systemd/system/raspotify.service. Sign in Reinstall raspotify fixed the issue. PulseAudio sound server instead of ALSA, which allows for simultaneous playback and improves Bluetooth options. non-default USB audio device working by doing the following: Besides the volume settings, it could be caused by the overused RAM/CPU, internet issue or so. You should hear a read out of your audio channels. Subdevice #2: subdevice #2 By clicking “Sign up for GitHub”, you agree to our terms of service and raspotify should now be running, check it’s status by typing systemctl status raspotify. privacy statement. Reply to this email directly, view it on GitHub (. Using the Raspotify software package, we can set up your Raspberry Pi so that it can work as a cheap Spotify Connect device. Raspotify is a Spotify Connect client for Raspbian on the Raspberry Pi that Just Works™. ... but there's no public address for those folks.) privacy statement. Raspbian adds an index of -2 to the snd-usb-audio module. 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. So I connected the XR18 via USB ran aplay -l and found it straight out of the box: Thanks, I tried reinstalling it, and reinstalling Raspbian, but it did nothing. sudo systemctl restart raspotify. Any thoughts? Look for the identifyer numbers of your device. Add a parameter to the ExecStart command: --device hw:1,0 (where the first number is the card and the second is the device). For me it seems to be the same songs on a playlist, the last few. The conf file below also works with mpd given that btspeaker is added to its conf file. I'm able to connect to raspotify, and music is showing as playing on my controller device, but no sound is coming out. The last entry was the magic for me. Subdevice #1: subdevice #1 Then tested each device manually until I found the appropriate device. 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. I have the pi set up as a Roon Bridge and it works fine for that. 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 Then alsamixer to boost the volume :). Spotify was connecting to raspotify but I could not get any audio. Almost any Pi except a Zero are basically plug-n-play as they have a 3.5mm audio jack. Tried PulseAudio with no luck. aplay -l EDIT2: unfortunately it suddenly stops playing again. is card 1, device 0. Save, close, restart service. If you want to make changes to the Pi as a Spotify Connect source: sudo pico /etc/default/raspotify @harrybaumann Thank you for providing help. Thanks for the report. If raspotify does not appear after boot, here are some options. aplay -l omxplayer example.mp3 -o local works just fine. Exactly what the title says. 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 Everytime it reaches there, it will stop and I need to restart Raspotify. 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. List the audio devices on your raspberry. Note that per another thread, I disabled the onboard bcm soundcard in order to use my USB DAC. $ aplay -l shows only the hardware gear, $ aplay -L shows PCM, so btspeaker should be listed there. The HDMI device for example is on card 0, device 1. Podcast quality. EDIT: turned out that having 2 pc's with Spotify open interferred with Raspotify. Download Latest Version to your account. Have a question about this project? ... raspotify – no sound even though phone is connected to Pi. Tried apt update, reinstalling package, reducing/increasing memory split - no effect. I ran, card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones] sudo systemctl daemon-reload I change the audio source to raspotify and it started playing, however it stopped after 2-3 seconds. You are receiving this because you authored the thread. Only other two things that are running are dnsmasq and hostapd. I then reimaged my Pi. If you want to make changes to the Pi as a Spotify Connect source: sudo pico /etc/default/raspotify I eventually removed pulseaudio, rebooted and everything works like a charm. Still no audio. ***> ) > wrote: Working as a Spotify Connect device allows you to easily stream songs from any Spotify app to your Raspberry Pi.