3 --- plugins/coherence/upnp_coherence/UpnpSource.py.orig 2009-06-30 01:38:57.000000000 +0200
4 +++ plugins/coherence/upnp_coherence/UpnpSource.py
5 @@ -132,7 +132,7 @@ class UpnpSource(rb.BrowserSource,log.Lo
7 if duration is not None:
8 h,m,s = duration.split(':')
9 - seconds = int(h)*3600 + int(m)*60 + int(s)
10 + seconds = int(h)*3600 + int(m)*60 + int(round(float(s)))
11 self.info("%r %r:%r:%r %r", duration, h, m , s, seconds)
12 self.__db.set(entry, rhythmdb.PROP_DURATION, seconds)