From e20944a983caa11314ffd280ab7ee2a8b73d5957 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Fri, 2 Mar 2012 22:57:50 +0200 Subject: [PATCH] core: Add pupnp-based clients to V1 downgrade Fixes VLC 1.1.x UPnP support --- data/rygel.conf | 2 +- src/rygel/rygel-v1-hacks.vala | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/rygel.conf b/data/rygel.conf index 0c8c63a..8667800 100644 --- a/data/rygel.conf +++ b/data/rygel.conf @@ -75,7 +75,7 @@ allow-deletion=true # working with Rygel, please file a bug at # https://bugzilla.gnome.org/enter_bug.cgi?product=Rygel&component=IOP # so we can include it in future releases. -#force-downgrade-for=Allegro-Software-WebClient;SEC_HHP_Galaxy S/1.0 +#force-downgrade-for=Allegro-Software-WebClient;SEC_HHP_Galaxy S/1.0;Portable SDK for UPnP devices # Plugin specific sections # diff --git a/src/rygel/rygel-v1-hacks.vala b/src/rygel/rygel-v1-hacks.vala index 776ff10..c8683df 100644 --- a/src/rygel/rygel-v1-hacks.vala +++ b/src/rygel/rygel-v1-hacks.vala @@ -30,7 +30,8 @@ using GUPnP; */ internal class Rygel.V1Hacks : ClientHacks { private const string DEFAULT_AGENT = ".*Allegro-Software-WebClient.*|" + - ".*SEC_HHP_Galaxy S/1\\.0.*"; + ".*SEC_HHP_Galaxy S/1\\.0.*|" + + ".*Portable SDK for UPnP devices.*" private const string DMS = "urn:schemas-upnp-org:device:MediaServer"; private const string DMS_V1 = DMS + ":1"; private const string MATCHING_PATTERN = ".*%s.*"; -- 2.7.4