stop after duration
VLC Extensions
Description:

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.

Last changelog:

2 years ago

1.0 : init
1.1 : corrects a major bug which occurred when the track changed

Destne

1 year ago

I have tested this on Win7/64 with VLC versions 2.2.1, vlc-2.2.0-pre3, 2.1.5 and it doesnt work.

It does work with VLC 2.0.8. Useful tool, when it works!

Hope this helps :)

Report

bugsneo

1 year ago

I am sorry but I can't test on vlc 2.2.1 just now because I am under xubuntu 12.04.
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

1 year ago

Thanks for the msg. On v2.08 it stops VLC but then:
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

1 year ago

hum… if I correctly understand, it doesn't work anymore on VLC 2.0.8.

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

1 year ago

Hi, I did complete fresh install (cleared VLC folder and the appdata folder), no other extensions present - the countdown works OK and stops VLC but hangs it at the same time, on v2.08.

Can you tell me how to launch from console? I am an ex-dev but not used tools for 20 years ;)

Thanks!

Report

bugsneo

1 year ago

Search the fullpath to the exe of vlc, and type it in the console. (I have not a computer on windows to test)

Report

doogri

2 years ago

Hi, does anyone know from where can I get the upgraded API of VLC for extensions?
I know this page:
http://www.videolan.org/developers/vlc/share/lua/README.txt
but need more elaborate one. Thanks.

Report

bugsneo

2 years ago

Hi, I'm sorry but VLC have a bad documentation of his API, I haven't more links than you for that.

Report

AdrianMeis

2 years ago

Hi,
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

2 years ago

Which version of vlc do you use?

Report

AdrianMeis

2 years ago

I use the version "2.1.5 Rincewind".
PS the countdown doesn't even start.
Thanks

Report

bugsneo

2 years ago

After some research the VLC developers have removed few important callback from lua API, which this extension was relying on.
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

3 years ago

Does the countdown work for you if one playlist item is over and VLC plays next media? What OS do you use?

Report

bugsneo

3 years ago

Hum, there is a bug, I work on.
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

bugsneo

3 years ago

The update correct the bug

Report

2 years ago

1.0 : init
1.1 : corrects a major bug which occurred when the track changed

Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 50%
50.00 Likes
50 Dislikes
Details
version
updated Jan 21 2015
added Apr 13 2014
downloads
page views 2046
support bugsneo
For The Product
stop after duration
5 - 10 - 25 - 50 - 100 - 200 - 500