splitti / MuPiBox

Portable music box for Spotify and local media based on Raspberry Pi. Operated via touchscreen. Suitable for children and older people.
https://mupibox.de
MIT License
84 stars 19 forks source link

Add Spotify Media via URL not possible - Validation error #73

Open calibrationcube opened 1 week ago

calibrationcube commented 1 week ago

It is no longer possible to add Spotify content via Spotify URL. The message appears: URL is invalid or No internet connection

Notes: Adding via Spotify Search Syntax works. Adding an ID manually via data.json also works without any problems. Play spotify Songs works (so no connection error)

Currently tested version: DEV 2024-10-18

fifafu commented 2 days ago

Same issue here with DEV 2024-11-01. Thanks for the workarounds @calibrationcube !

fifafu commented 2 days ago

In my case this happens because it tries to connect to http://mupibox:5005/validate (even if I set ip_control_backend to true) For some reason that doesn't work here and results in a 404. This is probably due to my network setup.

It seems like setting ip_control_backend to true didn't update the /home/dietpi/.mupibox/Sonos-Kids-Controller-master/server/config/config.json for me. After setting the ip manually there everything is working smoothly.

calibrationcube commented 1 day ago

Can confirm, that setting the Hostname to IP also works for me! -> Since IP = Hostname no validation error