Merge lp:~trb143/openlp/bug-772523 into lp:openlp
Status: | Superseded |
---|---|
Proposed branch: | lp:~trb143/openlp/bug-772523 |
Merge into: | lp:openlp |
Diff against target: |
177 lines (+48/-12) 7 files modified
openlp/core/lib/db.py (+8/-1) openlp/plugins/songs/forms/songexportform.py (+3/-0) openlp/plugins/songs/lib/db.py (+2/-1) openlp/plugins/songs/lib/mediaitem.py (+12/-2) openlp/plugins/songs/lib/upgrade.py (+12/-1) openlp/plugins/songs/lib/xml.py (+6/-7) openlp/plugins/songs/songsplugin.py (+5/-0) |
To merge this branch: | bzr merge lp:~trb143/openlp/bug-772523 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raoul Snyman | Needs Information | ||
Review via email: mp+84524@code.launchpad.net |
This proposal supersedes a proposal from 2011-12-04.
This proposal has been superseded by a proposal from 2011-12-08.
Description of the change
This patch changes your song database so back it up!
When a service is imported at present and we do not wish to save the songs we do not. This prevents the user from editing songs.
This change adds a "temporary" flag on the song database to allow those songs to be save and edited bit not via the plugin as the search will not show them.
On exit the songs will be deleted.
The code works until a service is loaded and then you get sqlalchemy errors.
I have no idea what is wrong but some help would be appreciated.
Amended code to add songs as per my email.
Well, first remove your print statement.