Skip to content

Support ListenBrainz playlists #11565

Open
@ThreeDeeJay

Description

@ThreeDeeJay

Checklist

  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I'm aware that this is a request for NewPipe itself and that requests for adding a new service need to be made at NewPipeExtractor.
  • I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.

Feature description

ListenBrainz allows keeping track of song listens (scrobbles) like Last.fm and can use them to recommend new music, like a weekly playlist similar to Spotify (perhaps even better) in https://listenbrainz.org/user/USERNAME/recommendations/ > Exploration

So it would be nice if NewPipe could open and play the tracks from ListenBrainz playlist URL like
https://listenbrainz.org/playlist/fce5ac51-9039-4f1a-b6a5-951278a5a928/

Why do you want this feature?

The ListenBrainz android app can only play local files, and the web player is quite finicky (doesn't support previous/next playback controls; video tucked in a corner (though I'm just interested in the audio); annoying toast notification overlays that get in the way of playback controls; after playing a track, it goes back to the first track instead of the next; etc.

Additional information

Apparently the ListenBrainz web player just searches for the Artist + Title on youtube and plays the first result, so those parameters could be obtained via the API like this:
https://api.listenbrainz.org/1/playlist/fce5ac51-9039-4f1a-b6a5-951278a5a928

However, some tracks do have an associated URL so maybe those could take precedence over blind search (unless it's not available of course).
For instance, the first track in that playlist (Nirvana - Smells Like Teen Spirit) points to https://musicbrainz.org/recording/5fb524f1-8cc8-4c04-a921-e34c0a911ea7 in playlist>track>0>identifier>0
and if you use that recording ID like this:
https://musicbrainz.org/ws/2/recording/5fb524f1-8cc8-4c04-a921-e34c0a911ea7?inc=url-rels&fmt=json
you get the link to the video (https://www.youtube.com/watch?v=hTWKbfoikeg) in relations>1>url>resource

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssue is related to a feature in the appplaylistAnything to do with playlists in the apprequires extractor changeThis issue requires a change to the extractor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions