Public bug reported:

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)

** Affects: openlp
     Importance: Undecided
         Status: New

** Affects: openlp/2.0
     Importance: Undecided
         Status: New

** Affects: openlp/trunk
     Importance: Undecided
         Status: New


** Tags: song song-export

** Tags added: song song-export

** Also affects: openlp/2.0
   Importance: Undecided
       Status: New

** Also affects: openlp/trunk
   Importance: Undecided
       Status: New

** Changed in: openlp/2.0
    Milestone: None => 2.0.3

** Changed in: openlp/trunk
    Milestone: None => 2.1.1

-- 
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

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to