Time-based playlist... HOW?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
geozz
New Cone
New Cone
Posts: 1
Joined: 15 Jun 2016 15:03

Time-based playlist... HOW?

Postby geozz » 15 Jun 2016 15:15

Hello VLC fans,

I try to make a playlist, with a radio streaming for in my shop. Now, i want to add some MP3 files like 'we are closing in 15 minutes' and 'welcome to our shop'. In the meantime i want to hear a radiostation (skyradio) <- radio streaming works great!
So, at 15:45 i want a MP3, at 16:45 and some other times. Áll automaticly. After the MP3 voice, i want directly the radio back on.
I tried something with .BAT files, opening and closing VLC to play those MP3's but that is a lot of scripting and i dont like that.

Kindly regards,

Geoffrey Ruis, :D
Kringloop Balkbrug (.nl)

Ludrax
Big Cone-huna
Big Cone-huna
Posts: 568
Joined: 07 Jul 2010 14:28

Re: Time-based playlist... HOW?

Postby Ludrax » 18 Jun 2016 18:37

So, at 15:45 i want a MP3, at 16:45 and some other times.
viewtopic.php?f=2&t=127496
I see the item added to my playlist but I guess there is something I don't understand because the stream never starts at the designated time I set.
An' if ain't broke, then don't try to fix it...

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: Time-based playlist... HOW?

Postby mederi » 19 Jun 2016 15:36

You could prepare a playlist combining the radio stream and local mp3 files. You can set a duration for the endless radio stream by using ":run-time" or ":stop-time" VLC option with the stream. You just need to calculate durations depending on the time of playlist start, durations and desired scheduled times of mp3 messages. A VLC Extension Lua script could help you to prepare such a playlist. M3U playlist example:

Code: Select all

#EXTM3U #EXTINF:0,SKYRADIO #EXTVLCOPT:run-time=7200 http://8593.live.streamtheworld.com:80/SKYRADIOAAC_SC #EXTINF:10,Welcome D:\mp3\Welcome.mp3 #EXTINF:0,SKYRADIO #EXTVLCOPT:run-time=7190 http://8593.live.streamtheworld.com:80/SKYRADIOAAC_SC
I think that it is possible to make a proper scheduler as a custom VLC Interface Lua script (something like Time v2.0).

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: Time-based playlist... HOW?

Postby mederi » 15 Aug 2016 22:42


sahil
New Cone
New Cone
Posts: 3
Joined: 12 Dec 2018 07:32
VLC version: 3.0.3
Operating System: Windows

Re: Time-based playlist... HOW?

Postby sahil » 12 Dec 2018 10:04

i want to do something similar but not with a radiostream. In just a regular playlist, can i specify the time for which each file will be played (in loop) before moving on to next one. Like play video1 for 1 hour (in loop) and then go to next one in the playlist. So that video1 plays for the first hour and video2 for next 1 hour and then video3 for next 1 hour and so on.

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: Time-based playlist... HOW?

Postby mederi » 12 Dec 2018 14:36

You could simply duplicate media items in the playlist :)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 1 guest