nyancrimew / spoofy

An "emulator" of the Spotify D-Bus MPRIS2 interface to fuzz or test applications consuming it.
3 stars 0 forks source link

Emit property change events properly #1

Open nyancrimew opened 2 years ago

nyancrimew commented 2 years ago

Figure out how we can get the dbus library to fire property change events, which might require us to contribute to said library. Currently the only way to get it to fire the change events seems to be to update the properties via dbus, which seems less than ideal, especially since the properties need to be marked as read only.

The older server library they provide, dbus-tree, might make this a bit easier, i guess i can check out how the mpris2 player i found does it, since that seems to still be using dbus-tree.

nyancrimew commented 2 years ago

If we dont' emit property changes properly this emulator is essentially useless, since most of the more elaborate uis (anything that doesnt do timed or one time queries) will simply never update.