Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / rhythmbox / patches / patch-aa
blob2b8907439505f9d3a8e5d4c3b3b34e66d7914a9d
1 $NetBSD$
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
6  
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)