If the length of the track is known, it should be provided in the metadata property with the "mpris:length" key. The length must be given in microseconds, and be represented as a signed 64-bit integer.
I get following exception when I try to playback a song with an length of 270 minutes / 16205000000 µs
(I like long DJ sets ;) )
Traceback (most recent call last):
File "/home/bmonkey/workspace/Python/gnome-music/gnomemusic/mpris.py", line 56, in _on_current_changed
self.PropertiesChanged(self.MEDIA_PLAYER2_PLAYER_IFACE, properties, [])
File "/usr/lib/python3.3/site-packages/dbus/decorators.py", line 314, in emit_signal
message.append(signature=signature, *args)
OverflowError: Value -974869184 out of range for Int32
Where is the wrong Int32 definition? I couldn't figure it out
The mpris spec states:
I get following exception when I try to playback a song with an length of 270 minutes / 16205000000 µs (I like long DJ sets ;) )
Where is the wrong Int32 definition? I couldn't figure it out