Index: AudioCdRipper.cs
===================================================================
--- AudioCdRipper.cs    (révision 5209)
+++ AudioCdRipper.cs    (copie de travail)
@@ -28,6 +28,7 @@

 using System;
 using System.Collections.Generic;
+using System.Text;

 using Mono.Unix;
 using Mono.Addins;
@@ -182,8 +183,20 @@
             user_job.Status = status;

             SafeUri uri = new SafeUri (FileNamePattern.BuildFull (track,
null));
+            int i = 0;
+            SafeUri uri2 = uri;
+            StringBuilder bld = new StringBuilder();
+            //To avoid the overwrite of previous file
+            while (Banshee.IO.File.Exists(uri2)) {
+                bld = new StringBuilder();
+                bld.Append(uri);
+                bld.Append("(");
+                bld.Append(i);
+                bld.Append(")");
+                uri2 = new SafeUri(bld.ToString());
+            }
             bool tagging_supported;
-            ripper.RipTrack (track.IndexOnDisc, track, uri, out
tagging_supported);
+            ripper.RipTrack (track.IndexOnDisc, track, uri2, out
tagging_supported);
         }

 #region Ripper Event Handlers

