diff options
-rw-r--r-- | src/rygel/rygel-xbox-hacks.vala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rygel/rygel-xbox-hacks.vala b/src/rygel/rygel-xbox-hacks.vala index bf8a34a4..869e2336 100644 --- a/src/rygel/rygel-xbox-hacks.vala +++ b/src/rygel/rygel-xbox-hacks.vala @@ -29,7 +29,8 @@ internal errordomain Rygel.XBoxHacksError { } internal class Rygel.XBoxHacks : GLib.Object { - private static string AGENT = ".*Xbox.*|.*Allegro-Software-WebClient.*"; + private static string AGENT = + ".*Xbox.*|.*Allegro-Software-WebClient.*|.*SEC_HHP_Galaxy S/1\\.0.*"; private static string DMS = "urn:schemas-upnp-org:device:MediaServer"; private static string DMS_V1 = DMS + ":1"; private static string FRIENDLY_NAME_POSTFIX = @@ -44,7 +45,8 @@ internal class Rygel.XBoxHacks : GLib.Object { unowned MessageHeaders headers = action.get_message ().request_headers; var agent = headers.get_one ("User-Agent"); if (!(agent.contains ("Xbox")) && - !(agent.contains ("Allegro-Software-WebClient"))) { + !(agent.contains ("Allegro-Software-WebClient")) && + !(agent.contains ("SEC_HHP_Galaxy S/1.0"))) { throw new XBoxHacksError.NA (_("Not Applicable")); } |