[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 :

#EXTM3U
#EXTINF:0,2 - France 2
rtsp://mafreebox.freebox.fr/freeboxtv/201
#EXTINF:0,3 - France 3 national
rtsp://mafreebox.freebox.fr/freeboxtv/202
[...]
etc etc... (more than 300 chanels like that)
[...]
#EXTINF:0,324 - France 3 Rhône-Alpes
rtsp://mafreebox.freebox.fr/freeboxtv/303
#EXTINF:0,999 - Mire FREEBOX
rtsp://mafreebox.freebox.fr/freeboxtv/308


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 :

#EXTM3U
#EXTINF:0,3 - France 3 national
rtsp://mafreebox.freebox.fr/freeboxtv/202


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 ?


best,

Yvon
-------------- 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