Gui entry

This commit is contained in:
Samuel Mehrbrodt 2014-07-07 15:36:07 +02:00
parent b7a141f75c
commit 398508f49b
1 changed files with 20 additions and 13 deletions

View File

@ -51,12 +51,11 @@ from .foilpresenterimport import FoilPresenterImport
from .zionworximport import ZionWorxImport from .zionworximport import ZionWorxImport
from .propresenterimport import ProPresenterImport from .propresenterimport import ProPresenterImport
from .worshipassistantimport import WorshipAssistantImport from .worshipassistantimport import WorshipAssistantImport
# Imports that might fail from .presentationmanagerimport import PresentationManagerImport
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
# Imports that might fail
try: try:
from .sofimport import SofImport from .sofimport import SofImport
HAS_SOF = True HAS_SOF = True
@ -161,16 +160,17 @@ class SongFormat(object):
MediaShout = 9 MediaShout = 9
OpenSong = 10 OpenSong = 10
PowerSong = 11 PowerSong = 11
ProPresenter = 12 PresentationManager = 12
SongBeamer = 13 ProPresenter = 13
SongPro = 14 SongBeamer = 14
SongShowPlus = 15 SongPro = 15
SongsOfFellowship = 16 SongShowPlus = 16
SundayPlus = 17 SongsOfFellowship = 17
WordsOfWorship = 18 SundayPlus = 18
WorshipAssistant = 19 WordsOfWorship = 19
WorshipCenterPro = 20 WorshipAssistant = 20
ZionWorx = 21 WorshipCenterPro = 21
ZionWorx = 22
# Set optional attribute defaults # Set optional attribute defaults
__defaults__ = { __defaults__ = {
@ -274,6 +274,12 @@ class SongFormat(object):
'invalidSourceMsg': translate('SongsPlugin.ImportWizardForm', 'You need to specify a valid PowerSong 1.0 ' 'invalidSourceMsg': translate('SongsPlugin.ImportWizardForm', 'You need to specify a valid PowerSong 1.0 '
'database folder.') 'database folder.')
}, },
PresentationManager: {
'class': PresentationManagerImport,
'name': 'PresentationManager',
'prefix': 'presentationManager',
'filter': '%s (*.sng)' % translate('SongsPlugin.ImportWizardForm', 'PresentationManager Song Files')
},
ProPresenter: { ProPresenter: {
'class': ProPresenterImport, 'class': ProPresenterImport,
'name': 'ProPresenter', 'name': 'ProPresenter',
@ -375,6 +381,7 @@ class SongFormat(object):
SongFormat.MediaShout, SongFormat.MediaShout,
SongFormat.OpenSong, SongFormat.OpenSong,
SongFormat.PowerSong, SongFormat.PowerSong,
SongFormat.PresentationManager,
SongFormat.ProPresenter, SongFormat.ProPresenter,
SongFormat.SongBeamer, SongFormat.SongBeamer,
SongFormat.SongPro, SongFormat.SongPro,