[banshee: 43/57] Added quirk for MediaTomb 0.12.1
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee: 43/57] Added quirk for MediaTomb 0.12.1
- Date: Mon, 13 Feb 2012 20:31:26 +0000 (UTC)
commit 115d4992c0637b82f0474bcd2966b4a527bb963f
Author: Tobias Arrskog <topfs2 xbmc org>
Date: Fri Jul 15 17:09:17 2011 +0200
Added quirk for MediaTomb 0.12.1
.../Banshee.UPnPClient/UPnPServerSource.cs | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.UPnPClient/Banshee.UPnPClient/UPnPServerSource.cs b/src/Extensions/Banshee.UPnPClient/Banshee.UPnPClient/UPnPServerSource.cs
index 803da75..439cb00 100644
--- a/src/Extensions/Banshee.UPnPClient/Banshee.UPnPClient/UPnPServerSource.cs
+++ b/src/Extensions/Banshee.UPnPClient/Banshee.UPnPClient/UPnPServerSource.cs
@@ -103,7 +103,13 @@ namespace Banshee.UPnPClient
List<string[]> FindBrowseQuirks (Device device)
{
List<string[]> core = new List<string[]>();
- core.Add(new string[0]);
+ if (device.ModelName == "MediaTomb" && device.ModelNumber == "0.12.1") {
+ core.Add(new string[2] { "Audio", "Albums" });
+ core.Add(new string[2] { "Video", "All Video" });
+ } else {
+ core.Add(new string[0]);
+ }
+
return core;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]