banshee r5092 - in trunk/banshee: . src/Extensions/Banshee.AudioCd/Banshee.AudioCd



Author: jmillikin
Date: Wed Mar  4 01:59:18 2009
New Revision: 5092
URL: http://svn.gnome.org/viewvc/banshee?rev=5092&view=rev

Log:
2009-03-03  John Millikin  <jmillikin gmail com>

	* src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs:
	Only increment the loop counter once when setting compilation
	properties on tracks from the Audio CD model.



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs

Modified: trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs	Wed Mar  4 01:59:18 2009
@@ -195,7 +195,7 @@
             if (is_compilation) {
                 album.IsCompilation = true;
                 for (i = 0; i < release.Tracks.Count; i++) {
-                    AudioCdTrackInfo model_track = (AudioCdTrackInfo)this[i++];
+                    AudioCdTrackInfo model_track = (AudioCdTrackInfo)this[i];
                     model_track.IsCompilation = true;
                     model_track.AlbumArtist = artist.Name;
                     model_track.AlbumArtistSort = artist.NameSort;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]