IngoMeyer441 / radiotray-ng-mpris

A wrapper script for Radiotray-NG which provides an MPRIS2 interface.
MIT License
4 stars 0 forks source link

Minor fixes to enable the wrapper to work with mpris-server 0.9 #2

Closed SimonMaenaut closed 4 months ago

SimonMaenaut commented 4 months ago

Not sure if this project is still maintained, however these are the (untested) changes I had to make to get it working again.

IngoMeyer441 commented 4 months ago

Thanks for your PR! :+1: Yes, this project is still maintained (I use it myself almost every day), but I am using mpris_server 0.4.2 since the latest version requires Python 3.12 and I still sit at 3.11. I will check your patch and see if it needs adjustments to also work with Python 3.11 / mpris_server 0.4.2.

SimonMaenaut commented 4 months ago

Awesome! This patch will likely not work for previous versions, so some try-catch or if statement might be needed for the imports depending on the version installed.

IngoMeyer441 commented 4 months ago

A modified version of your patch is implemented in release 0.1.2. Thanks again for your help!