Remember position

Feature requests for VLC.
mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Remember position

Postby mederi » 01 Jul 2012 14:54

Installation: viewtopic.php?f=14&t=101881#p343775
Usage:
... The one annoying thing with it is that you have to manually activate it from the menu every time you start VLC. ...
If you activate this extension, it will start to remember filenames and actual time positions of played multimedia files in "pos.txt" file. If you play the remembered multimedia file next time, it will jump to remembered time position.

johncage
New Cone
New Cone
Posts: 2
Joined: 30 Mar 2012 14:44

Re: Remember position

Postby johncage » 07 Jul 2012 00:45

hey, i am not sure why an extension is necessary for this.
except for the management of bookmarks, the internal system works fine... the only annoying thing is that you can only create one bookmark, the second overwrites first one (sometimes :D ) i already managed to have even three bookmarks for one file after restarting vlc, but i think that was by accident actually... i have not been able to reproduce this case since then.

by the way:
thank you vlc team: with v2.0.2 direct x audio output for me is controllable again!
donation is on its way!

Magalaan
New Cone
New Cone
Posts: 1
Joined: 28 Jul 2012 00:14

Re: Remember position

Postby Magalaan » 28 Jul 2012 01:10

This feature should be implemented by default. How hard can it be? We do not want it to be perfect. Just automatically remember last play position and jump to it on start. If it remembers full path and time that should be enough, Never mind relocated files or same path files on external media.

I think VLC is great program, but this is a show stopper for me. Having such extensive settings, I could not believe this feature was missing, so I searched Internet and came here. Alas.

But no offense the program is great for what it does do, sadly it does not do enough for practical purposes. But thanks for the effort.

negativeions
New Cone
New Cone
Posts: 7
Joined: 29 Jul 2012 22:45

Re: Remember position

Postby negativeions » 29 Jul 2012 22:48

I totally agree. Here's a clue: Just do it! MplayerX does it? How hard is it? Have a god damn check box in the options or whatever for remember last playing position or whatever you want to call it and that's it... a monkey could program it in 5 minutes. Jesus God Damn Christ.

vanderson
New Cone
New Cone
Posts: 3
Joined: 31 Jul 2012 12:55

Re: Remember position

Postby vanderson » 31 Jul 2012 13:18

A while ago I found the lua plugin by Scientificswede. The annoyance of how lua scripts have to be activated (by checkbox every time you open VLC) inspired me to make a bash script (linux only) to add this functionality to VLC.

I added it to the the "contribute & help VLC" forum here:
viewtopic.php?f=18&t=103066

link to script on github: (linux only, includes setup instructions for ubuntu/linux mint users)
https://github.com/vaughnanderson/VLC-R ... _resume.sh

Maybe the core VLC team will add this feature some day? :P

Scientificswede's lua code is much cleaner than mine (I pretty much slapped it together) but it works seemlessly... Maybe the ideal situation is for VLC to auto start Lua plugins?

calande
Blank Cone
Blank Cone
Posts: 86
Joined: 17 Feb 2010 13:53
Operating System: W10
Location: Coneville

Re: Remember position

Postby calande » 21 Aug 2012 23:28

DVBViewer has this functionality. I'd love to see this in VLC too! Thanks.

cygnusx-1
Blank Cone
Blank Cone
Posts: 20
Joined: 22 Jul 2010 17:42

Re: Remember position

Postby cygnusx-1 » 30 Aug 2012 07:29

Not implemented yet?
I want this feature too!

PesoMemo
Blank Cone
Blank Cone
Posts: 13
Joined: 30 Aug 2012 04:12

Re: Remember position (plus settings)

Postby PesoMemo » 03 Sep 2012 00:04

In addition to remembering the file and position in the file, it should also remember all of the other pertinent settings that were changed whilst watching - like window size and position, volume, subtitle files, subtitle and audio delay settings, etc. - so you don't have to repeat them all again on restart. Not sure if all of these settings are in one easy to access spot or not, but should or could be made to be.

