[vlc-devel] [PATCH 3/8] renderer: add vlc_renderer_item_uri

Thomas Guillem thomas at gllm.fr
Tue Sep 20 09:22:34 CEST 2016



On Tue, Sep 20, 2016, at 08:56, Rémi Denis-Courmont wrote:
> Le tiistaina 20. syyskuuta 2016, 8.46.35 EEST Thomas Guillem a écrit :
> > On Mon, Sep 19, 2016, at 22:36, Rémi Denis-Courmont wrote:
> > > Le maanantaina 19. syyskuuta 2016, 19.09.46 EEST Thomas Guillem a écrit :
> > > > For display purpose
> > > 
> > > URL are meant to be human-readable, but are mostly meant to locate
> > > things, not
> > > to be displayed.
> > > 
> > > In any case, I don´t see what this adds over the existing name property.
> > 
> > I hesitated with vlc_renderer_item_protocol() to get the protocol
> > (chromecast, upnp...).
> 
> Not really? If the natural URI scheme ends up being "http" in several
> cases, 
> as is likely, or if there exists no URI scheme to describe the
> protocol...

Ah yes. I'll add a const char *device_type ("chromecast", "upnp",
"airport"...) when creating a new renderer item. This variable will also
be passed to libvlc.

> 
> -- 
> Rémi Denis-Courmont
> Nonsponsored VLC developer
> http://www.remlab.net/CV.pdf
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list