Get the list of subtitles and audio languages in a dvd

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
j_souhail

Get the list of subtitles and audio languages in a dvd

Postby j_souhail » 08 Aug 2006 12:57

hi all,
i need to get the list of subtitles and audio languages in order to put it in a listbox or a combobox... anyone have an idea on how to impliment that...
im using c# language.
thank you

badubo
Blank Cone
Blank Cone
Posts: 17
Joined: 18 Jan 2006 23:06

Postby badubo » 15 Aug 2006 22:08

The only way I found is to put a html file in the http directory, enabling the http interface
put in this file :

Code: Select all

[Audio]<br> <vlc id="foreach" param1="inf" param2="audio-es" /> <vlc id="if" param1="inf.selected 1 =" /> Selected=<vlc id="value" param1="inf.id" /><br> <vlc id="end" /> <vlc id="value" param1="inf.id" />=<vlc id="value" param1="inf.name" /><br> <vlc id="end" /> <br> [Subtitles]<br> <vlc id="foreach" param1="inf" param2="spu-es" /> <vlc id="if" param1="inf.selected 1 =" /> Selected=<vlc id="value" param1="inf.id" /><br> <vlc id="end" /> <vlc id="value" param1="inf.id" />=<vlc id="value" param1="inf.name" /><br> <vlc id="end" /> <br>
this will generate a .ini file that contains the list (selected= show the item currently used
you only have to call this from a web request from your applcation and get the result
hope this help


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 58 guests