banshee r4008 - in trunk/banshee: . src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4008 - in trunk/banshee: . src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage
- Date: Wed, 28 May 2008 18:07:08 +0000 (UTC)
Author: gburt
Date: Wed May 28 18:07:08 2008
New Revision: 4008
URL: http://svn.gnome.org/viewvc/banshee?rev=4008&view=rev
Log:
2008-05-28 Gabriel Burt <gabriel burt gmail com>
* src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs:
Only load files from the audio_folders directories.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs
Modified: trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs (original)
+++ trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs Wed May 28 18:07:08 2008
@@ -116,8 +116,10 @@
{
DatabaseImportManager importer = new DatabaseImportManager (this);
importer.KeepUserJobHidden = true;
- importer.Threaded = false; // We're already threaded
- importer.QueueSource (BaseDirectory);
+ importer.Threaded = false; // We are already threaded
+ foreach (string audio_folder in AudioFolders) {
+ importer.QueueSource (audio_folder);
+ }
}
public override void Import ()
@@ -189,7 +191,7 @@
protected string [] AudioFolders {
get {
if (audio_folders == null) {
- audio_folders = HasMediaCapabilities ? MediaCapabilities.AudioFolders : new string [] {};
+ audio_folders = HasMediaCapabilities ? MediaCapabilities.AudioFolders : new string [] { BaseDirectory };
}
return audio_folders;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]