Closed yurividal closed 1 month ago
@vassbo
This is almost 100% complete.
The only missing tag seems to be ||
While |
means skip a line, ||
means start a new slide (split the verse into 2 slides).
Currenty, this seems to be the only thing not importing correctly on my test songs.
<?xml version="1.0" encoding="utf-8"?>
<song xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<title>A debtor to mercy alone</title>
<author>Augustus Montague Toplady, 1740-78</author>
<copyright>Public Domain</copyright>
<ccli>3291117</ccli>
<presentation>T V1 V2 V3 O</presentation>
<key />
<key_line />
<hymn_number>CH566</hymn_number>
<lyrics>[T]
Christian Hymns
566
|
A debtor to mercy alone
[V1]
A debtor to mercy alone,
Of covenant mercy I sing;
Nor fear, with Thy righteousness on,
My person and offering to bring;
||
The terrors of law and of God
With me can have nothing to do;
My Saviour’s obedience and blood
Hide all my transgressions from view.
[V2]
The work which His goodness began,
The arm of His strength will complete;
His promise is Yea and Amen,
And never was forfeited yet.
||
Things future, nor things that are now,
Not all things below nor above,
Can make Him His purpose forgo,
Or sever my soul from His love.
[V3]
My name from the palms of His hands
Eternity will not erase;
Impressed on His heart it remains,
In marks of indelible grace;
||
Yes, I to the end shall endure,
As sure as the earnest is given;
More happy, but not more secure,
The glorified spirits in heaven.
[O]
“A debtor to mercy alone”
Augustus Montague Toplady, 1740-78
CCLI License No. XXXXXX</lyrics>
<capo print="false" />
<aka />
<user1 />
<user2>8 8. 8 8. D</user2>
<user3 />
<theme>Christian: Assurance/Hope; </theme>
<tempo />
<time_sig />
<linked_songs />
<backgrounds resize="screen" keep_aspect="false" link="false" background_as_text="false" />
</song>
Opensong's documentation can be found here
I suspect implementing this might be just a bit more tricky, since it will split a single "Verse" into 2 slides, which will probably break the automatic ordering of elements based on the presentation tag. Perhaps the "Groups" logic will have to be slightly altered
Just implemented it. It was quite easy as a group in FreeShow already can have many child slides!
@vassbo Some metadata, for example "key" is still not being imported. Any ideas why?
I never added that, but will do. Currently it's only adding title, author, copyright & ccli (+ hymn_number & aka)
Got it, thanks. Also, where are you storing the < aka ?
In the notes (at the right side)! (Will show up in the bottom as well)
This is an example of a song in OpenSong database format:
In order to improve the import from OpenSong, the following changes are needed:
Also, please note that OpenSong is quite flexible with the slide group names. You may have songs where you have V1 and V1b, and as long as its in the order, it will be pulled in the right place.