Re: Saving projects

Lorenzo Sutton <[email protected]>
Newsgroups gmane.comp.audio.rosegarden.user
Message-ID <[email protected]>
On 10/12/2023 15:29, Yves Guillemot wrote:
> 
> Gesendet:
>> Sonntag, 10. Dezember 2023 um 13:35 Uhr Von: "Lorenzo Sutton"
>> <[email protected]> An: [email protected]
> 
>>
>> This is a tricky one IMHO because on the other hand when working on
>> project I also want to be able to always save and not risk losing any
>> change which comes up.
>>
>> So any warning like that should definitely be a switchable on/off
>> option.
>>
> 
> 
> Le Sun, 10 Dec 2023 13:42:16 +0100,
> MST via Rosegarden-user <[email protected]> a écrit
> :
> 
>> How about an incremenial numbering feature while working:
>> You open an existing file "song" and it immediately becomes
>> "song000", ten minutes (adjustable in default settings menu) later it
>> becomes "song001". I am no coder, is something doable?
> 
> 
> 
> Yes it's doable and should be easy to do, but what about the autosave
> feature ? How many files would be created at the end of a session ?
> 
> I presume it should be better to allways save in a temporary file
> then ask where to save this file when shutting down RG or opening a new
> file.
> 
> Anyway it should be a switchable option because IMHO such warnings are
> awful and don't really work: when I have answered "yes" several dozens
> of times to the same question, the next time it will be asked I will not
> read it and automatically answer "yes" whatever the right answer should
> be.

This more-or-less UNTESTED bash script would launch rosegarden with a 
selected file, make a back-up copy straight a way and then watch for 
changes (in this case every 5 seconds, maybe a bit extreem... but could 
be easily changed), and if a change (based on md5) detected save another 
back-up copy. Not sure how this could be 'embedded' in rosegarden and 
how cases like 'do not overwrite existing backups (or do)' be handled...

https://gitlab.com/-/snippets/3629509

Lorenzo



_______________________________________________
Rosegarden-user mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.