beagle r4873 - branches/beagle-abock-branch/Filters



Author: abock
Date: Sat Oct 11 03:53:12 2008
New Revision: 4873
URL: http://svn.gnome.org/viewvc/beagle?rev=4873&view=rev

Log:
Small fixes to the taglib-sharp file filter

Modified:
   branches/beagle-abock-branch/Filters/FilterAudio.cs

Modified: branches/beagle-abock-branch/Filters/FilterAudio.cs
==============================================================================
--- branches/beagle-abock-branch/Filters/FilterAudio.cs	(original)
+++ branches/beagle-abock-branch/Filters/FilterAudio.cs	Sat Oct 11 03:53:12 2008
@@ -38,7 +38,8 @@
 		{
 			// 1: Added duration and bitrate property
 			// 2. Use TagLib-Sharp for filtering. Also index lots of new properties provided by TagLib#
-			SetVersion (2);
+			// 3. Index both album artist and track artist; the generic artist tag should be track artist
+			SetVersion (3);
 			SetFileType ("audio");
 		}
 
@@ -108,6 +109,9 @@
 			AddProperty (Beagle.Property.New ("dc:title", tag.Title));
 
 			foreach (string artist in tag.AlbumArtists)
+				AddProperty (Beagle.Property.New ("fixme:albumartist", artist));
+
+			foreach (string artist in tag.Artists)
 				AddProperty (Beagle.Property.New ("fixme:artist", artist));
 
 			foreach (string performer in tag.Performers)



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