Unsolved Raspotify no longer starts on my MagicMirror
-
Hello,
I don’t know if it depends on installing the new EXT-Raspotify module as it should.
Before, everything worked correctly and i have Spotify Premium.
If I open Spotify from my smartphone or pc, the raspberry is seen among the devices. If I choose it, the album cover with all the data also appears on the MagicMirror, including the exact moment in which the song is located at that moment, but if I press play the cover disappears and passes the playback on the device from which I am starting it.
I have:
Raspberry pi 3b+
librespot 0.3.1 650d41b (Built on 2022-03-20, Build ID: 8JMqPd04, Profile: release)
Raspbian GNU/Linux 11 (bullseye)This is the log of Raspotify:
code_text ```-- Journal begins at Sat 2022-01-01 23:43:48 CET, ends at Mon 2022-03-28 08:11:25 CEST. -- mar 27 17:36:21 raspberrypi systemd[1]: Started Raspotify (Spotify Connect Client). mar 27 17:36:24 raspberrypi librespot[528]: [2022-03-27T15:36:24Z ERROR librespot] Discovery Error: Setting up dns-sd failed: No such device (os error 19) mar 27 17:36:24 raspberrypi systemd[1]: raspotify.service: Main process exited, code=exited, status=1/FAILURE mar 27 17:36:24 raspberrypi systemd[1]: raspotify.service: Failed with result 'exit-code'. mar 28 08:02:11 raspberrypi systemd[1]: raspotify.service: Scheduled restart job, restart counter is at 1. mar 28 08:02:11 raspberrypi systemd[1]: Stopped Raspotify (Spotify Connect Client). mar 28 08:02:11 raspberrypi systemd[1]: Started Raspotify (Spotify Connect Client). mar 28 08:10:14 raspberrypi librespot[848]: [2022-03-28T06:10:14Z WARN librespot_core::mercury] error 400 for uri hm://autoplay-enabled/query?uri= mar 28 08:10:14 raspberrypi librespot[848]: [2022-03-28T06:10:14Z ERROR librespot_connect::spirc] AutoplayError: MercuryError mar 28 08:10:17 raspberrypi librespot[848]: Failed to get home directory. mar 28 08:10:17 raspberrypi librespot[848]: [2022-03-28T06:10:17Z ERROR librespot_playback::player] Audio Sink Error Invalid Parameters: Device hw:CARD=vc4hdmi,DEV=0 Unsupported Format S16LE (S16), ALSA function 'snd_pcm_hw_pa> mar 28 08:10:18 raspberrypi systemd[1]: raspotify.service: Main process exited, code=exited, status=1/FAILURE mar 28 08:10:18 raspberrypi systemd[1]: raspotify.service: Failed with result 'exit-code'. mar 28 08:10:28 raspberrypi systemd[1]: raspotify.service: Scheduled restart job, restart counter is at 2. mar 28 08:10:28 raspberrypi systemd[1]: Stopped Raspotify (Spotify Connect Client). mar 28 08:10:28 raspberrypi systemd[1]: Started Raspotify (Spotify Connect Client).``` code_text
How can I solve?
-
Hi, Sincerly, I don’t know
Maybe you use PiHole and request are refused
Maybe you have disabled ipv6I’m not the main coder of Raspotify
- I just install it,
- Try to force configure with your credentials
- Start / stop raspotify service
maybe main raspotify github repository can help
Or try to uninstall it and try EXT-Librespot
-
OK thank you!
If I install EXT-Librespot can I uninstall Raspotify?But is the same also true with EXT-Raspotify?
That is, if I installed EXT-Raspotify it might not have conflicted with Raspotify and therefore it doesn’t work?
-
there is a command for uninstall, just see wiki
-
Bug, sorry.
Maybe I explained myself wrong:
to use EXT-Raspotify, do I need to have already installed Raspotify?
Or can I also uninstall Raspotify?
I wouldn’t want that to be why it doesn’t work -
EXT-Raspotify:
- it’s a module to start/restart (or verify) raspotify
- raspotify will do the job (playing music) it self
Installer do this job:
- will add new reposity (apt) to install raspotify and naturally install it (like the doc of offcial website)
- help for setup it
uninstaller do this:
- unstaller raspotify app (with apt)
The choice is
EXT-Raspotify
OREXT-Librespot
but not bothDiff between this 2 modules ?
- EXT-Raspotify (when it want to work, in your case) use raspotify app (precompiled) deamonized (system app) and work itself
- EXT-Librespot: you have to compilate librespot app for using and result is the same
- I don’t know why … the sound is more high with
EXT-Librespot
EXT-Librespot
is better when you use bluetooth speaker
For me, I prefer
EXT-Librespot
after … it’s user choice -
bugsounet
-
ok,
so from what I understand:
either if I use EXT-Raspotify or EXT-Librespot
I have to first install Raspotify, right? -
No I don’t have to install this
-
Ah ok, perfect, so now I try like this!