Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Solved Problem with Spotify Play (different than previous poster)

    EXT-Librespot
    2
    3
    19
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rkdon last edited by

      I’m having the same symptoms as this post: https://forum.bugsounet.fr/topic/956/problem-with-command-spotify-play, but I’ve double checked my config and it looks correct. Below are the error logs. Any advice?

      /home/don/.pm2/logs/mm-error.log last 15 lines:
      0|mm       | MESA-LOADER: failed to retrieve device information
      0|mm       | MESA-LOADER: failed to retrieve device information
      0|mm       | MESA-LOADER: failed to retrieve device information
      0|mm       | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
      0|mm       | failed to load driver: kms_swrast
      0|mm       | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
      0|mm       | failed to load swrast driver
      0|mm       | /home/don/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      0|mm       | MESA-LOADER: failed to retrieve device information
      0|mm       | MESA-LOADER: failed to retrieve device information
      0|mm       | MESA-LOADER: failed to retrieve device information
      0|mm       | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
      0|mm       | failed to load driver: kms_swrast
      0|mm       | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
      0|mm       | failed to load swrast driver
      
      /home/don/.pm2/logs/librespot-error.log last 15 lines:
      1|librespo | [2022-12-15T21:02:51Z ERROR librespot_playback::player] Audio Sink Error Connection Refused: <AlsaSink> Device default May be Invalid, Busy, or Already in Use, ALSA function 'snd_pcm_open' failed with error 'EBUSY: Device or resource busy'
      1|librespo | [2022-12-15T21:02:51Z INFO  librespot] librespot 0.4.2 22f8aed (Built on 2022-12-14, Build ID: 8QNgCI71, Profile: release)
      1|librespo | [2022-12-15T21:02:51Z WARN  librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:4070
      1|librespo | [2022-12-15T21:02:51Z WARN  librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:443
      1|librespo | [2022-12-15T21:02:51Z WARN  librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:80
      1|librespo | [2022-12-15T21:02:51Z WARN  librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80
      1|librespo | [2022-12-15T21:02:51Z INFO  librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070"
      1|librespo | [2022-12-15T21:02:52Z INFO  librespot_core::session] Authenticated as "scidon" !
      1|librespo | [2022-12-15T21:02:52Z INFO  librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(50.0)
      1|librespo | [2022-12-15T21:02:52Z INFO  librespot_playback::convert] Converting with ditherer: tpdf
      1|librespo | [2022-12-15T21:02:52Z INFO  librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
      1|librespo | [2022-12-15T21:02:52Z INFO  librespot_core::session] Country: "US"
      1|librespo | [2022-12-15T21:08:35Z INFO  librespot_playback::player] Loading <Comfortably Numb> with Spotify URI <spotify:track:5HNCy40Ni5BZJFw1TKzRsC>
      1|librespo | [2022-12-15T21:08:38Z WARN  librespot_playback::player] Player::play called from invalid state
      1|librespo | [2022-12-15T21:08:38Z INFO  librespot_playback::player] <Comfortably Numb> (382296 ms) loaded
      
      1 Reply Last reply Reply Quote -1
      • bugsounet
        bugsounet Main Coder last edited by

        1. Let’s Say “hello”
        2. it’s not related
        3. let’s read logs
        4. you will discover this:
        1|librespo | [2022-12-15T21:02:51Z ERROR librespot_playback::player] Audio Sink Error Connection Refused: <AlsaSink> Device default May be Invalid, Busy, or Already in Use, ALSA function 'snd_pcm_open' failed with error 'EBUSY: Device or resource busy'
        
        1. I think you are an linux expert… you have modified system sound configuration 🙂
        2. So let’s correct it
        3. Note: don’t ask me more help, next time you says me Hello !
          Too complexe to read this. It’s pined !
        4. You not found Roohh… Open an issue in Librepost Github

        Good luck
        @bugsounet

        1 Reply Last reply Reply Quote 0
        • bugsounet
          bugsounet Main Coder last edited by

          Woof, Woof… Sorry, my dog tell me too

          1 Reply Last reply Reply Quote 0
          • Topic has been marked as solved  bugsounet bugsounet 
          • Topic has been marked as unsolved  R rkdon 
          • Topic has been marked as solved  R rkdon 
          • First post
            Last post
          Powered by NodeBB | @bugsounet ©2022