The dreambeam module provides the functionality for importing DreamBeam songs into the OpenLP database.

class openlp.plugins.songs.lib.importers.dreambeam.DreamBeamImport(manager, **kwargs)[source]

Bases: openlp.plugins.songs.lib.importers.songimport.SongImport

The DreamBeamImport class provides the ability to import song files from DreamBeam.

An example of DreamBeam xml mark-up:

<?xml version="1.0"?>
<DreamSong xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  <Title>Amazing Grace</Title>
  <Author>John Newton</Author>
  <Collection />
  <Number />
  <Notes />
    <LyricsItem Type="Verse" Number="1">Amazing Grace, how sweet the sound,
    That saved a wretch like me.
    I once was lost but now am found,
    Was blind, but now, I see.</LyricsItem>
    <LyricsItem Type="Verse" Number="2">T’was Grace that taught my heart to fear.
    And Grace, my fears relieved.
    How precious did that Grace appear…
    the hour I first believed.</LyricsItem>
    <LyricsSequenceItem Type="Verse" Number="1" />
    <LyricsSequenceItem Type="Verse" Number="2" />

Valid extensions for a DreamBeam song file are:

  • *.xml

Receive a single file or a list of files to import.