Sinono3 / souvlaki

A cross-platform library for handling OS media controls and metadata.
MIT License
79 stars 15 forks source link

MPRIS support #4

Closed Sinono3 closed 3 years ago

Sinono3 commented 3 years ago

I've been trying for a few months to get MPRIS working now with mpris-player, but I haven't got it working yet. Getting this feature working is a priority since it means the library will be truly cross-platform.

After looking at the spotifyd source code, maybe we can take the same approach and just implement our own MPRIS player from scratch using D-Bus. That won't be easy though.

Sinono3 commented 3 years ago

I've been working on this for a while after some research on D-Bus. The main work is done, and the commit will happen soon. No API changes will be made. I'll do some refactoring for the next version, with the main goal being flexibility and feature completeness.

Something to do with Sync requirements popped up though, I'll see if I can fix it🥲

Sinono3 commented 3 years ago

Implemented on d4f1364

Sinono3 commented 3 years ago

@jpochyla Btw, it works flawlessly on psst-gui after making an adjustment. I'll make a PR.