Install Spotifyd on a Raspberry Pi

Sdílet
Vložit
  • čas přidán 16. 02. 2022
  • Use a Raspberry Pi and spotifyd to turn any set of speakers into a Spotify Connect Device. This tutorial takes you step by step through the installation and testing. Leave a comment if you have any questions or requests for new videos.
    Subscribe for more Raspberry Pi tutorials :) czcams.com/users/samwestbytech...
    I may earn commission if you purchase from the links below:
    MY CAMERA: amzn.to/3reaDlK
    MY MICROPHONE: amzn.to/3fhunSN
    MY LIGHTING: amzn.to/3dHll1i
    FREE Amazon Prime: amzn.to/3ren80W
    FREE Audible Plus: amzn.to/3xYzJsR
    RASPBERRY PI 4: amzn.to/3BC4i9I
    RASPBERRY PI PICO START KIT: amzn.to/3REvjis
    RASPBERRY PI CAMERA V2: amzn.to/3QFp90c
    ELECTRONICS COMPONENT STARTER KIT: amzn.to/3qB23xg
    ASSORTED SENSOR KIT: amzn.to/3U7M7zV
    USB SPEAKER: amzn.to/3La4foK
    USB 1080P WEBCAM: amzn.to/3Lq0OL7
    Link for installation instructions: spotifyd.github.io/spotifyd/i...
  • Věda a technologie

