vlc-media-source schedule the video files

lamousis

New Member
Hello and happy new year
I have OBS-studio in windows 10 Home with the Advanced Scene Switcher plugin.
I want to have a 24/7 stream in which I want to play a pre-recorder video in a specific time every day.
What I did was to create a new scene with vlc-media-source and then I added a folder with all the videos that I wanted to play.
The goal is when a video ends then OBS to switch to another scene and to return to the vlc-media scene at a specific time to play the next video and so on....
What it does is keep playing all the videos of the folder until the end without switching to any scene.
In the vlc-media-source input there are no options for this. In the media tab of the advanced scene switcher I couldn't find anything also. Even if i try "When vlc-source state is ended (or stopped)" still nothing.

What I am asking is Is there a way in a vlc-source video playlist to stop and wait after one video of the list is played and then when returning to that scene it will continue on the next video?
I've looked at macros tab but I couldn't figure out something
 

lamousis

New Member
I think I found a workaround in this, just in case someone is interested.
What I did was in Advanced Scene Switcher in Media tab I entered "when media is playing and time shorter than 1000ms " switch to another scene. In the properties of vlc-media-source I selected "pause when inactive - resume when active"
What it did was when the current video of the source reached a record before its end it pauses and resumes when the source's scene becomes active again. So in that way the videos of the playlist are played one by one.

The only problem is that sometimes even though the option pause when inactive - resume when active is selected in vlc-media-source properties the video won't pause when the scene is inactive but continues to play.
Does anyone had that problem with the vlc-media-source?
 
Top