← Back to team overview

openlp-core team mailing list archive

[Bug 1216232] Re: OpenLyric exporter overwrites existing files

 

Another option would be to make a new folder with a time stamp for each
export. (Avoids a lot of increments in one folder but could possibly
take up slightly more space.)

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1216232

Title:
  OpenLyric exporter overwrites existing files

Status in OpenLP - Worship Presentation Software:
  New
Status in OpenLP 2.0 series:
  New
Status in OpenLP trunk series:
  New

Bug description:
  There is two problems with this:
  1. We just blindly overwrite any existing files in the export directory
  2. If two songs with the same title (but different lyrics) are exported one song overwrites the other.

  One solution would be to ask the user if they want to over write, rename or skip with an option to apply to all. (This wouldn't really resolve the issue with same name different lyrics)
  Or we could time stamp the file name (Again this wouldn't really resolve the issue with same name different lyrics)
  We could also detect if the file exists and increment a counter in the file name. (Probably best combined with the time stamp)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1216232/+subscriptions


References