diff options
author | drochner <drochner> | 2009-08-02 12:10:39 +0000 |
---|---|---|
committer | drochner <drochner> | 2009-08-02 12:10:39 +0000 |
commit | 903b27d61a924a5f01dea14881a5e6f5c25c2ce9 (patch) | |
tree | efa97c88cc8a68793773bbc19e3db55f83617fdf /audio/rhythmbox/patches | |
parent | 77f274b23ea11f786ac52463923ef0117d4f266c (diff) | |
download | pkgsrc-903b27d61a924a5f01dea14881a5e6f5c25c2ce9.tar.gz |
fix some glitches with UPnP interaction, bump PKGREVISION
Diffstat (limited to 'audio/rhythmbox/patches')
-rw-r--r-- | audio/rhythmbox/patches/patch-ac | 12 | ||||
-rw-r--r-- | audio/rhythmbox/patches/patch-ad | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/audio/rhythmbox/patches/patch-ac b/audio/rhythmbox/patches/patch-ac new file mode 100644 index 00000000000..c7528b6816d --- /dev/null +++ b/audio/rhythmbox/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.7 2009/08/02 12:10:39 drochner Exp $ + +--- plugins/coherence/upnp_coherence/MediaStore.py.orig 2009-07-31 15:20:44.000000000 +0200 ++++ plugins/coherence/upnp_coherence/MediaStore.py +@@ -295,6 +295,7 @@ class MediaStore(BackendStore): + + def __init__(self, server, **kwargs): + self.warning("__init__ MediaStore %r", kwargs) ++ BackendStore.__init__(self,server,**kwargs) + self.server = server + self.db = kwargs['db'] + self.plugin = kwargs['plugin'] diff --git a/audio/rhythmbox/patches/patch-ad b/audio/rhythmbox/patches/patch-ad new file mode 100644 index 00000000000..54bf3c2db30 --- /dev/null +++ b/audio/rhythmbox/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.8 2009/08/02 12:10:39 drochner Exp $ + +--- plugins/coherence/upnp_coherence/MediaPlayer.py.orig 2009-07-31 15:50:21.000000000 +0200 ++++ plugins/coherence/upnp_coherence/MediaPlayer.py +@@ -260,7 +260,7 @@ class RhythmboxPlayer(log.Loggable): + + if duration is not None: + h,m,s = duration.split(':') +- seconds = int(h)*3600 + int(m)*60 + int(s) ++ seconds = int(h)*3600 + int(m)*60 + int(round(float(s))) + self.info("%r %r:%r:%r %r", duration, h, m , s, seconds) + self.shell.props.db.set(self.entry, rhythmdb.PROP_DURATION, seconds) + |