banshee r3909 - in trunk/banshee: . src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3909 - in trunk/banshee: . src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp
- Date: Thu, 8 May 2008 21:47:16 +0100 (BST)
Author: gburt
Date: Thu May 8 20:47:15 2008
New Revision: 3909
URL: http://svn.gnome.org/viewvc/banshee?rev=3909&view=rev
Log:
2008-05-08 Gabriel Burt <gabriel burt gmail com>
* src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Fix bug with
updating/removing the album when removing a track.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs
Modified: trunk/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs (original)
+++ trunk/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs Thu May 8 20:47:15 2008
@@ -303,7 +303,7 @@
string key = MakeAlbumKey (track.ArtistName, track.AlbumTitle);
if (album_cache.ContainsKey (key)) {
Album album = album_cache[key];
- album.RemoveTrack (track_map[track.TrackId]);
+ album.RemoveTrack (mtp_track);
if (album.TrackCount == 0) {
album.Remove ();
album_cache.Remove (key);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]