PesoMemo
Blank Cone
Blank Cone
Posts: 13
Joined: 30 Aug 2012 04:12

Re: Remember position (plus settings)

Postby PesoMemo » 04 Sep 2012 00:11

In addition to remembering the file and position in the file, it should also remember all of the other pertinent settings that were changed whilst watching - like window size and position, volume, subtitle files, subtitle and audio delay settings, etc. - so you don't have to repeat them all again on restart. Not sure if all of these settings are in one easy to access spot or not, but should or could be made to be.
I would do it like most programs that have a media history. Say the last 8 (or more) items that you watch will all have their settings remembered and then cycle off the list when new stuff is added/watched that exceeds your max history. Each time you hit stop or exit VLC, the settings would get saved for this video. Maybe use an .ini file similar to the vlcrc file to store the history settings.

[file/url]
time/position
any settings that have changed from default: sub-delay, audio-delay, brightness, contrast, window pos, fullscreen, etc
...

If the file/url isn't in the history, then play as normal, else make the changes specified in this history file.
This way you get the exact environment you left off from from your previous viewing - much nicer than
having to set it all back up again.

meathook
New Cone
New Cone
Posts: 7
Joined: 06 Sep 2012 00:41

Re: Remember position

Postby meathook » 06 Sep 2012 00:50

Please add this simple feature.

ZeroZero
New Cone
New Cone
Posts: 9
Joined: 23 Sep 2012 07:22

Re: Remember position

Postby ZeroZero » 23 Sep 2012 07:27

