How to use the rygel upload service?
- From: Christophe Lohr <christophe lohr cegetel net>
- To: rygel-list gnome org
- Subject: How to use the rygel upload service?
- Date: Fri, 27 Nov 2015 13:13:38 +0100
Hi,
I'm trying to figure how the upload service is actually working.
(I use gupnp-tools for the tests)
First, I check the rygel.conf file (*-upload-folders, allow-upload).
Then, I start rygel as a server only, with debug messages:
$ G_MESSAGES_DEBUG=all rygel -g 5 -d Playbin
In another terminal, I look for its uuid:
$ timeout 4 gssdp-discover -i lo
Using network interface lo
Scanning for all resources
Showing "available" messages
resource available
USN:
uuid:8aa83fb8-c1d8-445a-98c1-76d3d22847bf::urn:microsoft-com:service:X_MS_MediaReceiverRegistrar:1
Location:
http://127.0.0.1:39675/8aa83fb8-c1d8-445a-98c1-76d3d22847bf.xml
resource available
USN:
uuid:8aa83fb8-c1d8-445a-98c1-76d3d22847bf::urn:schemas-upnp-org:service:ConnectionManager:2
Location:
http://127.0.0.1:39675/8aa83fb8-c1d8-445a-98c1-76d3d22847bf.xml
resource available
USN: uuid:8aa83fb8-c1d8-445a-98c1-76d3d22847bf
Location:
http://127.0.0.1:39675/8aa83fb8-c1d8-445a-98c1-76d3d22847bf.xml
resource available
USN:
uuid:8aa83fb8-c1d8-445a-98c1-76d3d22847bf::urn:schemas-upnp-org:service:ContentDirectory:3
Location:
http://127.0.0.1:39675/8aa83fb8-c1d8-445a-98c1-76d3d22847bf.xml
resource available
USN:
uuid:8aa83fb8-c1d8-445a-98c1-76d3d22847bf::urn:schemas-upnp-org:device:MediaServer:3
Location:
http://127.0.0.1:39675/8aa83fb8-c1d8-445a-98c1-76d3d22847bf.xml
resource available
USN: uuid:8aa83fb8-c1d8-445a-98c1-76d3d22847bf::upnp:rootdevice
Location:
http://127.0.0.1:39675/8aa83fb8-c1d8-445a-98c1-76d3d22847bf.xml
Finally, I try to upload a picture:
$ gupnp-upload -i lo uuid:8aa83fb8-c1d8-445a-98c1-76d3d22847bf
gnome-logo.png
** (gupnp-upload:27841): CRITICAL **: Failed to find a suitable
container for upload.
It fails!
What kind of "container" is missing?
Here are debuging messages from rygel:
../..
(rygel:27823): RygelServer-DEBUG: rygel-browse.vala:109: Fetching 2
children of container '0' from index 0..
(rygel:27823): RygelServer-DEBUG: rygel-browse.vala:121: Fetched 2
children of container '0' from index 0.
** (rygel:27823): DEBUG: URL: /usr/share/gupnp-av/didl-lite-v2.xsd,
ID: (null).
** (rygel:27823): DEBUG: BASENAME: didl-lite-v2.xsd, PATH:
/usr/share/gupnp-av/didl-lite-v2.xsd
** (rygel:27823): DEBUG: URL:
http://www.upnp.org/schemas/av/upnp.xsd, ID: (null).
** (rygel:27823): DEBUG: BASENAME: upnp.xsd, PATH:
/usr/share/gupnp-av/upnp.xsd
** (rygel:27823): DEBUG: URL: http://www.upnp.org/schemas/av/av.xsd,
ID: (null).
** (rygel:27823): DEBUG: BASENAME: av.xsd, PATH:
/usr/share/gupnp-av/av.xsd
** (rygel:27823): DEBUG: URL:
http://dublincore.org/schemas/xmls/simpledc20021212.xsd, ID: (null).
** (rygel:27823): DEBUG: BASENAME: simpledc20021212.xsd, PATH:
/usr/share/gupnp-av/simpledc20021212.xsd
** (rygel:27823): DEBUG: URL: http://www.w3.org/2001/03/xml.xsd, ID:
(null).
** (rygel:27823): DEBUG: BASENAME: xml.xsd, PATH:
/usr/share/gupnp-av/xml.xsd
So, what's wrong?
Best regards
Christophe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]