Page 1 of 1

Dynamic playlist

Posted: 19 Mar 2008 16:41
by adriaantje
Hello VLC users!

I'm a happy VLC user, everything just works fine.

Tough I'm not completely satisfied, I'd like to use VLC as a streamer for an (internal) 'radiostation'. This system will require an advanced script to determine which track should follow (and should be streamed to the network).
I'll illustrate this:
* VLC asks programm (ex., php ~/radio.php) for the filename of a new track.
* VLC will just play this track
> Start over
or
* VLC asks an external playlist (ex., http://example.com/radio.php/dummy.m3u (will be handled by radio.php)) an webserver will return the name (and location) of the new file
* VLC will just play this track
> Start over
The last solution is working partly. It will start and with the -L option will loop. Problem: VLC caches the playlist file. So it will play the same track over and over. (I checked the m3u gave a different file second time).

Is there an possibility to disable the playlist cache or let a program determine the next track? $ vlc --longhelp --advanced --help-verbose was nice but wasn't helping...

Thanks in advance!

Ubuntu 7.10

Code: Select all

adriaan@adriaan:~$ vlc --version VLC media player 0.8.6c Janus VLC version 0.8.6c Janus Compiled by buildd@king.buildd Compiler: gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

Re: Dynamic playlist

Posted: 20 Oct 2012 12:17
by by MHz
4 years of later, from date of the publication of a post, me the matter too interests: how to force VLC to re-read playlist?

Re: Dynamic playlist

Posted: 09 Feb 2013 19:59
by dejakob
At the end of your playlist file, put the url of your playlist. At this way, VLC will load the playlist recursive.