Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shareberry not working using Soudcloud #2

Open
champagj opened this issue Jul 30, 2020 · 2 comments
Open

Shareberry not working using Soudcloud #2

champagj opened this issue Jul 30, 2020 · 2 comments

Comments

@champagj
Copy link

I have a running raveberry running on a Pi4 with icecast2 installed. Default config but YouTube is turnoff and using SoundCloud.
Installed shareberry on a Samsung Note 8 running latest Android.
I can join raveberry at the local address (192.168.2.189) no problem (raveberry does not resolve need ip).
I can also receive stream no problem at 192.168.2.189:8000/stream
Shareberry installs and run, I have updated the Configuration page with all sorts of variations on the ip 192.168.2.189, :8080, :8000, /musiq etc.
From soundcloud app, use share, shareberry,I get the "queuing song" message then "error".
Tried via browser at soundcloud same result.
Using Youtube app I had one success queue but it was not the right file that queued.

@raveberry
Copy link
Owner

The only entry you should need in the configuration is "192.168.2.169" (without ports or path). If it's the first one, sharing is fastest and the lower ones don't matter.

Currently sharing is implemented very basic. When you press share in an app, it provides a text message that is shared. This text message is then queried in Raveberry as it is. In case of Spotify this text is (currently) "Here’s a song for you… <title> by ". Since this query includes the artist and the title, it's still a (kind of) reasonable query. Spotify itself will not return anything as there is too much other stuff in the query, Youtube however will then find the song. So if you share from Spotify, you will (hopefully) queue the corresponding video from Youtube.

I don't know what the text reads for Soundcloud (I don't have the app), but you should be able to find out by sharing to a messaging app. I admit that the current situation is far from optimal, but it (usually) works for sharing Youtube songs. Ideally Shareberry (or Raveberry) would recognize these message formats and extract the url, so it can find the exact song. I will implement this when I come around to it.

@raveberry
Copy link
Owner

Raveberry 0.8.5 now tries to extract a url from the shared query it receives. This should hopefully fix the sharing issue. If you come around to test it I would be happy about confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants