Open mwsduelle opened 3 years ago
You could do it manually by changing the "bookmarkerName" variable for each new file and that would make a new database each time. I don't believe there is an automatic way to do this. You could also use my pull request #6 if the video is alone in a folder that would create a new database for each folder. I could probably throw something together quickly that would add the functionality automatically that you are wanting if those methods aren't sufficient.
It would be very helpful is there was a simple true/false switch in the script for it. Also, is there a way to set a key to load a bookmark based on what number it is on the page (e.g.: 1 to load 1, etc)?
I'll work on the separate databases, but that second feature needs its own issue I don't think the menu has support for that.
There you go @mwsduelle just use the branch of #9 it should do what you are wanting. Make sure to set the "separateTable" to true because the default value is false.
It would be nice if the json file could be stored in the same directory as the video and also not use an absolute path to the video file (it would be loaded as long as it was in the same directory regardless of where the video file was moved).
Is it possible to have a separate database for each file without rewriting the script? And have them named bookmarker-[filename].json or something?