[rygel] core: Add hack for WMP 12
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Add hack for WMP 12
- Date: Wed, 15 Feb 2012 20:54:38 +0000 (UTC)
commit 0d314effdae1ab53f6ae2c8e41b982813c7b6f75
Author: Jens Georg <mail jensge org>
Date: Fri Feb 10 15:41:54 2012 +0200
core: Add hack for WMP 12
src/rygel/Makefile.am | 1 +
src/rygel/rygel-client-hacks.vala | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/Makefile.am b/src/rygel/Makefile.am
index 121bc25..def47d2 100644
--- a/src/rygel/Makefile.am
+++ b/src/rygel/Makefile.am
@@ -87,6 +87,7 @@ VAPI_SOURCE_FILES = \
rygel-xbox-hacks.vala \
rygel-panasonic-hacks.vala \
rygel-xbmc-hacks.vala \
+ rygel-wmp-hacks.vala \
rygel-v1-hacks.vala \
rygel-import-resource.vala \
rygel-item-creator.vala \
diff --git a/src/rygel/rygel-client-hacks.vala b/src/rygel/rygel-client-hacks.vala
index a79c69b..95b2e0e 100644
--- a/src/rygel/rygel-client-hacks.vala
+++ b/src/rygel/rygel-client-hacks.vala
@@ -63,6 +63,10 @@ internal abstract class Rygel.ClientHacks : GLib.Object {
return new XBoxHacks (message);
} catch (Error error) { }
+ try {
+ return new WMPHacks (message);
+ } catch (Error error) { }
+
return new XBMCHacks (message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]