Package: banshee
Version: 0.10.10-2
Severity: normal

If you search for a particular subset of songs in the library or a 
playlist, Banshee incorrectly adds the total play time of the resulting 
subset to the original play time.

For example, if the play time of the playlist is 2:10:26, and the play 
time of all the songs which match the search string "foo" is 0:45:23, 
searching for "foo" gives a total play time of 2:55:49, instead of the 
correct time of 0:45:23.

The fix is a one-liner in src/PlayerInterface.cs - I have attached the 
patch.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-23-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages banshee depends on:
ii  gconf2                     2.14.0-1      GNOME configuration database syste
ii  gstreamer0.10-gnomevfs     0.10.7-2      GStreamer plugin for GnomeVFS
ii  gstreamer0.10-plugins-base 0.10.7-2      GStreamer plugins from the "base" 
ii  gstreamer0.10-plugins-good 0.10.3-2      GStreamer plugins from the "good" 
ii  gstreamer0.10-plugins-ugly 0.10.3-1      GStreamer plugins from the "ugly" 
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.11.4-2      The ATK accessibility toolkit
ii  libbonobo2-0               2.14.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.14.0-2      The Bonobo UI library
ii  libc6                      2.3.6-9       GNU C Library: Shared libraries
ii  libcairo2                  1.0.4-2       The Cairo 2D vector graphics libra
ii  libdbus-1-2                0.61-5        simple interprocess messaging syst
ii  libdbus-1-cil              0.61-5        CLI binding for D-BUS interprocess
ii  libdbus-glib-1-2           0.61-5        simple interprocess messaging syst
ii  libfontconfig1             2.3.2-5.1     generic font configuration library
ii  libgconf2-4                2.14.0-1      GNOME configuration database syste
ii  libgconf2.0-cil            2.8.2-2       CLI binding for GConf 2.12
ii  libglade2.0-cil            2.8.2-2       CLI binding for the Glade librarie
ii  libglib2.0-0               2.10.2-2      The GLib library of C routines
ii  libglib2.0-cil             2.8.2-2       CLI binding for the GLib utility l
ii  libgnome-desktop-2         2.14.1.1-1    Utility library for loading .deskt
ii  libgnome-keyring0          0.4.9-1       GNOME keyring services library
ii  libgnome2-0                2.14.1-2      The GNOME 2 library - runtime file
ii  libgnome2.0-cil            2.8.2-2       CLI binding for GNOME 2.12
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgnomeui-0               2.14.1-1      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             2.14.1-2      GNOME virtual file-system (runtime
ii  libgstreamer0.10-0         0.10.6-2      Core GStreamer libraries and eleme
ii  libgtk2.0-0                2.8.17-2      The GTK+ graphical user interface 
ii  libgtk2.0-cil              2.8.2-2       CLI binding for the GTK+ toolkit 2
ii  libhal1                    0.5.7-2       Hardware Abstraction Layer - share
ii  libice6                    1:1.0.0-3     X11 Inter-Client Exchange library
ii  libipoddevice0             0.4.5-2       library for retrieving information
ii  libmono-corlib1.0-cil      1.1.13.6-4    Mono core library (1.0)
ii  libmono-security1.0-cil    1.1.13.6-4    Mono Security library
ii  libmono-sqlite1.0-cil      1.1.13.6-4    Mono Sqlite library
ii  libmono-system-data1.0-cil 1.1.13.6-4    Mono System.Data library
ii  libmono-system-web1.0-cil  1.1.13.6-4    Mono System.Web library
ii  libmono-system1.0-cil      1.1.13.6-4    Mono System libraries (1.0)
ii  libmono1.0-cil             1.1.13.6-4    Mono libraries (1.0)
ii  libmusicbrainz4c2a         2.1.2-4       Second generation incarnation of t
ii  libnautilus-burn2          2.12.3-2      Nautilus Burn Library - runtime ve
ii  liborbit2                  1:2.14.0-1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.12.1-3      Layout and rendering of internatio
ii  libpopt0                   1.7-5         lib for parsing cmdline parameters
ii  libsm6                     1:1.0.0-4     X11 Session Management library
ii  libstartup-notification0   0.8-1         library for program launch feedbac
ii  libx11-6                   2:1.0.0-6     X11 client-side library
ii  libxcursor1                1.1.5.2-5     X cursor management library
ii  libxext6                   1:1.0.0-4     X11 miscellaneous extension librar
ii  libxfixes3                 1:3.0.1.2-4   X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.0-5     X11 Input extension library
ii  libxinerama1               1:1.0.1-4     X11 Xinerama extension library
ii  libxml2                    2.6.24.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.1.0.2-4   X11 RandR extension library
ii  libxrender1                1:0.9.0.2-4   X Rendering Extension client libra
ii  mono-runtime               1.1.13.6-4    Mono runtime
ii  zlib1g                     1:1.2.3-11    compression library - runtime

banshee recommends no packages.

-- no debconf information
diff -Nur banshee-0.10.10.orig/src/PlayerInterface.cs 
banshee-0.10.10/src/PlayerInterface.cs
--- banshee-0.10.10.orig/src/PlayerInterface.cs 2006-05-01 09:56:52.000000000 
-0600
+++ banshee-0.10.10/src/PlayerInterface.cs      2006-06-03 19:17:07.000000000 
-0600
@@ -1316,7 +1316,7 @@
                 return;
             }
             
-            playlistModel.Clear();
+            playlistModel.ClearModel();
             
             if(!searchEntry.IsQueryAvailable) {
                 playlistModel.ReloadSource();

Reply via email to