Is there a way to trigger the stop command when the notification “EXT_YOUTUBECAST-DISCONNECTED” is recieved. Can we handle recieving notifications in recipes?
Latest posts made by EoinG
-
RE: Cast window remains open
-
RE: No response from the player, Spotify or Librespot,
Well good news is it just started working. couldn’t tell you why.
-
RE: No response from the player, Spotify or Librespot,
@bugsounet Yes, EXT-Spotify displays the song when spotify is currently playing on any device. And it is able to control spotify while spotify is running.
-
RE: No response from the player, Spotify or Librespot,
OK, I uninstalled all versions of librespot. Followed the step 2 above. Install finished, without issue but still seeing the same problem.
Back to one instance:
eoin 1066 0.0 0.0 16844 6108 ? Ssl 22:16 0:00 /home/eoin/MagicMirror/modules/EXT-Librespot/components/librespot/librespot --name Mirror --username <email> --password <password> --initial-volume 100 --cache /home/eoin/MagicMirror/modules/EXT-Librespot/components/librespot/cache --volume-ctrl cubic --volume-range 40
eoin 2474 0.0 0.0 7448 524 pts/0 S+ 22:18 0:00 grep --color=auto librespot -
RE: No response from the player, Spotify or Librespot,
Sure thing, here you go.
62638 550 0.2 0.0 17124 6424 ? Ss 19:03 0:00 /usr/bin/librespot
eoin 1082 0.0 0.0 16844 5692 ? Ssl 19:04 0:00 /home/eoin/MagicMirror/modules/EXT-Librespot/components/librespot/librespot --name Mirror --username <username> --password <password> --initial-volume 100 --cache /home/eoin/MagicMirror/modules/EXT-Librespot/components/librespot/cache --volume-ctrl cubic --volume-range 40
eoin 2296 0.0 0.0 7448 464 pts/0 S+ 19:06 0:00 grep --color=auto librespot -
RE: No response from the player, Spotify or Librespot,
I am seeing this same issue. The issue for is only when there is not currently anything playing on spotify. All functions work except for starting Librespot player.
I can:
- use my phone to play spotify on the mirror.
- control spotify once any player is running.
I cannot:
- Play anything on spotify if there is currenly no player active.
The error repeats 6 tmes before stopping:
[05.11.2023 16:26.29.083] [LOG] [SPOTIFY] API Request fail on : /v1/me/player/play AxiosError: Request failed with status code 404
[05.11.2023 16:26.29.086] [LOG] [SPOTIFY] No response from player !
[05.11.2023 16:26.29.090] [LOG] [SPOTIFY:PLAY] Error 404 {
error: {
status: 404,
message: ‘Player command failed: No active device found’,
reason: ‘NO_ACTIVE_DEVICE’
}
}
[05.11.2023 16:26.29.313] [LOG] [LIBRESPOT] Restartat the same time i see this on the librespot pm2 logs:
[2023-11-05T16:26:29Z INFO librespot] Gracefully shutting down
[2023-11-05T16:26:29Z INFO librespot] librespot 0.4.2 22f8aed (Built on 2023-11-05, Build ID: TCc9tkI4, Profile: release)
[2023-11-05T16:26:32Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:4070
[2023-11-05T16:26:32Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:80
[2023-11-05T16:26:32Z INFO librespot_core::session] Connecting to AP “ap-gew1.spotify.com:4070”
[2023-11-05T16:26:35Z INFO librespot_core::session] Authenticated as “xhqfmza5lgjfeu778ouox308r” !
[2023-11-05T16:26:35Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Cubic(40.0)
[2023-11-05T16:26:35Z INFO librespot_playback::convert] Converting with ditherer: tpdf
[2023-11-05T16:26:35Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
[2023-11-05T16:26:35Z INFO librespot_core::session] Country: “IE”I am assuming it is related to the blacklisting but don’t know where to start with fixing that.