[banshee] [FileSystemQueryJob] Add two possible filenames for cover art
- From: Bertrand Lorentz <blorentz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [FileSystemQueryJob] Add two possible filenames for cover art
- Date: Sun, 17 Jan 2010 11:19:23 +0000 (UTC)
commit 940ccf0fb67a2d96c38826da449a34ede1b2ed2d
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sun Jan 17 12:14:52 2010 +0100
[FileSystemQueryJob] Add two possible filenames for cover art
Add "album" and "albumart" as possible filenames for local cover art.
They're added to the end of the list, to save a few array lookups, as
they're probably less common than the other ones in the list.
.../FileSystemQueryJob.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Metadata.FileSystem/FileSystemQueryJob.cs b/src/Core/Banshee.Services/Banshee.Metadata.FileSystem/FileSystemQueryJob.cs
index 09cf2eb..93fafea 100644
--- a/src/Core/Banshee.Services/Banshee.Metadata.FileSystem/FileSystemQueryJob.cs
+++ b/src/Core/Banshee.Services/Banshee.Metadata.FileSystem/FileSystemQueryJob.cs
@@ -58,7 +58,7 @@ namespace Banshee.Metadata.FileSystem
}
private static string [] extensions = new string [] { ".jpg", ".jpeg", ".png", ".bmp" };
- private static string [] filenames = new string [] { "cover", "folder", "front" };
+ private static string [] filenames = new string [] { "cover", "folder", "front", "album", "albumart" };
protected void Fetch ()
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]