After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694270 - Rygel Playbin does not work with Audio Station of Synology NAS
Rygel Playbin does not work with Audio Station of Synology NAS
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: IOP
0.16.x
Other Linux
: Normal normal
: ---
Assigned To: rygel-maint
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-20 14:26 UTC by Frederic Danis
Modified: 2013-03-04 08:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
all: Apply V1 downgrade to each service (5.15 KB, patch)
2013-03-03 13:01 UTC, Jens Georg
committed Details | Review
core,data: V1 downgrade for libupnp (1.86 KB, patch)
2013-03-03 13:12 UTC, Jens Georg
committed Details | Review

Description Frederic Danis 2013-02-20 14:26:12 UTC
Audio Station (4.0-2307) of Synology DSM 4.1 detects Rygel Playbin renderer but does not allow any action (i.e. unable to play mp3 through it).

I run Rygel Playbin from Ubuntu 12.04 (rygel v0.16.4) and Raspberry Pi (rygel v0.14.3).

I found following traces in Audio Station logs:
  get_capability.cpp:139 Failed to download RCS SCPD xml, url [], rc[-108], msg[UPNP_E_INVALID_URL]

After I hacked Rygel to return RenderingControl:1 and AVTransport:1 I am able to control the renderer.

User agent of Synology is:
  Linux/3.2.11, UPnP/1.0, Portable SDK for UPnP devices/1.6.6
Comment 1 Jens Georg 2013-02-20 15:32:12 UTC
Meh. Brilliant user agent, thank you Synology.


Starting with 0.17.7 the force-downgrade-for setting in rygel.conf applies to the renderer as well. Can you check whether adding "Portable SDK" there fixes it?
Comment 2 Frederic Danis 2013-02-21 10:23:21 UTC
This allows me to play/stop/pause mp3 file.

But, I can not change volume from controller (Synology Audio Station), which I can do with my hack.
If I understand correctly, force-downgrade-for change MediaRender and AVTransport versions but not RenderingControl.
Comment 3 Jens Georg 2013-02-21 10:27:11 UTC
Ok, this was enough until now, I'll add downgrade for that as well. Thanks for testing.
Comment 4 Jens Georg 2013-03-03 13:01:14 UTC
Created attachment 237875 [details] [review]
all: Apply V1 downgrade to each service
Comment 5 Jens Georg 2013-03-03 13:12:59 UTC
Created attachment 237876 [details] [review]
core,data: V1 downgrade for libupnp

In theory we'd want to apply the downgrade for synology NAS devices only, but
they fail to provide a proper user agent so we have to apply it to everything
out there using libupnp.
Comment 6 Jens Georg 2013-03-04 08:00:18 UTC
Attachment 237875 [details] pushed as 000c054 - all: Apply V1 downgrade to each service
Attachment 237876 [details] pushed as a71b262 - core,data: V1 downgrade for libupnp