[banshee] [AudioCdRipper] Read tags from ripped files



commit 4e339d3b39dddccddf927eca555c10e138d7de14
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Mon Dec 21 17:08:20 2009 +1100

    [AudioCdRipper] Read tags from ripped files
    
    This allows to add encoder-specific metadata (such the bit rate)
    to the database (bgo#604582)

 .../Banshee.AudioCd/AudioCdRipper.cs               |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs b/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs
index b7dde94..9d822ab 100644
--- a/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs
+++ b/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs
@@ -36,6 +36,7 @@ using Hyena.Jobs;
 
 using Banshee.Base;
 using Banshee.ServiceStack;
+using Banshee.Streaming;
 using Banshee.Collection;
 using Banshee.Collection.Database;
 using Banshee.MediaEngine;
@@ -208,6 +209,8 @@ namespace Banshee.AudioCd
             track.FileModifiedStamp = Banshee.IO.File.GetModifiedTime (track.Uri);
             track.LastSyncedStamp = DateTime.Now;
 
+            StreamTagger.TrackInfoMerge (track, StreamTagger.ProcessUri (track.Uri), true);
+
             track.Save ();
 
             source.UnlockTrack (track);



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