eonpatapon/mpDris2 — Issue #5: Crash when processing long song
Author: oitel
Created: 2011-11-05 07:29:04+00:00
State: open

If some long audio file is playing (e.g. audiobook or podcast) mpDris2 crashes with

```python
Traceback (most recent call last):
File "/usr/bin/mpDris2", line 551, in check_mpd_status
root.update_property('org.mpris.MediaPlayer2.Player', 'Metadata')
File "/usr/bin/mpDris2", line 431, in update_property
self.PropertiesChanged(interface, {prop: value}, [])
File "/usr/lib/python2.7/site-packages/dbus/decorators.py", line 309, in emit_signal
message.append(signature=signature, *args)
OverflowError: Value -1031967296 out of range for Int32
```

This can be fixed by replacing **int** with **long** in *allowed_tags* or by using Python 3.x ;)