Open Leeo97one opened 2 years ago
This is due to the fact that Amberol reports the microseconds duration as a string, you just need to handle the case that the length is a string and try to convert it to a number.
Edit: Technically that breaks the spec, I found the root of the issue and so I've reported this upstream: https://gitlab.gnome.org/World/amberol/-/issues/380
Thanks for creating the report. smplayer had a similar issue in that it violated the protocol by transmitting a float instead of an int for the position
field (see #7).
We can deploy a similar workaround here, but fixing this upstream is of course preferred and I'd rather spend time on migrating to jeepney
as the dbus library instead of dbussy because I found its API to be much cleaner. (That said, since I personally don't use this tool anymore, it has dropped a bit in priority for me.)
When playing audio with Amberol: