From: Jens Georg Date: Fri, 10 Feb 2012 13:41:54 +0000 (+0200) Subject: core: Add hack for WMP 12 X-Git-Tag: RYGEL_0_13_2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d314effdae1ab53f6ae2c8e41b982813c7b6f75;p=profile%2Fivi%2Frygel.git core: Add hack for WMP 12 --- 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); }