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

Search Spotify artists, albums, and tracks #199

Closed
9 tasks done
lydavid opened this issue May 19, 2023 · 0 comments · Fixed by #340
Closed
9 tasks done

Search Spotify artists, albums, and tracks #199

lydavid opened this issue May 19, 2023 · 0 comments · Fixed by #340
Labels
enhancement New feature or request

Comments

@lydavid
Copy link
Owner

lydavid commented May 19, 2023

Motivation

I want to be able to quickly lookup MusicBrainz for artists/albums/tracks from Spotify. And those names might be in a language I can't type.
Spotify doesn't offer a way to copy/paste any of these on mobile.

Spotify broadcast notification

Fortunately, Spotify provides a way to broadcast metadata that includes artist/album/track name to other apps on your Android device.

You will have to turn this feature on from inside Spotify's settings: https://developer.spotify.com/documentation/android/guides/android-media-notifications/#enabling-media-notifications

References

https://developer.spotify.com/documentation/android/guides/android-media-notifications/

https://community.metabrainz.org/t/spotify-companion/535483

https://community.metabrainz.org/t/adding-spotify-uids-to-musicbrainz-database/57973/9

Implementation

  • Use a broadcast receiver to listen to Spotify's broadcast notifications
  • For now, just put in settings
    • eventually, should put this somewhere in the search screen as another method to search
  • track Spotify play history similar to Now Playing? #334
  • Support deeplinking search
    • artist: Artist
    • album: Release Group, Artist
    • track: Recording, Artist
  • A disclaimer/warning to user to enable Device Broadcast Status in their Spotify app
    • Where should this be?
    • If this is a hightlight feature, we can have a pop-up on first app launch advertising it
  • UI

Open questions

  • Is there any way for us to get the artist/album/track name in its original language?
    • If they are transliterated, we will not find any results from MusicBrainz
    • This seems to depend on the artist, nothing we can really do about it
    • There's plenty of artists whose name/albums/tracks are listed in their original language
@lydavid lydavid added the enhancement New feature or request label May 19, 2023
@lydavid lydavid pinned this issue Jul 17, 2023
lydavid pushed a commit that referenced this issue Aug 2, 2023
lydavid pushed a commit that referenced this issue Aug 2, 2023
@lydavid lydavid unpinned this issue Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant