alexdelorenzo / mpris_server

▶️ Integrate MPRIS Media Player support into your app
https://alexdelorenzo.dev
GNU Lesser General Public License v3.0
29 stars 3 forks source link

TrackRemoved Signal takes incorrect input #2

Closed yashBhosale closed 3 years ago

yashBhosale commented 3 years ago

Hi, in https://github.com/alexdelorenzo/mpris_server/blob/master/mpris_server/tracklist.py the trackremoved signal inputs/outputs an array of object paths, when the spec https://specifications.freedesktop.org/mpris-spec/latest/Track_List_Interface.html says it's supposed to emit just one object path.

yashBhosale commented 3 years ago

As far as I can tell, the fix is just to change the signature of the signal in the xml, I can make the change and file a pull request for it.

alexdelorenzo commented 3 years ago

Good catch, thanks for submitting a pull request. I've merged it with the main branch.