easyworship¶
The easyworship
module provides the functionality for importing EasyWorship song databases into OpenLP.
-
class
openlp.plugins.songs.lib.importers.easyworship.
EasyWorshipSongImport
(manager, **kwargs)[source]¶ Bases:
openlp.plugins.songs.lib.importers.songimport.SongImport
The
EasyWorshipSongImport
class provides OpenLP with the ability to import EasyWorship song files.-
db_find_field
(field_name)[source]¶ Find a field in the descriptions
Parameters: field_name – field to find
-
db_get_field
(field_desc_index)[source]¶ Extract the field
Parameters: field_desc_index – Field index value Returns: The field value
-
db_set_record_struct
(field_descriptions)[source]¶ Save the record structure
Parameters: field_descriptions – An array of field descriptions
-
ews_get_bytes
(pos, length)[source]¶ Get bytes from ews_file
Parameters: - pos – Position to read from
- length – Bytes to read
Returns: Bytes read
-
ews_get_i16
(pos)[source]¶ Get short int from ews_file
Parameters: pos – Position to read from Returns: Short integer read
-
ews_get_i32
(pos)[source]¶ Get long int from ews_file
Parameters: pos – Position to read from Returns: Long integer read
-
ews_get_string
(pos, length)[source]¶ Get string from ews_file
Parameters: - pos – Position to read from
- length – Characters to read
Returns: String read
-
import_ews
()[source]¶ Import the songs from service file The full spec of the ews files can be found here: https://github.com/meinders/lithium-ews/blob/master/docs/ews%20file%20format.md or here: http://wiki.openlp.org/Development:EasyWorship_EWS_Format
-