Service Discovery and vlc.config access

Discuss your Lua playlist, album art and interface scripts.
diegofn
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2008 17:34

Service Discovery and vlc.config access

Postby diegofn » 13 May 2013 22:48

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Service Discovery and vlc.config access

Postby Jean-Baptiste Kempf » 16 May 2013 11:20

You want the extension script to load the SD script?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

diegofn
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2008 17:34

Re: Service Discovery and vlc.config access

Postby diegofn » 16 May 2013 12:22

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Service Discovery and vlc.config access

Postby Jean-Baptiste Kempf » 16 May 2013 15:44

Not sure we can do that.
Can you call the dialog. functions from your SD?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

diegofn
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2008 17:34

Re: Service Discovery and vlc.config access

Postby diegofn » 19 May 2013 17:20

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


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 5 guests