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

[ListenBrainz] Additional Metadata #102

Open
4 tasks done
MaxEtMoritz opened this issue Dec 27, 2024 · 0 comments · May be fixed by #103
Open
4 tasks done

[ListenBrainz] Additional Metadata #102

MaxEtMoritz opened this issue Dec 27, 2024 · 0 comments · May be fixed by #103

Comments

@MaxEtMoritz
Copy link

MaxEtMoritz commented Dec 27, 2024

Listenbrainz accepts additional metadata for listens / now playing notifications. Some fields are standardized, but in theory everything could be submitted.
The currently standardized fields are documented here.

Of those additional metadata fields, the following ones could be interesting to implement, in addition to the already implemented mbid submission:

  • duration_ms / duration. The length of the track.
    This one is my top priority, as it also shows up on the LB website front-end if supplied.
  • media_player (and media_player_version, if determinable). Information about the player used for listening to the track.
  • submission_client / submission_client_version. Information about what program submitted the listens (mpris-scrobbler in this case).

And for scrobbling a browser:

  • origin_url. URI of the page the track was listened on.

To clarify, the additional metadata is not only useful for the scrobble, but also for the now_playing (at least the duration of the track. As far as i know, supplying a duration in now_playing causes the now_playing to disappear after the track is finished instead of after a default time of 4 minutes)

MaxEtMoritz added a commit to MaxEtMoritz/mpris-scrobbler that referenced this issue Jan 1, 2025
for now playing:
- duration
- submission_client
- submission_client_version

mariusor#102
MaxEtMoritz added a commit to MaxEtMoritz/mpris-scrobbler that referenced this issue Jan 2, 2025
for the scrobble:
- duration
- submission_client
- submission_client_version

mariusor#102
@MaxEtMoritz MaxEtMoritz linked a pull request Jan 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants