Resume Media V3.40 (Win/Lin)

VLC Extensions

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

6
Score 80.2%
Description:

--- Latest News ------------------------------------------------------
Resume Media has evolved into a collection of features that might
appeal to users who have libraries of video and audio files.
Designed in Windows. Mostly works in Linux. Not yet in OSX.

I will be adding a key to auto-sync the audio in poorly synced videos.
----------------------------------------------------------------------

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Resume Media displays the saved positions of all media as well as a
bookmark where last played in each table. Media segments can be
defined without editing your file allowing you to watch or listen
to your favorite parts. Media can be automatically added or removed
from a table when the media stops or finishes. Old-style tv video
ratios can be adjusted without going to the VLC menu each time.
There are fun settings to sample media for a number of seconds or
play at different speeds. And more...
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

A table can be used as a playlist for, say, a tv series or a music
album. The resume feature then allows you to play and stop and
quickly resume whichever entries interest you at the time until you
have finally completed the list. Sort the list to see which entries
you have started.

Great for audio books that you have transferred to your storage in
chapters. Never lose your place. Adjust 'rewind' time to your liking
to help re-sync your memory with the story. Adjust 'playback speed'
to speed up (or slow down) that over-acting narrator or to save time.

Use the segments feature to tag the highlights of a family video.
Then go to the segments list to play whichever highlights that
friends and relatives are leaning over your shoulder to see.
You can also tag the individual titles in a single file album.

You can import and save top level playlists or directories into
a table. Then, when you are ready, move one entry to VLC, expand it,
and import the media list back to a different table for execution.

Bookmark features:
The playing media is bookmarked with an '*' symbol.
When finished, the bookmark advances to the next unfinished media.
If all media finished, the bookmark increments to the next media.
There's a convenient button to play the bookmark where you left off.
Play unfinished or whole table with options to randomize and loop.

