Page 1 of 1

Service Discovery and vlc.config access

Posted: 13 May 2013 22:48
by diegofn
Hi,

So many people have request me a dialog with username and password in TuneIn Radio Service Discovery,
However after writer the VLC Extension, write the config file, I can't load in the service discovery lua script the vlc.config object.

Anyone know, how to read vlc.config object from Service Discoery lua script or how to get userdatapath from this script type?

Thanks for your help!

Re: Service Discovery and vlc.config access

Posted: 16 May 2013 11:20
by Jean-Baptiste Kempf
You want the extension script to load the SD script?

Re: Service Discovery and vlc.config access

Posted: 16 May 2013 12:22
by diegofn
Hi j-b

Yes, The extension if for show a dialog to enter username and password. In this moment, TuneIn Radio SD Script, has the username and password as variables but I think that its interesting make an dialog to request this info.

Thanks for your help!

Re: Service Discovery and vlc.config access

Posted: 16 May 2013 15:44
by Jean-Baptiste Kempf
Not sure we can do that.
Can you call the dialog. functions from your SD?

Re: Service Discovery and vlc.config access

Posted: 19 May 2013 17:20
by diegofn
Hi j-b

Thanks for your response, I build the following form using a VLC lua extension, with this form you can input your TuneIn username and password.

Image

The idea is when user made clic in the TuneIn SD It read the username and password from this file, However I need to get access to the vlc.config.path variable. Do you have any idea? or any suggestion to get access to vlc.config object.

You can see the script in https://github.com/diegofn/TuneIn-Radio-VLC

Regards.

Diego Fernando Nieto
@diegofn

Rgd