[banshee/1.5.1-fixes: 11/56] Support importing .ts files
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/1.5.1-fixes: 11/56] Support importing .ts files
- Date: Mon, 22 Mar 2010 18:05:00 +0000 (UTC)
commit cbd08f51e01354ca33f93e99f97c17c16c04adb4
Author: Gabriel Burt <gabriel burt gmail com>
Date: Thu Oct 22 13:58:03 2009 -0700
Support importing .ts files
.../Banshee.Core/Banshee.Streaming/StreamTagger.cs | 2 +-
.../DatabaseImportManager.cs | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs b/src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs
index ab7baf2..0b0d22e 100644
--- a/src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs
+++ b/src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs
@@ -40,7 +40,7 @@ namespace Banshee.Streaming
// This is a short list of video types that TagLib# might not support but that
// we want to make sure are recognized as videos
private static readonly ExtensionSet VideoExtensions = new ExtensionSet (
- "avi", "divx", "dv", "f4p", "f4v", "flv", "m4v", "mkv", "mov", "ogv", "qt");
+ "avi", "divx", "dv", "f4p", "f4v", "flv", "m4v", "mkv", "mov", "ogv", "qt", "ts");
public static TagLib.File ProcessUri (SafeUri uri)
{
diff --git a/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs b/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
index 31162b8..9d6f48d 100644
--- a/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
+++ b/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
@@ -65,7 +65,8 @@ namespace Banshee.Collection.Database
"u", "vfw", "vob", "wav", "wave", "wax", "wm", "wma",
"wmd", "wmv", "wmx", "wv", "wvc", "wvx", "yuv", "f4v",
"f4a", "f4b", "669", "it", "med", "mod", "mol", "mtm",
- "nst", "s3m", "stm", "ult", "wow", "xm", "xnm", "spx"
+ "nst", "s3m", "stm", "ult", "wow", "xm", "xnm", "spx",
+ "ts"
);
public static bool IsWhiteListedFile (string path)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]