Re: Rygel created UPnP stream help please



Hi Mark,


> Onkyo returned error is:
> dbus.exceptions.DBusException:
> com.intel.RendererServiceUPnP.OperationFailed: Operation failed:
> Resource not found

We have one bug in the dLeyna bug database where we get the "Resource Not Found" error.

https://github.com/01org/dleyna-server/issues/63

This bug occurred when the DMS and the DMC where multihomed but the DMR was only connected to a single network.  We got the "Resource not Found" error because we were passing the DMR a URL that was valid only for a network to which it was not connected.  Do you have a similar set up? If so, perhaps this is your problem.

 
I will guess that "multi-homed" would refer to multiple network adapters? The box which has a "server" (a Rygel created stream) which I will assume is called "DMS", and a control point (dLeyna), which I will assume is "DMC", has only one interface, with one IP address. Onkyo receiver (DMR?) of course has only one too.

Also, I am passing an URL to the stream very explicitly :

python rendererconsole.py --rendererPath=/com/intel/RendererServiceUPnP/server/1 --playURI=http://192.168.1.114:1122/GstLaunch/i/YnVtcGFuZGdyaW5k.mp3

so not quite sure which URL would be changed and by what?

 
If not, the only other problem I can think of from the client point of view is that renderer-service-upnp is not passing any meta data to the DMR, e.g.,

<CurrentURIMetaData></CurrentURIMetaData>

I really know too little about the internal workings of this protocols to say - can you see that in the tcpdump log that I posted on the list?

I also note that this setup worked correctly with XBMC, using exactly same commands, until XBMC version 12.1. (I am still hoping Jens will have a look at that....)

 
If this really is the problem, you will need to update to the latest version of the dLeyna-components called dLeyna-server and dLeyna-renderer.  In fact, you should do this anyway as the old dLeyna repositories, renderer-service-upnp and media-service-upnp are no longer maintained ( https://lists.01.org/pipermail/dleyna/2013-March/000113.html )

My dLeyna was compiled about 2 months ago from git, and was working OK with XBMC... my understanding is that in my case, the only function of dLeyna is to give renderer a command to play (stream) the URL specified. Which would lead me to think this may not be an issue... but if you can take a look at the tcpdump and see that this is the case, I'll try.... it is very very hard compiling this stuff and I see you did a lot of changes to it, so I would try to avoid it at all cost unless my issue is likely to be in there...
 

If you look in dleyna-renderer/test/dbus/rendererconsole.py you will see that there is a new method, open_uri_ex that takes an extra parameter, the meta data.  You can retrieve the meta data value using a new dLeyna-server method, available in dleyna-renderer/test/dbus/mediaconsole.py under the name, get_metadata.

 
Are you saying that the method I am currently using might not be functional against Onkyo? Because it was working against XBMC DLNA implementation (I believe Platinum based) and still does, as long as XBMC version is < 12.1

All I currently do is :

    parser.add_argument('--rendererPath', action="" help='Select renderer using specified object path', dest='rendererPath')
    parser.add_argument('--playURI', action="" help='Play specified URI (stream or from DLNA server)', dest='playURI')
...
   renderer = Renderer(args.rendererPath)
...
    renderer.open_uri(args.playURI)
    renderer.play()

Can you give a small example how I should modify this for open_uri_ex?

Also, is there a way to select a renderer by UDN? Or even "Friendly Name"?
Using UDN would to me make more sense then the device path, which a transient, where UDN is permanently unique identifier of a device....

On a sidenote - am I the first person ever to try to do this (DLNA streaming to Onkyo/Samsung devices) using dLeyna and/or Rygel? What renderer/stream provider are you using to test this functionality when you developed it in dLeyna? Is there perhaps an easier way to do this?

Thank you for your help.
Andrej

 
Hope this helps,

Mark




_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]