VLC "automation"

Feature requests for VLC.
cbf
New Cone
New Cone
Posts: 3
Joined: 04 Dec 2012 15:25

VLC "automation"

Postby cbf » 04 Dec 2012 15:38

Hi all, new to this forum and have been searching the posts looking for an answer to my question. I operate a Low Power AM radio station and receive content from a variety of networks, via Internet stream url's, in real time. Since the various networks stream in different formats (ogg, aac, mp3 etc.) I need a player that can handle the different formats. VLC works great playing all the streams I use. I was wondering if there is a way to program VLC to "automate" switching between the various streams (url's) at specific times? (I have been looking for advanced info on the playlist feature thinking that might work?) Anyone have any thoughts on this?

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

Re: VLC "automation"

Postby Jean-Baptiste Kempf » 04 Dec 2012 15:53

You could script it.
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.

cbf
New Cone
New Cone
Posts: 3
Joined: 04 Dec 2012 15:25

Re: VLC "automation"

Postby cbf » 04 Dec 2012 16:01

Can you direct me to a source for creating this type of script?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: VLC "automation"

Postby mederi » 07 Dec 2012 12:41


cbf
New Cone
New Cone
Posts: 3
Joined: 04 Dec 2012 15:25

Re: VLC "automation"

Postby cbf » 13 Feb 2013 14:43

Is anyone that is familiar with "scripts" willing to write one for me? I am not a tech guy. I have been trying to figure it out, as time allows, but really have no clue. Have not been able to find step by step instructions. I really need to find out if a script will work so I can move on to other projects. HELP!!

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: VLC "automation"

Postby mederi » 13 Feb 2013 19:16

Try to use advanced options :stop-time=x or :run-time=x for your playlist items. Just edit saved playlist containing your favourite streams you would like to schedule. Here is an example of M3U playlist:

Code: Select all

#EXTM3U #EXTINF:-1,Radio 1 stream #EXTVLCOPT:stop-time=30 http://... #EXTINF:-1,Radio 2 stream #EXTVLCOPT:run-time=20 http://...
"Radio 1 stream" will play 30 seconds and then "Radio 2 stream" will play 20 seconds.

I think that it is not a bad idea to have some simple scheduler within VLC GUI. At least there could be an option to edit or add advanced options to particular playlist items directly in the playlist. Or is it possible to do the editor of options of playlist items as an extension script with own dialog box? A scheduler as an extension script is not possible within new VLC2.1 due to removed callbacks (playing media > callback > clock).
Please, developers, write here your opinion about this (good/bad idea).


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 7 guests