Page 1 of 1

Is there a way to make VLC preform a task after an X number of videos in a playlist is played?

Posted: 29 Jul 2017 20:52
by Zzzes
Don't ask me why I need this, I just know that I do and it will take too long to explain. I need VLC to clear it's playlist and open a file after 100 videos from that playlist played. I am very new to scripting and VLC in general, so explain it to me like to a newbie

Re: Is there a way to make VLC preform a task after an X number of videos in a playlist is played?

Posted: 02 Aug 2017 12:30
by mederi
You could try to modify the "looper_intf.lua" Interface script of Time v2.1: https://addons.videolan.org/p/1154032/
Just edit the script to add a counter and a desired action within Looper() function and to eliminate TIME_Loop() if you do not need it.

Re: Is there a way to make VLC preform a task after an X number of videos in a playlist is played?

Posted: 03 Aug 2017 10:19
by Zzzes
You could try to modify the "looper_intf.lua" Interface script of Time v2.1: https://addons.videolan.org/p/1154032/
Just edit the script to add a counter and a desired action within Looper() function and to eliminate TIME_Loop() if you do not need it.
Well, I got myself luaEdit, I open up the file and now looking at the code and do not understand what it does or how to make it do what I want it to and then it come to me: I am not a programmer! No wonder I can't understand any of this!

Man, if you help edit this for me, you are going to be the literal best person in the world.