Komentáře • 45

  • @Laurenhowerr
    @Laurenhowerr Před 2 lety

    you are a life saver dude!!

  • @mitnoxin
    @mitnoxin Před 2 lety

    Awesome video dude. Thanks.

  • @NA26626
    @NA26626 Před rokem

    Great video! Thanks!

  • @diegoloiola7663
    @diegoloiola7663 Před rokem +1

    First, I would like to congratulate you for the video. Second, I would like to know if it works on other SBC's? For example Orange Pi or Banana Pi

  • @jeffryridwan194
    @jeffryridwan194 Před 2 lety

    when you try connect with monitor can spotify app show display track? thanks

  • @KennethHarrisHolst
    @KennethHarrisHolst Před 9 měsíci

    Hi Sorry im late to the party.
    Is there a way to always boot up a specific playlist (and start it )?

  • @Stechus_Kaktus
    @Stechus_Kaktus Před 2 lety

    thanks for this great video!
    is it possible to set a "start volume" for the raspberry?

    • @SamWestbyTech
      @SamWestbyTech  Před 2 lety

      I'm not sure. My though is the volume is whatever the Pi was most recently set to

  • @sevennayfo
    @sevennayfo Před 5 měsíci

    is there a way you can just turn on the ras pi and it only plays out the speaker kinda like the google speaker! i want to create my own radio station that plays only my music for my fans

  • @vivekbagla7907
    @vivekbagla7907 Před rokem +1

    Hey! i've got a problem, when i hit the device on the spotify list it just stays "connecting..." and never connects, on the terminal it was showing: dropping truncated packet from (and i think it was like an ip)
    Does anyone know a fix?

  • @hamidaminrezai3449
    @hamidaminrezai3449 Před 8 měsíci +1

    Thank you so much. Strait forward steps 👌 However, much issue that I have an older Pioneer receiver, which amazingly supports AirPlay. BUT I thought I might somehow be able to use Raspberry Pi to host Spotify for streaming from Android phones for example. Would it be realistic? If so, how can I achieve the goal? Any advice please? Cheers :)

    • @ln3346
      @ln3346 Před 5 měsíci

      Isn't that what this video is literally about?

  • @JAFOpty
    @JAFOpty Před 2 lety +4

    I get "No such file or directory" after starting the daemon. Even with sudo :(

    • @sky-donttouch4771
      @sky-donttouch4771 Před 4 měsíci

      Had the same problem; I had to use 32-bit OS for Pi 4. That worked.

  • @kanalnameneingeben9026
    @kanalnameneingeben9026 Před 2 lety +5

    Thank you very much! Just wanted to point sth out, maybe it will help other people: For me, it did not exactly work, like you showed in the video. I could see the RaspberryPi in Spotify Connect on my Phone or PC, but I could not connect to it. I am using a headlesse RaspberryPi for Music Streaming. The solution for me was, using the longer config file. This file is shown in the spotifyd documentation (or "wiki") under Nr. 2.2 "configuration file". This file gives more options to the user, especially "useMpries=true" which is needed to be set to "false" for headless environments.

    • @silver7788
      @silver7788 Před rokem

      Not that much in to IT but I'm planning to get my pi soon(ish) what's headless pi?

    • @kanalnameneingeben9026
      @kanalnameneingeben9026 Před rokem +1

      @@silver7788 Headless means, that the Computer (Pi) does not provide a GUI (grafic interface e.g. "Desktop" of a Windows-PC). You can only use the CLI.

    • @silver7788
      @silver7788 Před rokem +1

      @@kanalnameneingeben9026 oh good to know, thx.
      I'm planning to have a touchscreen and GUI to control it, kinda like the official "car thing" from Spotify. Now I know which thing to avoid.

  • @joaquindurand8804
    @joaquindurand8804 Před rokem

    hi!! i wanted to know what version of raspberry pi was required, thank you!!

    • @SamWestbyTech
      @SamWestbyTech  Před rokem

      I'm using Bullseye but this will probably work with Buster, too. I think all of the modern Pi's are able to run this package

  • @sandervg5628
    @sandervg5628 Před 5 měsíci

    can you do this and run a python script at the same time ?

  • @izayahm8557
    @izayahm8557 Před 11 měsíci

    yo does this work with retro pi

  • @BB-ks9rk
    @BB-ks9rk Před rokem

    Can you download the music locally on the Pi and listen offline like you can with a phone or pc?

    • @SamWestbyTech
      @SamWestbyTech  Před rokem +1

      I don't think there's a way to do this. It would probably violate the end-user agreement so Spotifyd can't add the feature :(

  • @oewps4589
    @oewps4589 Před rokem +3

    Great video! But i got an error.. when doing the last bit. ./spotifyd --no-daemon is giving me "bash: ./spotifyd: No such file or directory". What can i do to fix it? Thanks in advance

    • @leadoffsteam5614
      @leadoffsteam5614 Před rokem

      Hi did you manage to figure it out?

    • @oewps4589
      @oewps4589 Před rokem +1

      @@leadoffsteam5614 nope…

    • @MrWatchingEverithing
      @MrWatchingEverithing Před rokem

      @@oewps4589 maybe too late, but you need raspbian 11 (bullseye)
      10 doesn't work because of the missing glibc 2.29 (raspbian 10 uses glibc 2.28)

    • @jwadamucci
      @jwadamucci Před rokem +1

      I’m getting the same thing. I’m using Raspian 11.

    • @sky-donttouch4771
      @sky-donttouch4771 Před 3 měsíci

      try using 32bit OS for raspberry (also Pi 4)

  • @player12024
    @player12024 Před 3 měsíci

    HI! I was trying to set up my Raspberry Pi 1 B to play Spotify. Every time I used Spotify to connect to it, I would get a message saying:
    Loading with Spotify URI
    (187952 ms) loaded
    Audio Sink Error Connection Refused: Device hw May be Invalid, Busy, or Already in Use, ALSA function 'snd_pcm_open' failed with error 'UnknownErrno: Unknown errno'
    I don't know how to fix it.

  • @henriquepimpolho
    @henriquepimpolho Před 7 měsíci

    como faço para sair no "bluetooth"?

  • @midas2706
    @midas2706 Před rokem

    is it possible to play the music on a bluetooth speaker using spotifyd? it doesnt work for me and i dont understand why

    • @SamWestbyTech
      @SamWestbyTech  Před rokem

      It should be possible. Are you able to use the Bluetooth speaker with your Pi for things other than spotifyd?

    • @midas2706
      @midas2706 Před rokem

      @@SamWestbyTech thanks for your response. The speaker/bluetooth connection works fine except when i try the spotifyd

  • @MikeDancy
    @MikeDancy Před 2 lety +1

    you ever try powering a raspberry pi using a solar panel?

  • @wirelesswriter4512
    @wirelesswriter4512 Před 2 lety

    Can't type anything when it gets to the password part not sure why

    • @wirelesswriter4512
      @wirelesswriter4512 Před 2 lety

      When I click enter it says permission denied, please try again

    • @latefid
      @latefid Před 2 lety +1

      It just hides what you type, type your password and press enter. Its normal if you dont see anything being typed

  • @nurmanhariyanto3146
    @nurmanhariyanto3146 Před měsícem

    always stop after 10 minutes, why?

  • @kombatlinegaming1362
    @kombatlinegaming1362 Před 2 lety +1

    user and password is soptify or raspbarry pi

  • @experimentaenlavan8081

    hello. The link you leave in the comment does not lead to the commands and I can't find the file, please, can you give me the direct link to it?
    username and password are those of spotify? gracias¡¡

  • @meechp123
    @meechp123 Před 4 měsíci

    Bing AI brought me here. 👍🏿