Could someone please walk me thruogh how to set up this script in Win 7 64 please. I have no idea at all but the Swede states it is possible (but does not explain how

tate1
New Cone
New Cone
Posts: 1
Joined: 23 Sep 2012 23:28

Re: Remember position

Postby tate1 » 23 Sep 2012 23:33

Come on people at VLC! This is an important feature on a media player.
The only reason why I don't use regularly anymore is because it's missing in it!

blyst
New Cone
New Cone
Posts: 7
Joined: 26 Jun 2012 19:14

Re: Remember position

Postby blyst » 01 Oct 2012 21:57

Zerozero, here's a rough guide. I'm not sure if there's enough detail here for you.

Navigate your way to

C:\Program Files (x86)\VideoLAN\VLC\lua

In the lua folder make a new folder (shift-ctrl N) and name it 'extensions'

Open a new text file and copy Swede's text into it. Save the text file in your newly established 'extensions' folder naming it 'mempos.lua' (in other words, the file must be saved with the .lua extension, NOT the .txt extension)

Let me know if/where you get stuck and I'll try and add more detail.

ZeroZero
New Cone
New Cone
Posts: 9
Joined: 23 Sep 2012 07:22

Re: Remember position

Postby ZeroZero » 02 Oct 2012 01:05

Hello blyst thanks for trying, unfortunately does not work here WIn 7 64 bit. I saved the file as a mempos.lua extension, restarted the player - nothing in the view menu expcept the regular stuff. File is in C/program files x86/VideoLan/extensions folder. I also put a copy of this folder in .....VideoLan/VLC to see if this would work - no joy.

blyst
New Cone
New Cone
Posts: 7
Joined: 26 Jun 2012 19:14

Re: Remember position

Postby blyst » 02 Oct 2012 20:03

ok - well, I won't give up on you just yet! And by the way, I'm using this myself on win7-64.

If what you've written above is, in fact, what you've done then you've put the extensions folder in the wrong place - you need to go 2 levels deeper to:-

C:\Program Files (x86)\VideoLAN\VLC\lua

(you could copy the above and paste it directly into explorer's address bar - that'll take you straight there)

try that and report back

ZeroZero
New Cone
New Cone
Posts: 9
Joined: 23 Sep 2012 07:22

Re: Remember position

Postby ZeroZero » 02 Oct 2012 21:15

thank you for your efforts.

I have now put a folder in the folder c:/program Filesx86/VideoLAN/Lua. This folder is called extensions. In the extensions folder there is a file called mempos.lua. The mempos.lua file is a text file ( relabelled with the coorect extension .lua)and this file contains the copied code

starting with the line

--- time.lua ---VLC extension --

etc etc..

After restarting VLC I go to the view menu and | can see:

Playlist
Mininmal interface
Advanced controls (ticked)
Docked playlist (ticked)
Status bar
Add interface/ consol/telnet/web/debug logging/mousegestures
time

I dont think its working.

blyst
New Cone
New Cone
Posts: 7
Joined: 26 Jun 2012 19:14

Re: Remember position

Postby blyst » 02 Oct 2012 22:40

I'm still a little unsure about your file location but lets just check the file itself.

You say you've tacked .lua on to the file name mempos, but If you double-click the file, does it launch as a text file or does a box pop up saying "Windows can't open this file"?

ZeroZero
New Cone
New Cone
Posts: 9
Joined: 23 Sep 2012 07:22

Re: Remember position

Postby ZeroZero » 03 Oct 2012 18:28

I have set the file uyp to open as a text file, but it does have a .lua extension. I might mention that I have done quite a bit of programming in the past. Could you check the exact location of your folder extensions (is it spelt extensions?) .
Could I trouble you to post your script here as an additional post, it may be the script I have is not the correct one for some obscure reason

many thanks for your time

blyst
New Cone
New Cone
Posts: 7
Joined: 26 Jun 2012 19:14

Re: Remember position

Postby blyst » 04 Oct 2012 07:47

- sorry to hear you're still having trouble with this.

Yes the spelling of the folder is extensions

GIven that Swede has chosen to not publish his code here, I think it's best that you go back to his link for that.

Check for yourself that I have already described the location of the folder twice without inconsistency. The location is correct as written. As I've already mentioned, you could copy-paste the address from either of my two posts above directly into explorer's address field, which would completely eliminate any possible error while taking you directly to the required destination.

Something else for you to check:

Go to 'Start' and in the search bar type "show extensions".
UNCHECK 'hide extensions for known file types'.
Now have a look at your mempos file. If it reads 'mempos.lua' - that's fine.
If it reads 'mempos.lua.txt', then this is still a text file in which case you must eliminate the '.txt' to establish the correct extension.

- best of luck! - b

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Remember position

Postby mederi » 04 Oct 2012 11:17

ZeroZero, did you read my post at the top of this page here?
viewtopic.php?f=7&t=60602&start=60#p344943
I put a link there you should follow.

artemsen
New Cone
New Cone
Posts: 1
Joined: 09 Oct 2012 15:29

Re: Remember position

Postby artemsen » 09 Oct 2012 16:03


akatarmo
New Cone
New Cone
Posts: 3
Joined: 15 Oct 2012 19:47

Re: Remember position

Postby akatarmo » 15 Oct 2012 19:57

Hello, I have downloaded your plugin, but does not work for me. I use VLC media player version 2.0.3 Twoflower in my W7 x64.

I copied the file libsrpos_plugin.dll in the \plugins folder but I can not see the option to save/restore position in "Control panel interfaces (Interface-> Control interfaces)"

I'm about to switch to VLC, but only if I can have this feature, essential for my.

Any suggestion ?

Thanks !!!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Remember position

Postby Jean-Baptiste Kempf » 15 Oct 2012 23:08

Did you install VLC for Win32?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

akatarmo
New Cone
New Cone
Posts: 3
Joined: 15 Oct 2012 19:47

Re: Remember position

Postby akatarmo » 16 Oct 2012 21:11

Hi, Jean-Baptiste.

Thanks for your reply. Yes, I tested x86 and x64 VLC versions. And x86 and x64 libsrpos_plugin.dll versions.

No luck, I can't see the "save/restore position" option :(

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Remember position

Postby mederi » 16 Oct 2012 21:49

Windows XP SP2
I can successfully activate the srpos-plugin (v0.1) in preferences, but it does not remember any position for me. Even new version 0.2 does not allow me to load any film in VLC. How does it suppose to work and where does it store the information about position?
Thanks


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 12 guests