Installation:
* Designed in Windows. Mostly works in Linux. Does not work in OSX.
See "Mac Attack" and "Licking Linux" near the end of the description.
* If this version is not available in the VLC Addons Manager, you can
install it manually from this Addons site. Open zip file, copy the lua
file to C:Users%UserName%AppDataRoamingvlcluaextensions
or %homedir%/.local/share/vlc/lua/extensions/ for Linux (unhide .local)
Create ..luaextensions directory if necessary. Delete old versions.
When installed, restart VLC and check 'Resume Media' in View menu.
(Extensions must be checked each time VLC is opened. It's OK...)
* A Command prompt window will flash in Windows the first time only
to create the data directory ..vlcVLC Resume Media.

Detailed Features and Notes (this acts as the help reference):
Note: The [play/options] menu changes while VLC playlist is playing.
* If the VLC playlist is stopped (not playing), then you can click
[play/options] > [add VLC] to add the VLC playlist to current table.
* If the VLC playlist is playing (or paused), then you can click
[play/options] > [position] to add the playing media to the table.
* There's a setting to allow automatic new entries when media stops.
* Click [play/options] > [settings] to access the settings table.
* There is a media-just-started tolerance of 60 seconds, so you have
60 seconds to sample media without saving the stop position.
* When resuming, position will rewind 5 seconds from saved position.
* Settings 'media-just-started' and 'rewind' are adjustable.
* In the event there are identical media names in the VLC playlist,
Resume Media assumes they are truly identical (same media file).
* Operations are performed on current table. Switching tables while
media playing may cause stop position to be updated in the new table.
* Marking a table with '*' will remove media from table when finished.
* The number of tables is adjustable from 1 to 50 tables.
* Higher tables are not deleted when the number of tables is lowered.
* To delete a table datafile, remove all contents and remove mark '*'.
* Combining tables saves the highest position of duplicate entries.
* When sorting by time, 'Finished' media will always be at the bottom.
* You can set media saved positions to 'hh:mm:ss' or to 'Finished'.
* 'Finished' media will not update position unless reset to 'hh:mm:ss'.
* 'Finished' media will remain in any table when replayed to the end.
* You can backup your tables if needed by copying the data directory.
(In the data directory, the table # in each file is the file # plus 1)
* If you open Resume Media while a media is playing, the next stop
event will be undetectable. Stop and restart media to allow detection
or click [play/options] to manually save the position without stopping.

Non-media table entries (i.e. directories or playlists) are very
useful for making convenient tables of playlists. Note that the saved
position and bookmark are meaningless for these files and do not
respond as expected.

The occasional user who might open two instances of Resume Media in
two instances of VLC must switch to different tables so that the
instances do not overwrite each other's tables.

Tables are backed up before a session starts. If you make undesirable
changes and need to restore a table, then go to [settings] and enter:
"restore t1" | "restore t1 t2" | "restore all" , where
t1 = table to restore, t2 = alternate destination, all = all tables.

--- Keys ------------------------------------------------------------
There are three "Key=Value" parameters which can be set for each
media in any table. The two picture keys are described in the Picture
section following this and apply to video only. The third key is:

RMP=% where % is the percent playback speed for video or audio.
A reasonable range for % is 25 to 300 and the default is RMP=100
The motivation for adding the speed key is to allow up or down tuning
of an instrumental audio to sync it with a live instrument performance.
(See Pitch setting in the Fun Settings section further down.)
* If the Playback Speed setting in the Settings table is set to other
than 100 (also see Fun Settings) then that speed setting overrides the
individual RMP speed keys for each media.

--- Setting the keys ---
* Go to the Resume Media Settings and allow application of keys.
* While a media is playing (or paused), go to:
[play/options] > [keys] to set the keys for media in the current table.
* Spaces are not allowed in "Key=Value".
* To delete a key, enter "Key=" (no value) or remove "Key=" altogether.
* To delete all keys, clear the input line.
* There is one level of [undo], then [cancel] will reset the keys to
the values before [keys] was pressed.
* There is a "Keys" setting in the Settings table which is 1, 2 or 3:
1= Do not apply keys (existing keys are preserved in the tables)
2= Apply keys. Also, when in the [keys] input screen, corresponding
keys which have been placed in the playing media's metadata (explained
further down) will be read from the metadata and placed in the input
box to allow easy "manual" entry of the key values into the table.
3= Apply keys. Also, corresponding keys which have been placed in
the playing media's metadata will be read from the metadata and
"automatically" entered into the table for that media.
Note: It may take several plays to successfully read the metadata.

--- Putting keys in media file metadata ---
You can place keys (ex. RMP=102) in a media file's metadata comments
section to save the keys with the media file when not in a table.
* Changing metadata is easier in Windows. Go to Properties> Details>
Comments. If you select a group of similar files, you can change them
all at once. Remove write-protection first.
* When in the [keys] or [segments] screen, you can enter "getallkeys"
in the input line to retrieve all keys (including segment keys) into
the input line for easy transfer to a file's metadata comments section.
* Segments are also keys, but their structure is normally hidden.
Be careful when including segment keys in the metadata, since they can
be long. The limit using Windows properties is ~255 characters.
(Be careful changing metadata using VLC. I have seen media corrupted.)

I will be adding a key to sync the audio in poorly synced old videos.
I might generalize to allow any vlcrc parameter to be used as a key.
Let me know if you want a particular VLC parameter added to the
keys to allow individual media adjustment and I will check it out.
Parameters differ in success when applied by lua extensions.
----------------------------------------------------------------------

--- Picture Adjustment -----------------------------------------------
Users with videos or tv recordings that need picture adjustment might
be tired of manually adjusting the picture in VLC each time they play.
There are Resume Media keys to adjust aspect-ratio and crop values
automatically while a video is playing.
* Picture keys are RMA=nn:mm and RMC=nn:mm where nn:mm are ratios.
(Ex. RMA=16:11 might make a boxy tv video aspect-ratio more appealing.)
* See the Keys section above to enter keys into the table.
* For technical reasons, application of picture keys is limited to
single selection plays initiated from any one of the Resume Media play
options. Multiple selections will play normally. Since videos are
usually long, playing one at a time should not be an issue.
----------------------------------------------------------------------

--- Segmenting -------------------------------------------------------
Segmenting of media allows you to set start and stop times and name
the segments for any media (usually video, but audio also). Resume
Media will play the segments while ignoring the other parts.

--- Creating Segments ---
* Go to the Resume Media Settings and allow segmenting of media.
* Play any media in the current Resume Media table. (Pausing is ok,
since a paused media is still considered to be 'playing'.)
* Now click [play/options] > [segments] to prepare to edit segments.
* Click [get] without selection to add media position to the input box.
With a selection, [get] will load existing segment into the input box.
* Segment elements are [start stop name]. Get a start and stop time,
add an optional name, click [save]. Save order is based on start time.
- The start/stop times will be switched if they are out of order.
- Type 'end' instead of a time to indicate play to end of media.
- The segment name cannot contain parentheses, "(" or ")".
* You can [delete] unwanted segments.

--- Notes ---
* Segment play is limited to single plays initiated from Resume Media.
Multiple selections will play normally without segments.
* Setting mousewheel to position control in VLC Hotkey Preferences
can make locating start and stop times more convenient.
* There is a Resume Media setting to set the VLC Fullscreen setting.
Use this to keep segment play in a window or fullscreen. An alternate
Fullscreen setting in the VLC Video Menu lasts for one VLC session.
* For consistent window viewing, you might want to consider unchecking
'Resize Interface to Video size' in VLC Interface Preferences.
* By default, the media name will show on a video at the beginning of
each segment. There is a VLC Video Preference setting to turn that off.

*** A little narrative to help explain the segmenting philosophy ***

When a segmented media is played by itself from Resume Media, an
attempt is made to make the segments behave like a single file. The
segments will play in order and then the media will be marked finished.
The media can be stopped and resumed in any segment. You can click
later in the time line and Resume Media will play the segment closest
to the time clicked. Clicking past the last segment will finish media.
If [^loopv] selected in [play More] then the segments will loop.

Note: Resume Media cannot detect if you click earlier on the time line,
so the media will just play from there until it hits the end time of
the segment it was playing. Resume Media can detect When you click
past the segment end time and thereby decide what should be done next.
Clicking Play in VLC instead of Resume Media will not play segments.

While the segmented media is playing, you can go to the segment list.
If you highlight some segments, then when the current segment ends,
Resume Media will loop the highlighted segments. This allows you to
dynamically choose which segments will play. Also, clicking later in
the time line (past the segment end) will play the next highlighted
segment instead of the one closest to the time clicked, thus allowing
you to jump through the highlighted segments. When there are no
highlights or you exit from the segment list, segments play normally.
Be careful not to click [delete] when segments are highlighted.
----------------------------------------------------------------------

--- Fun Settings -----------------------------------------------------
* "Run time" lets you sample all media for a set number of seconds.
* "Start time" lets you start further into the media. A saved position
will override this value.
* "Playback speed" lets you, say, listen to an audio book faster or
have fun with a video, etc.
* Pitch setting allows the audio pitch to vary or be unaffected when
playback speed is varied. Allows tuning of instrumental audio media.
* Loop setting allows automatic looping when playing from Resume Media.

Ex. Set "Run time" to 5 or 10 and "Playback speed" to 150 to help find
that one song or piano piece out of a 100 you are looking for.
(Use saved positions combined with "Run time" for deep sampling.)

These settings apply to all media while Resume Media open. Have fun!
----------------------------------------------------------------------

--- Mac Attack -------------------------------------------------------
I have not had access to a Mac for a while now. Mac users who want to
experiment to get Resume Media working on OSX can try the following:
Set "allowosx = true" near top of lua file for Resume Media to run.
For tinkerers only. Don't get mad at anyone. Back up your lua file.
Go down to osx_display() function and tinker with display settings.
There is some additional explanation of the display issues there.
When (if) the display works, I will check the rest of the functions.
*** constructive comments are welcome ***

OSX seems to render a dialog window much more loosely and dynamically.
The dialog window starts out large and gets longer with each operation.

The 'growing list' behavior in OSX has been submitted as a defect to
the VLC developers, and accepted. There hasn't been any movement on
fixing this issue since 4/27. The VLC team needs programmers to help.

When (if) the "growing list" issue is fixed, I will continue to work
to make Resume Media for OSX possible.
----------------------------------------------------------------------

--- Licking Linux ----------------------------------------------------
Everything seems to work properly in Linus except segmenting.

Segments do not transition properly in Linux. Leave segmenting off.
I will work to fix this issue. Please let me know if there are
other repeatable issues that you would like me to address. Thanks.
----------------------------------------------------------------------

Registered Users:
If you like this program, please put your mouse cursor on the 'Score'
at the top and click the plus sign when it appears. Thanks!!
Last changelog:

5 years ago

2015-09-24 V3.40 61675
Detect XP in addition to later Windows
Setting to show/hide playlist control buttons in Resume Media.
Setting to always loop selections played from Resume Media.
Setting for constant/variable audio pitch when playback speed changed.
Added key to allow individual media playback speeds.
2015-07-14 V3.38 58343
Fix button-click function re-entry issue for Linux
2015-07-10 V3.37 58099
Now also works in Linux for the most part.
Table data moved to "VLC Resume Media" directory in the vlc directory.
Tables backed up before a session and restorable during the session.
2015-07-01 V3.36 57668
Correct media finished flag in segment play
2015-06-30 V3.35 57615
Correct looping issue in segment play
2015-06-30 V3.34 57605
Correct 'run-time' setting behavior.
Segment play order now correct if segments should happen to overlap.
2015-06-18 V3.33 56938
Segments can be dynamically selected for play in the segments list
2015-06-12 V3.32 56608
Improve some behaviors.
2015-05-31 V3.31 56015
Correct label in table view.
2015-05-31 V3.30 56000
Reverse default table behavior to not automatically add/delete media.
Settings can be changed as needed to automate add/delete behavior.
2015-05-28 V3.30 beta1 55803
Introduction of media segmenting.
2015-05-27 V3.23 55668
Correct picture key handling when table order changes.
2015-04-13 V3.22 50813
Use the input box to set picture keys, saved positions and settings.
Change to picture-adjust keys only allowed when video playing.
Setting to suppress automatic new table entry when media stops.
2015-03-24 V3.21 47979
"Playback speed" can now be set without restarting VLC
2015-03-17 V3.20 46639
New settings for "start time", "run time" and "playback speed"
2015-03-15 V3.11
Correct picture adjustment settings altered in V3.10
2015-03-13 V3.10
New setting to close or hide Resume Media when 'X' clicked.
Eliminate one second delay between button clicks.
2014-12-29
Settings table now has its own button in the [play] menu.
Allow copy as well as move when combining tables.
Improve a few behaviors.
2014-12-23
Display and adjust picture keys for the whole table.
2014-12-21
A manual update will now also update 'Finished' media
Setting to show bookmarked table entries in list of tables.
Advance bookmark when bookmarked media set to 'Finished'.
Setting to allow manual or automatic picture adjustment.
2014-12-10 V3.00
Version 3 with simpler handshaking with VLC.
Bookmark feature added to keep track where last played.
Play Bookmark/Unfinished/Table/Selection with Random/Loop options.
2014-12-06
Revert to version 2.40 due to unresolved issue in version 3.
V2 main menu and other buttons improved.
2014-12-05 V3.00
Bookmark and autoplay features added.
Table can be randomized manually or in autoplay.
Main menu and other buttons improved.
2014-11-26
If media is playing, clicking [import/play] will now do a manual
update of the playing position without stopping the media.
Improved text-reading economy using patterns.
2014-11-19
Cosmetic changes only. Modified a few labels. More intuitive.
'Keep Media' mark is now '*' instead of 'K'.
2014-11-18 V2.40
User settings (variables) are now adjusted in the dialog window.
2014-11-11
Removed the "instances/exclude/busy" complexity and issues, thus
simplifying Resume Media and the dialog for the majority of users.
2014-11-09 V2.30
Moved user variables to top of download file for easy adjustment.
New variables to adjust size of table dialog window.
2014-10-28
Set variable "simple = true" to force a single hidden table with no
table dialog window. Control media and resume from the VLC playlist.
2014-10-09
Rewind 5 seconds when resuming (adjustable variable 'rewind').
Selection no longer needed before entering Set/Delete mode.
2014-07-03
Set default media-just-started to 60 rather than 30 seconds.
Set media completed flag to 'Finished' rather than 00:00:01.
You can now reset media to 00:00:00 or set to 'Finished.'
2014-06-18
Amend the previous update to include the case where the media is paused.
2014-06-16
If the table dialog 'Play' button is clicked while media is playing, the media
stop position will now update before selected entries are enqueued in VLC.
One click can stop/enqueue or enqueue/play but not stop/enqueue/play.
2014-06-12
Allow media to remain in an excluded table when completed.
Set X for normal exclude or K to keep media with time reset to 00:00:01.
2014-06-11
Disallow automatic resume if Resume Media is opened while media is
playing, because the next stop event is undetectable in this case.
Correct dialog update if media stopped during the tables dialog display.
Correct open table option broken in last update.
2014-06-09
Refine the media detection to eliminate spurious updates.
A few other minor improvements.
2014-06-01
Resume Media will now open even if all tables are busy or excluded.
This should be rare, but it allows recovery if tables are orphaned.
2014-05-31
Message saying that busy tables cannot be combined.
2014-05-30
Correct multiple-selection delete and move operations.
2014-05-25 V2.20
Support for multiple tables. Entries can be sorted by time or name.
2014-05-17 V2.10
Add ability to rearrange table and to import the VLC playlist.

mederi

4 years ago

Thanks for the tip. I use Notepad++.

Report

C

pnon10s

4 years ago

Hey! Can you change the duration so a media only plays for a minute? I'll have to try that. New Sample Media Setting in the works!

Report

mederi

4 years ago

Quote:vlc.var.set(vlc.object.vout(),"crop","16:9") -- predefinded standard ratios
or

vlc.config.set("custom-crop-ratios", "17:8,640:300")
then
vlc.var.set(vlc.object.vout(),"crop","17:8")

Report

poetvictoria

4 years ago

I like the simplicity of not having busy tables and excluded tables. The table heading looks a lot neater, too. The longer list is much easier to work with, as well. Thanks for the update!

Report

jacekb11

4 years ago

I installed correctly.
The list of the reproduction appeared on the table.
I start. The programme gets suspended after finishing first recording (he does not answer).
What do I do bad?

Report

C

pnon10s

4 years ago

I am having trouble understanding your problem. You might want to have someone help you explain.

By 'start', do you mean starting Resume Media or starting the VLC playlist? By 'programme gets suspended' do you mean that Resume Media crashes or that the VLC playlist stops after the first entry in the playlist?

In any case, I need to know what operating system and VLC version are you running?

Good luck, jacekb11

Report

jacekb11

4 years ago

I thank for the answer first of all.
I possess installed Windows 7 SP1 and VLC 2.1.5;
after loading playlist in this table the programme does not give the answer after firstending recording. He does not work. I have to restart farther to reproduce him.
PS: I apologize for my English.

Report

xanda

4 years ago

I think I might be experiencing the same problem(?)
Installation is fine and the add-on even does what it's supposed to do.
The hitch is encountered when stopping playback: VLC goes off the reservation and into the wilderness i.e. 'application not responding'.
To get control back, it then becomes necessary to kill the program using Task Manager.
When running VLC again and browsing the list of available tables, all the previous playback positions are presented without issue - hence it does what it's supposed to.
It's only when stopping playback that things go awry.
Our platform is:
OS: Win 7 Ultimate x64
CPU: Intel Centrino 2 dual-core
RAM: 4GB

Report

C

pnon10s

4 years ago

I've noticed that every once in a while VLC hangs and usually clicking the 'X' will close VLC. I don't know why this occurs and I've never noticed this issue to be particularly associated with Resume Media. Since it doesn't happen too often, I haven't worried about it.

But, just in case I can help, I would need to know predictably repeatable issues:

* Does it happen predictably every time you stop a media that was started in Resume Media?
* Does it happen with any media or only certain ones (file type, maybe)?
* Does it still happen if you play and stop the media from VLC with Resume Media closed?
* Are you using Version 3 of Resume Media. V3 was recalled a day after it was released because of an issue, and released again later. The new release should have been labeled V3.1 to differentiate it, but wasn't.

It will be interesting to see what they've done when the new VLC 2.2 is released.

Good luck

Report

xanda

4 years ago

Thanks for the prompt reply. In response to questions (in bold), here are our findings:-

* Does it happen predictably every time you stop a media that was started in Resume Media?
The short answer is yes - the problem is 100% repeatable. The issue manifests slightly differently given the media type though. Here's what what we have found:-
Video (single MP4 file): simply stopping at any point, regardless of which table is enabled, will result in crash.
Audio (single MP3 file): Firstly, we noticed that a track must be passed the 60s mark for Resume Media to even bookmark it. After this, the marker can be updated on stop/start as required. However, jumping back and forth through the track (regardless of duration and whether or not the native slider/skip-jump buttons are used) will eventually induce the fault; nor does it matter if the interface is used casually or hammered.

* Does it happen with any media or only certain ones (file type, maybe)?

See above.

* Does it still happen if you play and stop the media from VLC with Resume Media closed?

No - not as far as we have seen anyway. Using the standard bookmark feature with an XSPF playlist does not manifest this problem.

* Are you using Version 3 of Resume Media. V3 was recalled a day after it was released because of an issue, and released again later. The new release should have been labeled V3.1 to differentiate it, but wasn't.

In that case we simply cannot tell. VLC reports the add-on as V3.00. This is the only copy we could see available for download and was obtained - from this site - about 48hrs before we initially posted. The date given within the file is 5th May 2014 (which seems a bit old given it was reported as updated more recently than that).

Also, our VLC build is the x64 version of 2.1.5 Rincewind.

Report

C

pnon10s

4 years ago

Nice work. When a media stops, Resume Media does very little except update the stop position if necessary. If you are moving the slider around, Resume Media doesn't do anything at all. And I have no problem with the bookmark. My guess is that there is a subtle connection issue between an extension and VLC that is triggering a problem in VLC in your particular combination of software. I noticed in my early Resume Media version 3 that VLC would hang far too frequently. The only difference that I could tell was that I was handshaking more frequently with VLC than in version 2. I changed that in the later version 3.

Are you comfortable trying a beta VLC? The development team has addressed many, many issues. I recently tried VLC 3.0 at http://nightlies.videolan.org. They still have not added a resume feature, but Resume Media seems to work fine. I changed the install directory to .../VLCbeta so both versions can run.

It would be cool if that fixed your problem. Let me know. Sorry I'm not more helpful. Good luck.

Report

Starko

4 years ago

I installed the pluging but can't make it work? I wonder is it because something is wrong or is because i expect something that it is not built to do?!
What i expect is an option to automatically store last postion of all (or last XXX) files that were played and stopped before completion. So when that file is opened again, it automatically resumes playback at the last known position. I expect setting that option once and for all.

Did i understand the purpose of this plugin or did i get it wrong?

Report

C

pnon10s

4 years ago

Multiple VLC instances is a great feature for those who want it. Most users load one playlist at a time. To have a second instance of VLC pop up unexpectedly when the first one is expected can be more confusing than helpful. It certainly made programming Resume Media more interesting. I think it is helpful to point out where that feature can be turned off - yes, Playlist and Instances.

What platform and version of VLC are you running? An extension can fail at compile time or run time. If "Resume Media V2" is in the list at the bottom of the VLC View menu, then the lua download file was placed and compiled correctly. If you are able to place a check mark next to "Resume Media V2", that means VLC was able to run Resume Media successfully and the Resume Media Table dialog should appear in the middle of the screen.

It doesn't sound like that happened for you, otherwise the features you are requesting should work fine. With more information, I hope we can get it running for you.

Report

Starko

4 years ago

I run vlc 2.0.5 on Win 7 Pro 64.

I can see the menu item 'Resume Media V2' and yes when i click on it, a window pops up and a check is placed next the menu item. But when i close and reopen VLC nothing happens - the last video starts from the beginning and the menu item is unchecked...

As for the popup window - I have yet to grasp it's usefulness and find it unintuitive and distracting from the main purpose of plugin.

Perfect world scenario - VLC anno 2114 : I enable resume functionality ONCE. And from then on whenever i open a single file which i have not finished watching - it starts at (just before) the point where it was stopped but when i open a playlist file it jumps to (just before) the stop location of the last file that was played.

so the question remains: are my vision and the extensions functionality the same? If yes i will focus on fixing whatever is broken. Otherwise i will keep looking

Report

C

pnon10s

4 years ago

Hey Starko,

I bookmarked the tables like you requested. You can resume right where you left off in the table with one click. The only thing I can't do is self-start Resume Media when VLC starts.

Good luck

Report

C

pnon10s

4 years ago

Did you mean VLC version 2.1.5? If you really meant 2.0.5, then that was before my time and I would not know how to help you. Major changes in VLC required changes in extension coding. If you really are running an older version of VLC, then maybe the table dialog is opening up improperly. For now, let's assume you are using the latest VLC 2.1.5.

Extensions have to be checkmarked each time VLC is opened. That's the way VLC was written and I have no control over that. Checkmarking an extension is a small price to pay for the potential benefits an extension can provide.

Finally, when a playlist is loaded into VLC, I would not want to keep track of all playlists and presume to know which file in a particular playlist a user wants to resume. Therefore my program triggers when a user starts or stops a specific media.

Please try this if you are still interested in Resume Media:

1. Checkmark Resume Media so that the table dialog opens up. Now play any video. Wait a minute or move the position slider past one minute. Stop the video. If the video name and position do not immediately register in the table, then something is wrong. If they do, then immediately restart the video. If it doesn't resume just before the stop point then something is wrong.

2. If all is well so far, close VLC and reopen it. Recheck Resume Media to reopen the table dialog. If the video is not in the table, then the table is not being saved properly. Let's assume it is there. Then all is working so far.

I understand that you would prefer not to have to checkmark Resume Media each time and that you would like a loaded playlist to go straight to the last file played and that the table dialog does not help you. If you can accept these shortcomings and the above tests worked properly, then this is how I would see you using Resume Media:

Open VLC and check Resume Media each time. Immediately close the table dialog box by clicking the X at the top but leave Resume Media checked. Now play any media from any playlist and the resume feature should work. If it doesn't, then there is something I have not understood. I am sorry if Resume Media does not meet your needs.

Report

C

pnon10s

4 years ago

Hi Starko,

I added variable "simple" to the download file. If you set "simple = true" then Resume Media will use a single hidden table and no dialog window. Then you would just start and stop media in the VLC playlist and the media will resume where last stopped. I think this would be more to your liking.

You still have to check Resume Media each time you open VLC.

Also, it turns out that if you click the "X" at the top of the Resume Media table dialog window, the window only stays hidden until the next table update (when Resume Media saves a position in the table). Go figure. That is why I changed my description to hide the table by clicking "_" instead of "X".

Good luck,
Rocky

Report

Starko

4 years ago

Also, your instructions say:

Go to Tools > Preferences > Interface > Playlist and check the boxes allowing only a single instance of VLC.

But "Allow only one instance" is in Instances section of Tools > Preferences > Interface.

What is significance of setting this option?

Report

Starko

4 years ago

When i come back to an audio book or a movie i'd lile to start at least 5-10-15 seconds earlier than the actual stop position. Often because i need to get my bearing and remember what was going on or just because i stopped mid sentence. It would be great if there was a way to set a default start offset.

Report

C

pnon10s

4 years ago

Good idea!

Report

cjoathon

4 years ago

Hi,
When i put the extension in c:\Users\UserName\AppData\Roaming\vlc\lua\extensions\, it's not recognized. I have to put it in C:\Program Files (x86)\VideoLAN\VLC\lua\extensions to get it to work.

But when I close VLC, tables are not saved.

It seems that no txt files with tables are written to disk. There is nothing in c:\Users\UserName\AppData\Roaming\vlc\lua\extensions\.

I have the same thing with VLC 2.1.5, Windows 7 and Windows 8.1.

Do you know where i come from ?

best regards,

Clément (from France)

Report

C

pnon10s

4 years ago

As far as I know, the system Program Files directories are not meant for everyday modification by the user. They have read/write restrictions also. That's where the AppData directories come in, with different directories for each user. I save the tables in the default user data directory assigned by VLC which is C:\Users\{UserName}\AppData\Roaming\vlc for modern Windows versions. I'm assuming you tried creating the C:\Users\{UserName}\AppData\Roaming\vlc\lua\extensions directory for the UserName that you login with. In that case I don't know why it doesn't work for you. I am sorry. Hopefully someone who knows your issue will weigh in here. I know they are working hard on VLC 2.2 which will automatically install addons. That is the best solution. Good luck Clément.

Report

Crystalenia

4 years ago

I followed your steps as you wrote them (Thank you for that!) but it still doesn't show in my VLC player. I have version 2.1.5 can this be the issue?
Sorry, I'm pretty new to this matter...
Also, when I save and rename the file it stays a txt icon while the build in extension shows a completely different icon

Report

C

pnon10s

4 years ago

Hi Crystalenia,

The good news is that the next version of VLC (2.2) will have an addon manager which will automatically install addons.

Resume Media works fine in VLC 2.1.5. What version of Windows are you using? I'm not sure what you are saying in your last statement except to say that the file should end with .lua and not end with .txt. Sorry to make you double or triple check, but make sure the following directory and file name are exact (substitute your user name for UserName).

C:\Users\UserName\AppData\Roaming\vlc\lua\extensions\VLC Resume Media V2.20.lua

The "VLC Resume Media V2.20.lua" file should contain the download file contents. If you're not sure, go to Start > Programs > Windows Accessories > Notepad. In Notepad do File > Open. At the bottom of the Open window change "Text Documents" to "All Files". Then navigate to the file above and make sure it contains the download contents. Close it without changing anything.

For your sake, I'm hoping you had made a mistake (haha) and that this will fix it.

Take care,
Rocky

Report

Crystalenia

4 years ago

I put it in
C:\Program Files\VideoLAN\VLC\lua\extensions

There is no file named Roaming in my pc, or at least I can't find it. I also performed a search to find this particular folder but it ended up empty.
I have Windows XP, maybe that's the issue.

What I meant in the previous comment is that I renamed the file to .lua but the icon of the file did not change, neither did the file type (right click - properties). So maybe my computer is to old to apply the necessary changes.

Guess I'll wait for version 2 LOL
Thank you very much for your reply! :)

