Remember position
VLC Extensions
Description:

When enabled, this extensions remembers the last position for all video files played, automatically resuming playback where you finished last time.

NOTE: This extension works on VLC 2.0.8 but not on 2.1.x as far as I know. Checkout the homepage for more info.

Installation:
On Windows, put it in %USERPROFILE%/AppData/Roaming/vlc/lua/extensions/(I had to create the lua and extensions folder)


Ubuntu:
You need to put the file mempos.lua in the following directory:
~/.local/share/vlc/lua/extensions

Imran51408

2 years ago

I'm happy to inform users that this feature has been added to the latest nightlies of VLC 2.2.0-rc2. I have tested it on the Intel-based Mac version and it works quite well, media will resume where you left it off. However, since it's still beta, it's not 100%. It won't resume if you only watched the first few seconds of a video and it won't resume if you were on the last few seconds of a video. Please confirm.

Report

Crumbley

2 years ago

Hi

Ran a 2 hour film with the current position being recorded right to the very end.
Ran the film again with Remember position turned off.
Activated the extension and the film jumped to the end of the film and finished.

The record was not deleted in the pos.txt file when the position recording was active and the film had reached the end.

Pos record elapsed and total seconds?
["Film name.mp4"] = 7442.710,

Regards,
Crumbley.

Report

augustbering

2 years ago

No, position records are never deleted. That might be a good idea, but me myself I never play a movie to the very end, so for me that wouldn't change anything.

Report

Crumbley

2 years ago

Loaded VLC
Ticked Resume Position
Loaded media file - went directly to remembered position
Played for 5 minutes
Loaded a second media file
Loaded interface Debug Logging
Error occurring every 10 seconds = lastsavepos not calculated due to being nil value, line 97.

Report

Crumbley

2 years ago

Got it to work under Windows 7 64bit.

I've taken the easy way out;I've gone back to VLC version 2 0 8.

Only one wish list item left.

By default, could it go to the remembered position when starting a media file rather than defaulting to the beginning?

That would mean that if the user wants to start a media file at the beginning when it had been started at the remembered position then they would need adjust the position slider to the beginning.

Normally I would like to listen to an audio book file from where I left off and only very rarely would I need to start the audio file from the beginning again.

These files can be ten or more hours long and I tend to listen in half hour sessions.

Impressive coding. Not over complicated functionality. Well done.



Report

Crumbley

2 years ago

The Remember Position flag setting should only be changed by the user and should survive VLC being closed etc.

If set to activate should stay that way for ever more or until a user changes it.

Report

Crumbley

2 years ago

I run VLC version 2.1.4 under Windows 7 on a 64 bit machine and Remember Position doesn't work.

It installs correctly and appears in the VLC view drop down list but I can't get the entry to react to mouse clicks.

VLC Resume Media V2 now runs OK under Window 7 64 bit so Remember Position may need the same solution.

How do I run Remember Position in debug mode to see if I can detect where the program is going wrong?

Wish list...

Can the Remember Position be made to work like the Video Resumer 1.1.3 addon in Firefox?

Basically at the start of every media file being played check the Remember Position flag. If the Remember position flag is not ticked start at the beginning of the media file.

If the Remember Position is ticked then see if the media file has an entry in a work file and start at the remembered position.

If no entry for that file then create an entry.

Record position in the work file every three seconds.

If media file position is within five seconds of the end of the media file then delete workfile entry.


Report

karpa

2 years ago

Greetings, thanks for a great extension (:

Just a question. Would it be possible to make it enabled by default?
So when you play a file, it remembers the position and perhaps when you play the same file again, it could as whether you want to play from beginning or from the last position?

Thanks (:

Report

Predatux

2 years ago

Can't activate it under Kubuntu 14

Report

chanchullero

2 years ago

I have good install the add on, and i can see it on VLC view but doesn't work for me on W7 x64 with vlc 2.1.3 !

Report

kantor

2 years ago

You can find a updated version (with fix for a position is nil bug) and some description for Mac OSX users here:

http://macokratie.blogspot.de/2013/07/vlc-wiedergabe-fortsetzen-per-extension.html

Report

ajkessel

3 years ago

Running vlc 2.1.4 win7/64 bit. I can install the extension and "remember position" appears in my "view" menu, but the menu item is inoperative. No check mark appears when I select it. The debug console says:

[0000000002106e30] lua generic error: Could not activate extension!

Any ideas how to troubleshoot?

Report

Troll7848

3 years ago

After the same problems as resthavener had with getting it into a file. I figured out how to work it. After checking "remember position" under "view" you can quit vlc. Then when you restart the video again go back and check "remember position" again it will jump to where you left off. A little clunky to use but it does work for me. Thanks.

Report

resthavener

3 years ago

The menu item shows (after the rigmarole of pasting code into text editor etc.) but clicking on it does nothing. Sorry - nice idea if it worked. ubuntu - btw

Report

gevrey

3 years ago

It does not show up in the list of my VLC extensions (unlike MEdia Context) on Windows 7 64 bits

Report

cdcclabtec

3 years ago

I used the extension on W7x64 and it works. You have to check Remember Position when you open a video. Perhaps you should confirm path. C:\Users\user profile\AppData\Roaming\vlc\lua\extensions

Report

mrgreeneyes

3 years ago

Can't download it.
When I click on download it just shows a bunch of code.

Report

jackiass

3 years ago

I can get the "Remember position" to appear in the extensions menu, but it doesn't do anything.

Report

KurtTappe

3 years ago

Ditto. I get it to appear in File->Extensions->Remember Position, but selecting it does nothing. I double-checked permissions on /Applications/VLC.app/Contents/MacOS/share/extensions but all seems OK. Even changed the .lua to 777. No go.

Report

cruelty

3 years ago

windows 7, vlc 32 bit - clicked download button, saved as mempos.lua and put it where instructions provided. Restarted vlc and tried it out, no luck.

Report

cruelty

3 years ago

vlc 2.0.6

Report

cruelty

3 years ago

Aha one has to tick the remember position under the "Show" menu drop down, then it will jump to where the video stopped playing.

However it doesn't do it auotmatically when closing vlc and then opening the file again - now the remember position is unchecked again.

Report

shoq

2 years ago

I do this and get nothing. I have no check box beside "Remember Position" on my VIEW menu (which I assume you meant, as their is no SHOW menu).

This is very frustrating. For such a simple extension, why isn't the author either removing it, or telling us why it's failing.

Report

Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 54%
54.00 Likes
46 Dislikes
Details
version
updated Jul 12 2014
added Mar 27 2013
downloads
page views 6582
support augustbering
For The Product
Remember position
5 - 10 - 25 - 50 - 100 - 200 - 500