Re: Streaming to DLNA devices



On Mo, 2013-01-21 at 12:03 +1300, Andrej Falout wrote:
> Hi Jens,
> 
> 
>         
>         > Is it possible to specify a URL instead of a file?
>         
>         
>         But not in Korva, it is file-centric. I suggest using the
>         renderer-service-upnp
>         (https://01.org/dleyna/documentation/renderer-service-upnp)
>         part of
>         dLeyna for this which offers this functionality in a
>         python-scriptable
>         way.
>         
>         
> 
> 
> Thanks to your advice, I got this working now using dLeyna. I will be
> integrating streaming to DLNA devices into Logitech Media Server
> front-end, so I can consolidate all my hardware: Apple Airport,
> Bluetooth headphones, DLNA receiver, Squeezbox, and local playback on
> my server to my 24 bit USB DAC ...So I can control everything from one
> remote app and have one music collection and can synchronize playback
> between all of them and can transfer playlists between them...
> Nirvana.... Yay! :-)

Great :)


>         Not really. probably it just works :)
>         
> 
> 
> Indeed, it seems to work with all DLNA devices I have. I am still to
> find a way to differentiate between ones that can accept only mp3 and
> ones that can do flac or some other uncompressed format... so I send
> mp3 to all right now. Do you have a hint for me?

Yes. Call GetProtocolInfo on the Renderer's ConnectionManager service.
The sink variable of the response gives you a comma-separated list with
entries like http-get:*:audio/mpeg:DLNA.ORG_PN=MP3 or maybe a * at the
end as well, I think dLeyna even preprocesses that for you. The only
uncompressed format DLNA supports is raw PCM (profile LPCM), but there
should be devices doing flac as well.

Btw, to be really foolproof, all your uris should have a file extension
matching the file-type. Some (mainly cheap) devices rely on them.

> 
> 
> One last question: It would help me very much if I could find this two
> utilities:
> 
> 
> 1) a command-line control point, which can push URL to renderer,
> stop/play/pause, change volume etc....

Not really.

> 
> 2) A web browser control point. I am aware of dLeyna Cloud, but that
> is barely a prototype

There was something as a demo of gupnp-php, but I've no idea how usable
that is or what it's called.





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