Report

5 years ago

2015-09-24 V3.40 61675
Detect XP in addition to later Windows
Setting to show/hide playlist control buttons in Resume Media.
Setting to always loop selections played from Resume Media.
Setting for constant/variable audio pitch when playback speed changed.
Added key to allow individual media playback speeds.
2015-07-14 V3.38 58343
Fix button-click function re-entry issue for Linux
2015-07-10 V3.37 58099
Now also works in Linux for the most part.
Table data moved to "VLC Resume Media" directory in the vlc directory.
Tables backed up before a session and restorable during the session.
2015-07-01 V3.36 57668
Correct media finished flag in segment play
2015-06-30 V3.35 57615
Correct looping issue in segment play
2015-06-30 V3.34 57605
Correct 'run-time' setting behavior.
Segment play order now correct if segments should happen to overlap.
2015-06-18 V3.33 56938
Segments can be dynamically selected for play in the segments list
2015-06-12 V3.32 56608
Improve some behaviors.
2015-05-31 V3.31 56015
Correct label in table view.
2015-05-31 V3.30 56000
Reverse default table behavior to not automatically add/delete media.
Settings can be changed as needed to automate add/delete behavior.
2015-05-28 V3.30 beta1 55803
Introduction of media segmenting.
2015-05-27 V3.23 55668
Correct picture key handling when table order changes.
2015-04-13 V3.22 50813
Use the input box to set picture keys, saved positions and settings.
Change to picture-adjust keys only allowed when video playing.
Setting to suppress automatic new table entry when media stops.
2015-03-24 V3.21 47979
"Playback speed" can now be set without restarting VLC
2015-03-17 V3.20 46639
New settings for "start time", "run time" and "playback speed"
2015-03-15 V3.11
Correct picture adjustment settings altered in V3.10
2015-03-13 V3.10
New setting to close or hide Resume Media when 'X' clicked.
Eliminate one second delay between button clicks.
2014-12-29
Settings table now has its own button in the [play] menu.
Allow copy as well as move when combining tables.
Improve a few behaviors.
2014-12-23
Display and adjust picture keys for the whole table.
2014-12-21
A manual update will now also update 'Finished' media
Setting to show bookmarked table entries in list of tables.
Advance bookmark when bookmarked media set to 'Finished'.
Setting to allow manual or automatic picture adjustment.
2014-12-10 V3.00
Version 3 with simpler handshaking with VLC.
Bookmark feature added to keep track where last played.
Play Bookmark/Unfinished/Table/Selection with Random/Loop options.
2014-12-06
Revert to version 2.40 due to unresolved issue in version 3.
V2 main menu and other buttons improved.
2014-12-05 V3.00
Bookmark and autoplay features added.
Table can be randomized manually or in autoplay.
Main menu and other buttons improved.
2014-11-26
If media is playing, clicking [import/play] will now do a manual
update of the playing position without stopping the media.
Improved text-reading economy using patterns.
2014-11-19
Cosmetic changes only. Modified a few labels. More intuitive.
'Keep Media' mark is now '*' instead of 'K'.
2014-11-18 V2.40
User settings (variables) are now adjusted in the dialog window.
2014-11-11
Removed the "instances/exclude/busy" complexity and issues, thus
simplifying Resume Media and the dialog for the majority of users.
2014-11-09 V2.30
Moved user variables to top of download file for easy adjustment.
New variables to adjust size of table dialog window.
2014-10-28
Set variable "simple = true" to force a single hidden table with no
table dialog window. Control media and resume from the VLC playlist.
2014-10-09
Rewind 5 seconds when resuming (adjustable variable 'rewind').
Selection no longer needed before entering Set/Delete mode.
2014-07-03
Set default media-just-started to 60 rather than 30 seconds.
Set media completed flag to 'Finished' rather than 00:00:01.
You can now reset media to 00:00:00 or set to 'Finished.'
2014-06-18
Amend the previous update to include the case where the media is paused.
2014-06-16
If the table dialog 'Play' button is clicked while media is playing, the media
stop position will now update before selected entries are enqueued in VLC.
One click can stop/enqueue or enqueue/play but not stop/enqueue/play.
2014-06-12
Allow media to remain in an excluded table when completed.
Set X for normal exclude or K to keep media with time reset to 00:00:01.
2014-06-11
Disallow automatic resume if Resume Media is opened while media is
playing, because the next stop event is undetectable in this case.
Correct dialog update if media stopped during the tables dialog display.
Correct open table option broken in last update.
2014-06-09
Refine the media detection to eliminate spurious updates.
A few other minor improvements.
2014-06-01
Resume Media will now open even if all tables are busy or excluded.
This should be rare, but it allows recovery if tables are orphaned.
2014-05-31
Message saying that busy tables cannot be combined.
2014-05-30
Correct multiple-selection delete and move operations.
2014-05-25 V2.20
Support for multiple tables. Entries can be sorted by time or name.
2014-05-17 V2.10
Add ability to rearrange table and to import the VLC playlist.

