kawaiiDango / pano-scrobbler

Scrobbles to last.fm, ListenBrainz, libre.fm, GNU FM, Maloja, Pleroma or to a file, on Android
https://play.google.com/store/apps/details?id=com.arn.scrobble
GNU General Public License v3.0
1.07k stars 28 forks source link

Play button #484

Open ThreeDeeJay opened 1 month ago

ThreeDeeJay commented 1 month ago

Is your feature request related to a problem, or particular use cases? Please describe. The current Search button is great to find a track on different apps, but I only want to use a single music player while still having the option to search the track on other apps.

Describe the solution you'd like It would be great to have a Play button, dedicated for playing the track in Spotify/Musicolet/etc, and make the search just show different apps that support searching via text, like YouTube for music videos.

Additional info If the Last.fm API provides Youtube/Spotify/etc links like the ones found in the track page, it would be nice to have them as individual buttons like Redomi or even provide it the link in case song.link has more services than last.fm. 👀👌 image

kawaiiDango commented 1 month ago

The Last.fm API does not provide such links. The play button just launches the play from search intent. https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH

ThreeDeeJay commented 1 month ago

Oh dang, you're right. It only provides the MusicBrainz ID. I've found a couple alternatives, though each has pros and cons.

For streaming services:

For a local file button:

So ideally, it would just show the button for tracks found in a source (streaming or local).