Need password/token for YouTube.
Best posts made by anusmartmirror
Latest posts made by anusmartmirror
-
RE: spotify can't find active device
After your help Spotify was working fine until today. I have updated all the modules. But getting this error. It says loaded but nothing plays
[2024-05-26 11:03:44.907] [LOG] [SPOTIFY:PLAY] RETRY Error 404 null {
error: {
status: 404,
message: ‘Player command failed: No active device found’,
reason: ‘NO_ACTIVE_DEVICE’
}
}i checked librespot is working fine. i even re-installed librespot but spotify still woudn’t identify librespot. Below is the log from librespot
1|librespot | [2024-05-26T05:33:32Z INFO librespot] librespot 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: zuwVQKTQ, Profile: release)
1|librespot | [2024-05-26T05:33:33Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:443
1|librespot | [2024-05-26T05:33:33Z INFO librespot_core::session] Connecting to AP “ap-gae2.spotify.com:4070”
1|librespot | [2024-05-26T05:33:33Z INFO librespot_core::session] Authenticated as “31z63chna7vmvta2q2ikkgidkoyy” !
1|librespot | [2024-05-26T05:33:33Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Cubic(40.0)
1|librespot | [2024-05-26T05:33:33Z INFO librespot_core::session] Country: “IN”
1|librespot | [2024-05-26T05:33:33Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16, sample rate: 44100
1|librespot | [2024-05-26T05:33:33Z INFO librespot_playback::convert] Converting with ditherer: tpdf
1|librespot | [2024-05-26T05:33:36Z INFO librespot_playback::player] Loading <Kesariya (From “Brahmastra”)> with Spotify URI spotify:track:6VBhH7CyP56BXjp8VsDFPZ
1|librespot | [2024-05-26T05:33:38Z INFO librespot_playback::player] <Kesariya (From “Brahmastra”)> (268164 ms) loaded
1|librespot | [2024-05-26T05:33:38Z INFO librespot] Gracefully shutting down
1|librespot | [2024-05-26T05:33:39Z INFO librespot] librespot 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: zuwVQKTQ, Profile: release)
1|librespot | [2024-05-26T05:33:39Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:443
1|librespot | [2024-05-26T05:33:39Z INFO librespot_core::session] Connecting to AP “ap-gae2.spotify.com:4070”
1|librespot | [2024-05-26T05:33:39Z INFO librespot_core::session] Authenticated as “31z63chna7vmvta2q2ikkgidkoyy” !
1|librespot | [2024-05-26T05:33:39Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Cubic(40.0)
1|librespot | [2024-05-26T05:33:39Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16, sample rate: 44100
1|librespot | [2024-05-26T05:33:39Z INFO librespot_playback::convert] Converting with ditherer: tpdf
1|librespot | [2024-05-26T05:33:39Z INFO librespot_core::session] Country: “IN”
1|librespot | [2024-05-26T05:33:42Z INFO librespot_playback::player] Loading <Kesariya (From “Brahmastra”)> with Spotify URI spotify:track:6VBhH7CyP56BXjp8VsDFPZ
1|librespot | [2024-05-26T05:33:44Z INFO librespot_playback::player] <Kesariya (From “Brahmastra”)> (268164 ms) loaded -
RE: spotify can't find active device
Hi,
After you helped me last time, Spotify was working fine. But today suddenly its not working. Librespot logs says loaded as per the logs below (although wrong song, it picked whatever I played last time few days back, even with telegram it won’t take the new song.) but magic mirror says status 404: no active device./home/pi/.pm2/logs/librespot-error.log last 15 lines:
1|librespo | [2024-05-26T04:23:16Z INFO librespot_playback::player] Loading <Barsaat Ki Dhun> with Spotify URI spotify:track:0IQRRlpomabOlzy39mcmmq
1|librespo | [2024-05-26T04:23:16Z INFO librespot_playback::player] <Barsaat Ki Dhun> (259215 ms) loaded
1|librespo | [2024-05-26T04:23:19Z INFO librespot] Gracefully shutting down
1|librespo | [2024-05-26T04:23:19Z INFO librespot] librespot 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: zuwVQKTQ, Profile: release)
1|librespo | [2024-05-26T04:23:19Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:4070
1|librespo | [2024-05-26T04:23:19Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80
1|librespo | [2024-05-26T04:23:19Z INFO librespot_core::session] Connecting to AP “ap-gae2.spotify.com:4070”
1|librespo | [2024-05-26T04:23:20Z INFO librespot_core::session] Authenticated as “31z63chna7vmvta2q2ikkgidkoyy” !
1|librespo | [2024-05-26T04:23:20Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Cubic(40.0)
1|librespo | [2024-05-26T04:23:20Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16, sample rate: 44100
1|librespo | [2024-05-26T04:23:20Z INFO librespot_playback::convert] Converting with ditherer: tpdf
1|librespo | [2024-05-26T04:23:20Z INFO librespot_core::session] Country: “IN”
1|librespo | [2024-05-26T04:23:22Z INFO librespot_playback::player] Loading <Barsaat Ki Dhun> with Spotify URI spotify:track:0IQRRlpomabOlzy39mcmmq
1|librespo | [2024-05-26T04:23:23Z INFO librespot_playback::player] <Barsaat Ki Dhun> (259215 ms) loaded
1|librespo | [2024-05-26T04:24:28Z INFO librespot] Gracefully shutting down -
add new telegram command for EXT-Selfi
Hi,
i am kind of a starter/novice here. My mirror is working fine but the voice to take selfie does not work. was thinking of adding a telegram to take a selfie. Can you let me know the steps for adding a new command /sellfie which will take my selfi? -
Selfies plugin is not getting activated.
EXT-Selfies is not getting activated. I feel for some reason none of the recipes are working. Even the reboot shutdown recipe doesn’t work
-
RE: EXT-Spotify it doesn't close
I am having the same problem. The voice commands Spotify play and Spotify next works fine. But I Google assistant doesn’t seem to understand Spotify pause or Spotify stop. But I can stop or pause it using telegram bot. Any way to solve this?
-
Telegram send text not working
send text and picture commands were working yesterday. i installed few modules today and it is no longer working.
-
EXT-Selfies not getting triggered
Hi
I just added the camera OV5647 5 megapixel camera to my RPI4. I am able to take pictures using rpicam commands. However, when I ask my Mirror to take a selfie, it does not do anything. EXT-Selfies is not triggered. Are the recipes not getting triggered? Please help? Google assistant just doesnt pick up the keyword -
RE: spotify can't find active device
Thanks. i had given wrong credentials. fixed that now
-
RE: spotify can't find active device
gave email id and password. librespot is running now but Magic Mirror give the same error that it can find device.
────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ fork │ 2 │ stopped │ 0% │ 0b │
│ 1 │ librespot │ fork │ 656 │ online │ 0% │ 6.3mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
[PM2][WARN] Current process list is not synchronized with saved list. Type 'pm2Magic mirror message:
2024-05-18 16:21:30.827] [LOG] [LIBRESPOT] Restart
[2024-05-18 16:21:35.012] [LOG] [SPOTIFY:PLAY] RETRY Error 404 null {
error: {
status: 404,
message: ‘Player command failed: No active device found’,
reason: ‘NO_ACTIVE_DEVICE’
}
} -
RE: spotify can't find active device
in the PM2 logs for librespot - this is what i see continuously
[2024-05-18T10:41:18Z ERROR librespot]--username
/-u
can not be an empty string
[2024-05-18T10:41:18Z INFO librespot] librespot 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: zuwVQKTQ, Profile: release)
[2024-05-18T10:41:18Z ERROR librespot]--username
/-u
can not be an empty string
[2024-05-18T10:41:18Z INFO librespot] librespot 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: zuwVQKTQ, Profile: release)
[2024-05-18T10:41:18Z ERROR librespot]--username
/-u
can not be an empty string
[2024-05-18T10:41:18Z INFO librespot] librespot 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: zuwVQKTQ, Profile: release)
[2024-05-18T10:41:18Z ERROR librespot]--username
/-u
can not be an empty string
[2024-05-18T10:41:18Z INFO librespot] librespot 0.4.2 a6e1258 (Built on 2023-06-21, Build ID: zuwVQKTQ, Profile: release)
[2024-05-18T10:41:18Z ERROR librespot]--username
/-u
can not be an empty string