12345678910
538
product-maker yukarasu Apr 22 2019 3 bad
Way too complicated for a simply "resume" option.
product-maker almilion Mar 04 2019 9 excellent
+100
product-maker nutating Mar 09 2017 9 excellent
product-maker stevedonato Oct 17 2016 3 bad
product-maker antonavy Aug 13 2016 3 bad
product-maker fxwegr May 16 2016 9 excellent
product-maker Herimo92 Nov 11 2015 9 excellent
product-maker Ragiowan Nov 09 2015 9 excellent
product-maker j4eo Oct 27 2015 9 excellent
product-maker gavroche47 Oct 26 2015 9 excellent
product-maker Kugal88 Oct 09 2015 9 excellent
product-maker jlong29 Jul 28 2015 9 excellent
product-maker Mauricio-Yaman Jul 24 2015 9 excellent
product-maker badr20 May 04 2015 9 excellent
product-maker febkosq8 Apr 07 2015 9 excellent
product-maker t9anef Apr 03 2015 9 excellent
product-maker MarcianTobay Mar 29 2015 9 excellent
product-maker marafante Mar 05 2015 9 excellent
product-maker YOTU Feb 16 2015 3 bad
product-maker santandiniz Feb 14 2015 9 excellent
product-maker darvishrishi Jan 27 2015 9 excellent
product-maker cwi06186 Jan 27 2015 9 excellent
product-maker UltraSpider2266 Jan 24 2015 9 excellent
product-maker loginmietek Jan 23 2015 9 excellent
product-maker resin6677 Jan 20 2015 9 excellent
product-maker harrysmith Jan 15 2015 9 excellent
product-maker kstainer Jan 14 2015 9 excellent
product-maker jacekb11 Jan 10 2015 9 excellent
product-maker kel1 Jan 03 2015 9 excellent
product-maker steffixh2 Dec 24 2014 9 excellent
product-maker crazyGee Dec 22 2014 9 excellent
product-maker mojiverse Dec 08 2014 9 excellent
product-maker m2106337 Dec 03 2014 9 excellent
product-maker mjdalton45 Nov 30 2014 3 bad
product-maker zjw1313 Oct 26 2014 9 excellent
product-maker heivanhe Oct 24 2014 9 excellent
product-maker Starko Oct 11 2014 9 excellent
product-maker Crystalenia Sep 16 2014 9 excellent
product-maker netgod999 Sep 06 2014 9 excellent
product-maker boldyzno Jul 21 2014 9 excellent
product-maker marchse7en Jul 05 2014 9 excellent
product-maker 131001 Jun 19 2014 9 excellent
product-maker poetvictoria May 13 2014 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
updated Sep 25 2015
added May 12 2014
downloads 24h
9
page views 24h 81
System Tags addon