[vlc-devel] [MacOS X]Extending AppleScript vocabulary

Yvon Thoraval yvonthoraval at free.fr
Tue Jul 4 14:51:56 CEST 2006

Hey all,

i'm interested in extending the AppleScript vacabulary of the MacOS X  
coco version of vlc.

i'd like to be in touch was the people maintaining that version  
(MacOS X) of vlc.

this is in order to connect vlc to an item of a plylist.

the playlist.m3u is located at <http://mafreebox.freebox.fr/freeboxtv/ 
playlist.m3u> its content being :

#EXTINF:0,2 - France 2
#EXTINF:0,3 - France 3 national
etc etc... (more than 300 chanels like that)
#EXTINF:0,324 - France 3 Rhône-Alpes
#EXTINF:0,999 - Mire FREEBOX

for the time being i'm unable to select a chanel by using  
AppleScript, i found a workaround using Ruby as a scripting language :

- first i save "playlist.m3u" somewhere ;
- second i extract a chanel of it, in my example chanel 3 ;
- write the result into a file called "record.m3u" having the content :

#EXTINF:0,3 - France 3 national

then having ONLY ONE chanel, the one the user want to play/record.

then my questions :

do you think their is a better way to make the samething (shell,  
applescript...) ?

could it be not too difficult extending the AppleScript vocabulary in  
order to get one item in the scroll area of the VLC ui ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060704/ceccb38c/attachment.html>

More information about the vlc-devel mailing list