Support Presentation Manager song import
Bug #957017 reported by
Jonathan Corwin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Medium
|
Samuel Mehrbrodt |
Bug Description
Presentation Manager holds its songs in XML format. We should include an import option for these files.
They have a 30 day demo at http://
Songs are in c:\synapx\
An example is attached.
Two more example songs are here: http://
From:
http://
Related branches
lp:~sam92/openlp/presentationmanager-import
- Tim Bentley: Approve
- Raoul Snyman: Approve
- Tomas Groth: Approve
-
Diff: 325 lines (+245/-16)6 files modifiedopenlp/plugins/songs/lib/__init__.py (+1/-1)
openlp/plugins/songs/lib/importer.py (+22/-15)
openlp/plugins/songs/lib/importers/presentationmanager.py (+93/-0)
tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py (+53/-0)
tests/resources/presentationmanagersongs/Great Is Thy Faithfulness.json (+25/-0)
tests/resources/presentationmanagersongs/Great Is Thy Faithfulness.sng (+51/-0)
description: | updated |
Changed in openlp: | |
assignee: | nobody → Samuel Findlay (sfindlay) |
milestone: | none → 1.9.10 |
Changed in openlp: | |
milestone: | 1.9.10 → none |
Changed in openlp: | |
milestone: | none → 2.1.0 |
Changed in openlp: | |
milestone: | 2.0 → none |
tags: | added: song song-import |
description: | updated |
Changed in openlp: | |
assignee: | Samuel Findlay (sfindlay) → Samuel Mehrbrodt (sam92) |
Changed in openlp: | |
status: | Confirmed → In Progress |
Changed in openlp: | |
milestone: | none → 2.1.2 |
Changed in openlp: | |
status: | In Progress → Fix Committed |
importance: | Wishlist → Medium |
Changed in openlp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Turns out sng files from Presentation Manager (PM) have three different formats:
1) XML, introduced in PM v7 (?), easy to convert
2) proprietary text-based format (PM v6?), somewhat ambiguous
3) plain text (simply verses separated by blank lines)
I have completed a stand-alone script in AHK and used it to convert a user's library of 4600 songs to OpenLyrics.
Next step: port to python and OpenLP import class.