
stop after duration
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
ANNOUNCEMENT: starting from VLC version 2.1 this extension stopped working, because VLC developers have removed few important callback from lua API, which this extension was relying on.
So, to make it work, you should downgrade to VLC 2.0.8 (stable)
http://download.videolan.org/pub/videolan/vlc/2.0.8/
or upgrade to VLC 2.2 (pre release)
http://download.videolan.org/testing/vlc-2.2.0-pre3/
This extension calculates the duration of the current playlist, and lets you choose the maximum duration you want to play the playlist.
In other words, it's a countdown which pauses the playlist at the end of the chosen duration.
It can be used for exemple to listen to music to fall asleep.
5 years ago
1.0 : init
1.1 : corrects a major bug which occurred when the track changed
5 years ago
1.0 : init
1.1 : corrects a major bug which occurred when the track changed
Destne
5 years ago
It does work with VLC 2.0.8. Useful tool, when it works!
Hope this helps :)
Report
bugsneo
5 years ago
I wait the next xubuntu LTS to upgrade so you will wait before I can test and check if I can correct the problem.
Sorry for the inconvenience and tank you for your message.
Report
Destne
5 years ago
1. I get an extension not responding message for "stop after duration" and...
2. VLC hangs - doesn't matter what I do, need to kill the VLC process and restart VLC.
FYI!
I have tried on a clean install of VLC 2.08 as well.
Thanks!
Report
bugsneo
5 years ago
As you said it has work on VLC 2.0.8 (I have this extension for this version), so without a complete error message I can't find why it crash VLC.
Can you try to launch VLC from a console, and view if the message is show on it.
Have you try to delete the config folder of VLC (somewhere in your personal folder in AppData), then reinstall the extension?
Report
Destne
5 years ago
Can you tell me how to launch from console? I am an ex-dev but not used tools for 20 years ;)
Thanks!
Report
bugsneo
5 years ago
Report
doogri
5 years ago
I know this page:
http://www.videolan.org/developers/vlc/share/lua/README.txt
but need more elaborate one. Thanks.
Report
bugsneo
5 years ago
Report
AdrianMeis
6 years ago
I tried to use it in Windows 7 x64. I insert the "Elapsed time" and play Start. The video starts automatically, but it doesn't pause.
Thanks for any reply!
Report
bugsneo
6 years ago
Report
AdrianMeis
6 years ago
PS the countdown doesn't even start.
Thanks
Report
bugsneo
5 years ago
So you can downgrade to VLC 2.0.8 (stable) http://download.videolan.org/pub/videolan/vlc/2.0.8/ or upgrade to VLC 2.2 (pre release)
http://download.videolan.org/testing/vlc-2.2.0-pre3/
Report
mederi
6 years ago
Report
bugsneo
6 years ago
Report
bugsneo
6 years ago
I'm under Xubuntu 12.04, vlc 2.0.8 (I have many random crash of vlc with any extension).
Thank's for your report
Report