Interest in expanding Metadata impls for Track and Album, adding a ContextChanged event mechanism #834
Replies: 3 comments 4 replies
-
Thanks for chiming in.
Yeah, let's get that in a PR.
Ideally it would all be dispatched under the same
I've been asking this question myself as I've been working on |
Beta Was this translation helpful? Give feedback.
-
I am a bit weary of that -- it moves from a single mercury request to 4+(if there are more artists). And as |
Beta Was this translation helpful? Give feedback.
-
I certainly have done nothing about this, and feel free to steal /
rework my code to make this happen :!)
On June 29, 2022, Ryan Summers ***@***.***> wrote:
> Yeah, let's get that in a PR.
>
As far as I can see, there hasn't yet been a PR for this, right? Would
you still be accepting such changes, and, if so, would you prefer it
to be against dev or new-api? I could then adapt (or “steal” :)
@capnfabs <https://github.com/capnfabs> code and open the PR.
—
Reply to this email directly, view it on GitHub
<https://github.com/librespot-
org/librespot/discussions/834#discussioncomment-3050168>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AAKGJPGCNJKK22GDF42KCMTVRR6XDANCNFSM5BYJ7QFQ>.
You are receiving this because you were mentioned.Message ID:
<librespot-org/librespot/repo-
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi team,
I'm making some changes to
spotifyd
so that it can obtain enough information for its MPRIS implementation from librespot. I'm interested in making some changes to librespot to support this, and wanted to check if that seemed reasonable before opening PRs :)The main thing I'd like for this is to expand the
metadata::Track
andmetadata::Album
structs so that they have a more complete set of info. It seems like this information is available in the proto that's used to create these structs, but that it's not plumbed through yet. The change seems simple (4f54dc8); would it be ok to submit a PR for this?Another thing I'd like a way of knowing when the context changes (both context URI, and track number from playlist). I put together a way of doing that using a mechanism similar to PlayerEvents in b28bea3. Does this seem more broadly useful, and would a PR for this be worthwhile? Is there a better way to do it?
Finally, is there a way of retrieving Loop/Shuffle status from librespot? I'm interested because
spotifyd
's MPRIS implementation pulls this from the Spotify API (usingrspotify
), which interacts badly withplayerctl
, resulting in delays when runningplayerctl play-pause
targeting spotifyd (details here: Spotifyd/spotifyd#977 (comment)).Thanks in advance, and thanks also for all your work on librespot!
Beta Was this translation helpful? Give feedback.
All reactions