How to create a custom song book - eliranwong/UniqueBible GitHub Wiki

Creating a song book

  1. Create a folder under the UBA root folder that ends with "Songs". For example, it can be called "Worship Songs".

  2. Create notes with a song in its own note file and place them in the folder you created. Separate each stanza in a song with a blank line.

  3. Set the flag parseTextConvertNotesToBook to false to disable text parsing when converting the notes to a book file. Otherwise it will will take approximately 5-10 seconds to convert each song.

  4. Create a book file by selecting in the menu bar "Resources/Create/Reference book from Note file". Select the folder with all the songs in it. The book will be in the marvelData/books folder.

Displaying the songs

Songs are accessible in the Master Control, Library 1. Your songbook will be in the list of books.

Songs are also available for presentation in Plugins/Presentation. Select the "Songs" radio button. Select the song book in the dropdown. Each stanza will have its own button to display. If you do not see your songbook, make sure the filename ends with "Songs.book".

Note: If you see extraneous text in your file that says something like REC-html40/strict.dtd, set includeStrictDocTypeInNote flag to false.