[banshee] [AmazonMp3.Store] Add German store's .amz mimetype
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [AmazonMp3.Store] Add German store's .amz mimetype
- Date: Sun, 25 Jul 2010 10:29:37 +0000 (UTC)
commit 232ed7858ebda457d9aaa1abad82008aabc4015e
Author: Gabriel Burt <gabriel burt gmail com>
Date: Sun Jul 25 12:28:24 2010 +0200
[AmazonMp3.Store] Add German store's .amz mimetype
Should fix bgo#625210
.../Banshee.AmazonMp3.Store/StoreView.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs b/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
index b94e611..43a6c04 100644
--- a/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
+++ b/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
@@ -88,6 +88,9 @@ namespace Banshee.AmazonMp3.Store
protected override string OnDownloadRequested (string mimetype, string uri, string suggestedFilename)
{
switch (mimetype) {
+ // The German store uses this mimetype, see bgo#625210
+ case "audio/x-amzaudio":
+ // The US and hopefully all other stores use this one
case "audio/x-amzxml":
var dest_uri_base = "file://" + Paths.Combine (Paths.TempDir, suggestedFilename);
var dest_uri = new SafeUri (dest_uri_base);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]