<div dir="ltr">Thank you very much Reuss András, with the multiple backup copies you have done an excellent job, perhaps you could limit these so that you do not end up with thousands of copies, with about 50 would be enough.<br><br>New users should be told how they can get their work back in the event of a sudden shutdown.<br><br>What Kdenlive does after a sudden shutdown is on the next startup open a warning to restore the last automatic save. This is usually very common in these types of applications and is the easiest for the user, since the normal thing after a sudden closure is to reopen the application.<br><br>I know that this is done with a file that checks the correct start and closes of the application, when it closes correctly the value that is written in this file is 0 (False), otherwise it remains at 1 (True) and when starting the application again and being at 1, it launches a window that allows loading the last backup.<br><br>I know this because that's how a programmer explained it to me, I think I would need many years of programming study to be able to do something like that.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 18 ene 2021 a las 7:30, Reuss András via Cin (<<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Glad to hear it works as expected.<br>
<br>
An automatic save is a handy feature in production programs. And <br>
yes, I probably can do it, but it needs more investigation from my <br>
part:<br>
- how to start some timer for saving backups<br>
- localize the current directory<br>
<br>
Please don't hold your breath, I can do it after work, in my spare <br>
time with my limited knowledge.<br>
Thanks for your hint about --single-user, I will test it.<br>
br<br>
andras<br>
<br>
On 2021. 01. 18. 3:10, Rafa Mar Multimedia en Gnu\Linux wrote:<br>
> @Reuss András<br>
> Your work works perfect, I have needed help to be able to pass the <br>
> information that you have put in your text file to the original <br>
> files. I don't know about programming. Once like this I have <br>
> compiled and installed the program and it has worked correctly.<br>
> <br>
> Phyllis Smit should see this good work.<br>
> <br>
> I do not know if there is a limit of files that are created, I have <br>
> played with this and I have created more than 100.<br>
> Is it possible to define the creation of these files with a limit?<br>
> For example 50 backup files, I think that with this figure anyone <br>
> could recover the project from it.<br>
> <br>
> And now a proposal if it is not to abuse your programming knowledge.<br>
> Is it possible, for example, to create in the same folder where we <br>
> have the xml file two or three backup files?<br>
> This is very frequent in this type of application, Adobe makes 5 <br>
> copies by default, the oldest is deleted and a new one is added to <br>
> the list. In the application preferences you can choose the number <br>
> of copies and how often they are created. Even in a sudden shutdown <br>
> the last backup can be more recent than the project file if the <br>
> autosave time is longer than the backup time. Blender does this too.<br>
> <br>
> It's just an idea, I don't like to abuse anyone's time, but <br>
> something like this would be wonderful at Cinelerra GG.<br>
> <br>
> And then there is the problem of a BatchRender option that could be <br>
> kept if it does not overwrite the current file and make a copy of <br>
> it, with a number for example, in order to never lose our project <br>
> due to a wrong click.<br>
> <br>
> Thank you very much, and I repeat that they are only ideas, if you <br>
> want to do them it would be wonderful.<br>
> <br>
> <br>
> El lun, 18 ene 2021 a las 2:15, Andrew Randrianasulu via Cin <br>
> (<<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a> <mailto:<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>>>) <br>
> escribió:<br>
> <br>
> В сообщении от Sunday 17 January 2021 02:49:31 Reuss András via<br>
> Cin написал(а):<br>
> > Hi<br>
> > I read sometimes cinelerra mail list (not very carefully) and<br>
> > someone once asked for an automatic backup with timestamp or<br>
> > something like that.<br>
> ><br>
> > I created a small patch that would provide this: on<br>
> save_backup()<br>
> > call, a new version with timestamp is created from<br>
> backup.prev. I<br>
> > don't know if it is useful at all.<br>
> <br>
> Cool, thanks! I think your version is much better than my hack :}<br>
> <br>
> ><br>
> > It compiles at least, but I cannot test it because cinelerra<br>
> stops<br>
> > at start due to some missing theme plugin, did not<br>
> investigate it.<br>
> <br>
> May be because you you compiled '--with-single-user' and forgot<br>
> to make install,<br>
> or because normally compiled Cin was not yet installed, or was<br>
> installed in different prefix<br>
> (so she can't find plugins) ?<br>
> <br>
> ><br>
> > Thanks for your attention.<br>
> > Br<br>
> > Andras<br>
> ><br>
> ><br>
> <br>
> <br>
> -- <br>
> Cin mailing list<br>
> <a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a> <mailto:<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a>><br>
> <a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
> <<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a>><br>
> <br>
<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>