Merge lp:~trb143/openlp/textcleanups into lp:openlp

Proposed by Tim Bentley
Status: Merged
Merged at revision: 2804
Proposed branch: lp:~trb143/openlp/textcleanups
Merge into: lp:openlp
Diff against target: 8433 lines (+725/-780)
479 files modified
copyright.txt (+1/-1)
openlp.py (+1/-1)
openlp/__init__.py (+1/-1)
openlp/core/__init__.py (+1/-1)
openlp/core/api/__init__.py (+3/-3)
openlp/core/api/deploy.py (+2/-2)
openlp/core/api/endpoint/__init__.py (+1/-1)
openlp/core/api/endpoint/controller.py (+4/-4)
openlp/core/api/endpoint/core.py (+2/-3)
openlp/core/api/endpoint/pluginhelpers.py (+1/-1)
openlp/core/api/endpoint/remote.py (+2/-3)
openlp/core/api/endpoint/service.py (+2/-3)
openlp/core/api/http/__init__.py (+3/-2)
openlp/core/api/http/endpoint.py (+1/-1)
openlp/core/api/http/errors.py (+1/-1)
openlp/core/api/http/server.py (+4/-4)
openlp/core/api/http/wsgiapp.py (+2/-3)
openlp/core/api/poll.py (+1/-1)
openlp/core/api/tab.py (+1/-1)
openlp/core/api/websockets.py (+2/-2)
openlp/core/app.py (+2/-3)
openlp/core/common/__init__.py (+2/-2)
openlp/core/common/actions.py (+1/-2)
openlp/core/common/applocation.py (+1/-1)
openlp/core/common/db.py (+1/-2)
openlp/core/common/httputils.py (+1/-1)
openlp/core/common/i18n.py (+1/-1)
openlp/core/common/json.py (+1/-1)
openlp/core/common/mixins.py (+2/-2)
openlp/core/common/path.py (+1/-1)
openlp/core/common/registry.py (+1/-1)
openlp/core/common/settings.py (+2/-2)
openlp/core/display/__init__.py (+1/-1)
openlp/core/display/renderer.py (+3/-3)
openlp/core/display/screens.py (+3/-3)
openlp/core/lib/__init__.py (+2/-2)
openlp/core/lib/db.py (+1/-1)
openlp/core/lib/exceptions.py (+1/-1)
openlp/core/lib/formattingtags.py (+2/-2)
openlp/core/lib/htmlbuilder.py (+2/-2)
openlp/core/lib/imagemanager.py (+2/-2)
openlp/core/lib/json/__init__.py (+1/-1)
openlp/core/lib/mediamanageritem.py (+2/-2)
openlp/core/lib/plugin.py (+1/-1)
openlp/core/lib/pluginmanager.py (+1/-1)
openlp/core/lib/serviceitem.py (+2/-2)
openlp/core/lib/settingstab.py (+1/-1)
openlp/core/lib/theme.py (+1/-1)
openlp/core/lib/ui.py (+1/-2)
openlp/core/projectors/__init__.py (+1/-1)
openlp/core/projectors/constants.py (+1/-1)
openlp/core/projectors/db.py (+1/-1)
openlp/core/projectors/editform.py (+2/-2)
openlp/core/projectors/manager.py (+2/-2)
openlp/core/projectors/pjlink.py (+1/-1)
openlp/core/projectors/sourceselectform.py (+2/-2)
openlp/core/projectors/tab.py (+1/-1)
openlp/core/projectors/upgrade.py (+1/-1)
openlp/core/resources.py (+1/-1)
openlp/core/threading.py (+1/-1)
openlp/core/ui/__init__.py (+1/-1)
openlp/core/ui/aboutdialog.py (+1/-1)
openlp/core/ui/aboutform.py (+2/-2)
openlp/core/ui/advancedtab.py (+1/-1)
openlp/core/ui/exceptiondialog.py (+1/-1)
openlp/core/ui/exceptionform.py (+1/-1)
openlp/core/ui/filerenamedialog.py (+1/-1)
openlp/core/ui/filerenameform.py (+1/-1)
openlp/core/ui/firsttimeform.py (+5/-5)
openlp/core/ui/firsttimelanguagedialog.py (+1/-1)
openlp/core/ui/firsttimelanguageform.py (+1/-1)
openlp/core/ui/firsttimewizard.py (+1/-1)
openlp/core/ui/formattingtagcontroller.py (+1/-1)
openlp/core/ui/formattingtagdialog.py (+1/-1)
openlp/core/ui/formattingtagform.py (+2/-2)
openlp/core/ui/generaltab.py (+1/-1)
openlp/core/ui/maindisplay.py (+1/-1)
openlp/core/ui/mainwindow.py (+5/-8)
openlp/core/ui/media/__init__.py (+1/-1)
openlp/core/ui/media/endpoint.py (+2/-2)
openlp/core/ui/media/mediacontroller.py (+6/-6)
openlp/core/ui/media/mediaplayer.py (+1/-1)
openlp/core/ui/media/playertab.py (+1/-1)
openlp/core/ui/media/systemplayer.py (+1/-2)
openlp/core/ui/media/vendor/__init__.py (+1/-1)
openlp/core/ui/media/vendor/mediainfoWrapper.py (+1/-1)
openlp/core/ui/media/vendor/vlc.py (+2/-3)
openlp/core/ui/media/vlcplayer.py (+6/-5)
openlp/core/ui/media/webkitplayer.py (+2/-2)
openlp/core/ui/plugindialog.py (+1/-1)
openlp/core/ui/pluginform.py (+1/-1)
openlp/core/ui/printservicedialog.py (+1/-1)
openlp/core/ui/printserviceform.py (+2/-2)
openlp/core/ui/serviceitemeditdialog.py (+1/-1)
openlp/core/ui/serviceitemeditform.py (+1/-1)
openlp/core/ui/servicemanager.py (+1/-1)
openlp/core/ui/servicenoteform.py (+1/-1)
openlp/core/ui/settingsdialog.py (+1/-1)
openlp/core/ui/settingsform.py (+1/-1)
openlp/core/ui/shortcutlistdialog.py (+1/-1)
openlp/core/ui/shortcutlistform.py (+1/-1)
openlp/core/ui/slidecontroller.py (+1/-2)
openlp/core/ui/splashscreen.py (+1/-1)
openlp/core/ui/starttimedialog.py (+1/-1)
openlp/core/ui/starttimeform.py (+1/-1)
openlp/core/ui/style.py (+2/-2)
openlp/core/ui/themeform.py (+1/-1)
openlp/core/ui/themelayoutdialog.py (+1/-1)
openlp/core/ui/themelayoutform.py (+1/-1)
openlp/core/ui/thememanager.py (+1/-1)
openlp/core/ui/themestab.py (+1/-1)
openlp/core/ui/themewizard.py (+1/-1)
openlp/core/version.py (+1/-1)
openlp/core/widgets/__init__.py (+1/-1)
openlp/core/widgets/buttons.py (+1/-1)
openlp/core/widgets/dialogs.py (+2/-2)
openlp/core/widgets/docks.py (+1/-1)
openlp/core/widgets/edits.py (+1/-1)
openlp/core/widgets/enums.py (+1/-1)
openlp/core/widgets/toolbar.py (+1/-1)
openlp/core/widgets/views.py (+1/-1)
openlp/core/widgets/wizard.py (+1/-1)
openlp/plugins/__init__.py (+1/-1)
openlp/plugins/alerts/__init__.py (+1/-1)
openlp/plugins/alerts/alertsplugin.py (+1/-1)
openlp/plugins/alerts/endpoint.py (+3/-4)
openlp/plugins/alerts/forms/__init__.py (+1/-1)
openlp/plugins/alerts/forms/alertdialog.py (+1/-1)
openlp/plugins/alerts/forms/alertform.py (+1/-2)
openlp/plugins/alerts/lib/__init__.py (+1/-1)
openlp/plugins/alerts/lib/alertsmanager.py (+1/-1)
openlp/plugins/alerts/lib/alertstab.py (+1/-1)
openlp/plugins/alerts/lib/db.py (+1/-1)
openlp/plugins/bibles/__init__.py (+1/-1)
openlp/plugins/bibles/bibleplugin.py (+3/-3)
openlp/plugins/bibles/endpoint.py (+3/-4)
openlp/plugins/bibles/forms/__init__.py (+3/-3)
openlp/plugins/bibles/forms/bibleimportform.py (+3/-2)
openlp/plugins/bibles/forms/booknamedialog.py (+1/-1)
openlp/plugins/bibles/forms/booknameform.py (+2/-2)
openlp/plugins/bibles/forms/editbibledialog.py (+1/-1)
openlp/plugins/bibles/forms/editbibleform.py (+2/-2)
openlp/plugins/bibles/forms/languagedialog.py (+1/-1)
openlp/plugins/bibles/forms/languageform.py (+2/-3)
openlp/plugins/bibles/lib/__init__.py (+1/-2)
openlp/plugins/bibles/lib/bibleimport.py (+4/-3)
openlp/plugins/bibles/lib/biblestab.py (+1/-1)
openlp/plugins/bibles/lib/db.py (+2/-2)
openlp/plugins/bibles/lib/importers/__init__.py (+1/-1)
openlp/plugins/bibles/lib/importers/csvbible.py (+1/-1)
openlp/plugins/bibles/lib/importers/http.py (+2/-2)
openlp/plugins/bibles/lib/importers/opensong.py (+1/-1)
openlp/plugins/bibles/lib/importers/osis.py (+1/-1)
openlp/plugins/bibles/lib/importers/sword.py (+2/-2)
openlp/plugins/bibles/lib/importers/wordproject.py (+1/-1)
openlp/plugins/bibles/lib/importers/zefania.py (+1/-2)
openlp/plugins/bibles/lib/manager.py (+3/-2)
openlp/plugins/bibles/lib/mediaitem.py (+1/-1)
openlp/plugins/bibles/lib/upgrade.py (+1/-1)
openlp/plugins/bibles/lib/versereferencelist.py (+1/-1)
openlp/plugins/custom/__init__.py (+1/-1)
openlp/plugins/custom/customplugin.py (+1/-1)
openlp/plugins/custom/endpoint.py (+3/-4)
openlp/plugins/custom/forms/__init__.py (+1/-1)
openlp/plugins/custom/forms/editcustomdialog.py (+1/-1)
openlp/plugins/custom/forms/editcustomform.py (+1/-1)
openlp/plugins/custom/forms/editcustomslidedialog.py (+1/-1)
openlp/plugins/custom/forms/editcustomslideform.py (+1/-1)
openlp/plugins/custom/lib/__init__.py (+2/-2)
openlp/plugins/custom/lib/customtab.py (+1/-1)
openlp/plugins/custom/lib/customxmlhandler.py (+2/-2)
openlp/plugins/custom/lib/db.py (+1/-1)
openlp/plugins/custom/lib/mediaitem.py (+1/-1)
openlp/plugins/images/__init__.py (+1/-1)
openlp/plugins/images/endpoint.py (+3/-4)
openlp/plugins/images/forms/__init__.py (+1/-1)
openlp/plugins/images/forms/addgroupdialog.py (+1/-1)
openlp/plugins/images/forms/addgroupform.py (+1/-1)
openlp/plugins/images/forms/choosegroupdialog.py (+1/-1)
openlp/plugins/images/forms/choosegroupform.py (+1/-1)
openlp/plugins/images/imageplugin.py (+3/-3)
openlp/plugins/images/lib/__init__.py (+2/-2)
openlp/plugins/images/lib/db.py (+1/-1)
openlp/plugins/images/lib/imagetab.py (+1/-1)
openlp/plugins/images/lib/mediaitem.py (+1/-2)
openlp/plugins/images/lib/upgrade.py (+1/-1)
openlp/plugins/media/__init__.py (+1/-1)
openlp/plugins/media/endpoint.py (+3/-4)
openlp/plugins/media/forms/__init__.py (+1/-1)
openlp/plugins/media/forms/mediaclipselectordialog.py (+1/-1)
openlp/plugins/media/forms/mediaclipselectorform.py (+5/-5)
openlp/plugins/media/lib/__init__.py (+1/-1)
openlp/plugins/media/lib/mediaitem.py (+2/-2)
openlp/plugins/media/lib/mediatab.py (+1/-1)
openlp/plugins/media/mediaplugin.py (+1/-3)
openlp/plugins/presentations/__init__.py (+1/-1)
openlp/plugins/presentations/endpoint.py (+3/-4)
openlp/plugins/presentations/lib/__init__.py (+1/-1)
openlp/plugins/presentations/lib/impresscontroller.py (+1/-1)
openlp/plugins/presentations/lib/mediaitem.py (+3/-3)
openlp/plugins/presentations/lib/messagelistener.py (+2/-2)
openlp/plugins/presentations/lib/pdfcontroller.py (+1/-1)
openlp/plugins/presentations/lib/powerpointcontroller.py (+1/-1)
openlp/plugins/presentations/lib/pptviewcontroller.py (+2/-2)
openlp/plugins/presentations/lib/pptviewlib/README.TXT (+1/-1)
openlp/plugins/presentations/lib/pptviewlib/ppttest.py (+3/-2)
openlp/plugins/presentations/lib/pptviewlib/pptviewlib.cpp (+1/-1)
openlp/plugins/presentations/lib/pptviewlib/pptviewlib.h (+1/-1)
openlp/plugins/presentations/lib/presentationcontroller.py (+1/-1)
openlp/plugins/presentations/lib/presentationtab.py (+1/-1)
openlp/plugins/presentations/presentationplugin.py (+2/-2)
openlp/plugins/songs/__init__.py (+1/-1)
openlp/plugins/songs/endpoint.py (+3/-4)
openlp/plugins/songs/forms/__init__.py (+1/-1)
openlp/plugins/songs/forms/authorsdialog.py (+1/-1)
openlp/plugins/songs/forms/authorsform.py (+1/-1)
openlp/plugins/songs/forms/duplicatesongremovalform.py (+2/-2)
openlp/plugins/songs/forms/editsongdialog.py (+1/-1)
openlp/plugins/songs/forms/editsongform.py (+2/-2)
openlp/plugins/songs/forms/editversedialog.py (+2/-2)
openlp/plugins/songs/forms/editverseform.py (+3/-3)
openlp/plugins/songs/forms/mediafilesdialog.py (+1/-1)
openlp/plugins/songs/forms/mediafilesform.py (+1/-2)
openlp/plugins/songs/forms/songbookdialog.py (+1/-1)
openlp/plugins/songs/forms/songbookform.py (+1/-1)
openlp/plugins/songs/forms/songexportform.py (+1/-1)
openlp/plugins/songs/forms/songimportform.py (+1/-1)
openlp/plugins/songs/forms/songmaintenancedialog.py (+1/-1)
openlp/plugins/songs/forms/songmaintenanceform.py (+2/-2)
openlp/plugins/songs/forms/songreviewwidget.py (+1/-1)
openlp/plugins/songs/forms/songselectdialog.py (+1/-1)
openlp/plugins/songs/forms/songselectform.py (+1/-1)
openlp/plugins/songs/forms/topicsdialog.py (+1/-1)
openlp/plugins/songs/forms/topicsform.py (+1/-1)
openlp/plugins/songs/lib/__init__.py (+1/-1)
openlp/plugins/songs/lib/db.py (+1/-1)
openlp/plugins/songs/lib/importer.py (+15/-15)
openlp/plugins/songs/lib/importers/__init__.py (+1/-1)
openlp/plugins/songs/lib/importers/cclifile.py (+4/-3)
openlp/plugins/songs/lib/importers/dreambeam.py (+1/-1)
openlp/plugins/songs/lib/importers/easyslides.py (+1/-1)
openlp/plugins/songs/lib/importers/easyworship.py (+2/-3)
openlp/plugins/songs/lib/importers/foilpresenter.py (+3/-3)
openlp/plugins/songs/lib/importers/lyrix.py (+1/-1)
openlp/plugins/songs/lib/importers/mediashout.py (+3/-2)
openlp/plugins/songs/lib/importers/openlp.py (+1/-1)
openlp/plugins/songs/lib/importers/openlyrics.py (+2/-2)
openlp/plugins/songs/lib/importers/openoffice.py (+1/-1)
openlp/plugins/songs/lib/importers/opensong.py (+1/-1)
openlp/plugins/songs/lib/importers/opspro.py (+3/-2)
openlp/plugins/songs/lib/importers/powerpraise.py (+1/-1)
openlp/plugins/songs/lib/importers/powersong.py (+1/-1)
openlp/plugins/songs/lib/importers/presentationmanager.py (+2/-2)
openlp/plugins/songs/lib/importers/propresenter.py (+2/-1)
openlp/plugins/songs/lib/importers/songbeamer.py (+4/-4)
openlp/plugins/songs/lib/importers/songimport.py (+2/-2)
openlp/plugins/songs/lib/importers/songpro.py (+1/-1)
openlp/plugins/songs/lib/importers/songshowplus.py (+1/-1)
openlp/plugins/songs/lib/importers/songsoffellowship.py (+1/-3)
openlp/plugins/songs/lib/importers/sundayplus.py (+1/-2)
openlp/plugins/songs/lib/importers/videopsalm.py (+3/-3)
openlp/plugins/songs/lib/importers/wordsofworship.py (+2/-3)
openlp/plugins/songs/lib/importers/worshipassistant.py (+1/-1)
openlp/plugins/songs/lib/importers/worshipcenterpro.py (+2/-1)
openlp/plugins/songs/lib/importers/zionworx.py (+1/-1)
openlp/plugins/songs/lib/mediaitem.py (+1/-1)
openlp/plugins/songs/lib/openlyricsexport.py (+2/-2)
openlp/plugins/songs/lib/openlyricsxml.py (+2/-2)
openlp/plugins/songs/lib/songcompare.py (+1/-1)
openlp/plugins/songs/lib/songselect.py (+3/-3)
openlp/plugins/songs/lib/songstab.py (+1/-1)
openlp/plugins/songs/lib/ui.py (+1/-1)
openlp/plugins/songs/lib/upgrade.py (+1/-1)
openlp/plugins/songs/reporting.py (+1/-1)
openlp/plugins/songs/songsplugin.py (+1/-2)
openlp/plugins/songusage/__init__.py (+1/-1)
openlp/plugins/songusage/forms/__init__.py (+1/-1)
openlp/plugins/songusage/forms/songusagedeletedialog.py (+1/-1)
openlp/plugins/songusage/forms/songusagedeleteform.py (+2/-2)
openlp/plugins/songusage/forms/songusagedetaildialog.py (+1/-1)
openlp/plugins/songusage/forms/songusagedetailform.py (+2/-2)
openlp/plugins/songusage/lib/__init__.py (+1/-1)
openlp/plugins/songusage/lib/db.py (+1/-1)
openlp/plugins/songusage/lib/upgrade.py (+1/-1)
openlp/plugins/songusage/songusageplugin.py (+1/-1)
scripts/appveyor-webhook.py (+1/-1)
scripts/check_dependencies.py (+1/-1)
scripts/clean_up_resources.py (+1/-1)
scripts/generate_resources.sh (+1/-1)
scripts/jenkins_script.py (+5/-4)
scripts/lp-merge.py (+1/-1)
scripts/resources.patch (+1/-1)
scripts/translation_utils.py (+1/-1)
scripts/websocket_client.py (+1/-1)
setup.py (+1/-1)
tests/__init__.py (+1/-1)
tests/functional/__init__.py (+1/-2)
tests/functional/openlp_core/__init__.py (+21/-0)
tests/functional/openlp_core/api/__init__.py (+1/-1)
tests/functional/openlp_core/api/http/__init__.py (+1/-1)
tests/functional/openlp_core/api/http/test_error.py (+1/-1)
tests/functional/openlp_core/api/http/test_http.py (+2/-2)
tests/functional/openlp_core/api/http/test_wsgiapp.py (+2/-3)
tests/functional/openlp_core/api/test_deploy.py (+1/-1)
tests/functional/openlp_core/api/test_tab.py (+2/-2)
tests/functional/openlp_core/api/test_websockets.py (+3/-3)
tests/functional/openlp_core/common/__init__.py (+1/-1)
tests/functional/openlp_core/common/test_actions.py (+1/-2)
tests/functional/openlp_core/common/test_applocation.py (+1/-1)
tests/functional/openlp_core/common/test_common.py (+1/-1)
tests/functional/openlp_core/common/test_db.py (+1/-1)
tests/functional/openlp_core/common/test_httputils.py (+1/-2)
tests/functional/openlp_core/common/test_i18n.py (+1/-1)
tests/functional/openlp_core/common/test_init.py (+1/-3)
tests/functional/openlp_core/common/test_json.py (+2/-2)
tests/functional/openlp_core/common/test_mixins.py (+1/-1)
tests/functional/openlp_core/common/test_path.py (+1/-1)
tests/functional/openlp_core/common/test_projector_utilities.py (+1/-2)
tests/functional/openlp_core/common/test_registry.py (+1/-1)
tests/functional/openlp_core/common/test_settings.py (+1/-2)
tests/functional/openlp_core/display/__init__.py (+1/-1)
tests/functional/openlp_core/display/test_renderer.py (+2/-3)
tests/functional/openlp_core/display/test_screens.py (+1/-1)
tests/functional/openlp_core/lib/test_db.py (+2/-3)
tests/functional/openlp_core/lib/test_htmlbuilder.py (+0/-1)
tests/functional/openlp_core/lib/test_image_manager.py (+0/-1)
tests/functional/openlp_core/lib/test_mediamanageritem.py (+0/-1)
tests/functional/openlp_core/lib/test_pluginmanager.py (+1/-1)
tests/functional/openlp_core/lib/test_serviceitem.py (+0/-1)
tests/functional/openlp_core/lib/test_theme.py (+0/-1)
tests/functional/openlp_core/projectors/test_projector_bugfixes_01.py (+0/-1)
tests/functional/openlp_core/projectors/test_projector_db.py (+0/-2)
tests/functional/openlp_core/projectors/test_projector_pjlink_base.py (+0/-1)
tests/functional/openlp_core/projectors/test_projector_pjlink_commands_01.py (+0/-1)
tests/functional/openlp_core/projectors/test_projector_pjlink_commands_02.py (+0/-1)
tests/functional/openlp_core/test_app.py (+1/-3)
tests/functional/openlp_core/test_version.py (+1/-1)
tests/functional/openlp_core/ui/media/__init__.py (+1/-1)
tests/functional/openlp_core/ui/media/test_mediacontroller.py (+2/-3)
tests/functional/openlp_core/ui/media/test_systemplayer.py (+1/-1)
tests/functional/openlp_core/ui/media/test_vlcplayer.py (+1/-2)
tests/functional/openlp_core/ui/media/test_webkitplayer.py (+1/-1)
tests/functional/openlp_core/ui/test_aboutform.py (+0/-1)
tests/functional/openlp_core/ui/test_advancedtab.py (+1/-2)
tests/functional/openlp_core/ui/test_exceptionform.py (+1/-3)
tests/functional/openlp_core/ui/test_first_time.py (+0/-1)
tests/functional/openlp_core/ui/test_firsttimeform.py (+1/-3)
tests/functional/openlp_core/ui/test_maindisplay.py (+0/-1)
tests/functional/openlp_core/ui/test_mainwindow.py (+1/-2)
tests/functional/openlp_core/ui/test_media.py (+0/-1)
tests/functional/openlp_core/ui/test_style.py (+1/-1)
tests/functional/openlp_core/ui/test_thememanager.py (+1/-2)
tests/functional/openlp_core/ui/test_themetab.py (+1/-2)
tests/functional/openlp_core/widgets/__init__.py (+1/-1)
tests/functional/openlp_core/widgets/test_buttons.py (+1/-1)
tests/functional/openlp_core/widgets/test_edits.py (+2/-2)
tests/functional/openlp_core/widgets/test_views.py (+1/-1)
tests/functional/openlp_plugins/__init__.py (+1/-1)
tests/functional/openlp_plugins/alerts/__init__.py (+1/-1)
tests/functional/openlp_plugins/alerts/test_manager.py (+2/-4)
tests/functional/openlp_plugins/bibles/__init__.py (+1/-1)
tests/functional/openlp_plugins/bibles/test_bibleimport.py (+1/-1)
tests/functional/openlp_plugins/bibles/test_bibleserver.py (+1/-1)
tests/functional/openlp_plugins/bibles/test_csvimport.py (+1/-2)
tests/functional/openlp_plugins/bibles/test_db.py (+1/-1)
tests/functional/openlp_plugins/bibles/test_lib.py (+1/-2)
tests/functional/openlp_plugins/bibles/test_manager.py (+1/-1)
tests/functional/openlp_plugins/bibles/test_mediaitem.py (+2/-3)
tests/functional/openlp_plugins/bibles/test_opensongimport.py (+2/-3)
tests/functional/openlp_plugins/bibles/test_osisimport.py (+1/-2)
tests/functional/openlp_plugins/bibles/test_swordimport.py (+1/-1)
tests/functional/openlp_plugins/bibles/test_versereferencelist.py (+1/-1)
tests/functional/openlp_plugins/bibles/test_wordprojectimport.py (+1/-2)
tests/functional/openlp_plugins/bibles/test_zefaniaimport.py (+1/-2)
tests/functional/openlp_plugins/custom/__init__.py (+1/-1)
tests/functional/openlp_plugins/custom/test_mediaitem.py (+1/-2)
tests/functional/openlp_plugins/images/__init__.py (+1/-1)
tests/functional/openlp_plugins/images/test_imagetab.py (+1/-2)
tests/functional/openlp_plugins/images/test_lib.py (+2/-2)
tests/functional/openlp_plugins/images/test_upgrade.py (+1/-2)
tests/functional/openlp_plugins/media/test_mediaitem.py (+2/-3)
tests/functional/openlp_plugins/media/test_mediaplugin.py (+1/-2)
tests/functional/openlp_plugins/presentations/__init__.py (+1/-1)
tests/functional/openlp_plugins/presentations/test_impresscontroller.py (+4/-4)
tests/functional/openlp_plugins/presentations/test_mediaitem.py (+2/-3)
tests/functional/openlp_plugins/presentations/test_messagelistener.py (+1/-2)
tests/functional/openlp_plugins/presentations/test_pdfcontroller.py (+3/-4)
tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py (+2/-3)
tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py (+2/-3)
tests/functional/openlp_plugins/presentations/test_presentationcontroller.py (+1/-1)
tests/functional/openlp_plugins/songs/__init__.py (+1/-1)
tests/functional/openlp_plugins/songs/test_chordproimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_db.py (+4/-4)
tests/functional/openlp_plugins/songs/test_easyslidesimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_editsongform.py (+1/-2)
tests/functional/openlp_plugins/songs/test_editverseform.py (+1/-2)
tests/functional/openlp_plugins/songs/test_ewimport.py (+1/-2)
tests/functional/openlp_plugins/songs/test_foilpresenterimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_lib.py (+1/-1)
tests/functional/openlp_plugins/songs/test_lyriximport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_mediaitem.py (+1/-2)
tests/functional/openlp_plugins/songs/test_mediashout.py (+2/-1)
tests/functional/openlp_plugins/songs/test_openlpimporter.py (+1/-1)
tests/functional/openlp_plugins/songs/test_openlyricsexport.py (+2/-3)
tests/functional/openlp_plugins/songs/test_openlyricsimport.py (+1/-2)
tests/functional/openlp_plugins/songs/test_openoffice.py (+1/-2)
tests/functional/openlp_plugins/songs/test_opensongimport.py (+1/-2)
tests/functional/openlp_plugins/songs/test_opsproimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_powerpraiseimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_propresenterimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_songbeamerimport.py (+1/-2)
tests/functional/openlp_plugins/songs/test_songproimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_songselect.py (+1/-2)
tests/functional/openlp_plugins/songs/test_songshowplusimport.py (+1/-2)
tests/functional/openlp_plugins/songs/test_sundayplusimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_videopsalm.py (+1/-1)
tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_worshipassistantimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_worshipcenterproimport.py (+1/-1)
tests/functional/openlp_plugins/songs/test_zionworximport.py (+1/-2)
tests/functional/openlp_plugins/songusage/__init__.py (+1/-1)
tests/functional/openlp_plugins/songusage/test_songusage.py (+1/-1)
tests/helpers/__init__.py (+1/-1)
tests/helpers/songfileimport.py (+1/-1)
tests/helpers/testmixin.py (+2/-1)
tests/interfaces/__init__.py (+1/-1)
tests/interfaces/openlp_core/__init__.py (+1/-1)
tests/interfaces/openlp_core/api/__init__.py (+1/-1)
tests/interfaces/openlp_core/common/__init__.py (+1/-1)
tests/interfaces/openlp_core/common/test_utils.py (+2/-1)
tests/interfaces/openlp_core/lib/__init__.py (+1/-1)
tests/interfaces/openlp_core/lib/test_pluginmanager.py (+3/-4)
tests/interfaces/openlp_core/ui/__init__.py (+1/-1)
tests/interfaces/openlp_core/ui/lib/__init__.py (+1/-1)
tests/interfaces/openlp_core/ui/media/__init__.py (+1/-1)
tests/interfaces/openlp_core/ui/media/vendor/__init__.py (+1/-1)
tests/interfaces/openlp_core/ui/media/vendor/test_mediainfoWrapper.py (+1/-2)
tests/interfaces/openlp_core/ui/test_filerenamedialog.py (+1/-2)
tests/interfaces/openlp_core/ui/test_mainwindow.py (+1/-2)
tests/interfaces/openlp_core/ui/test_projectoreditform.py (+2/-4)
tests/interfaces/openlp_core/ui/test_projectormanager.py (+1/-2)
tests/interfaces/openlp_core/ui/test_projectorsourceform.py (+2/-3)
tests/interfaces/openlp_core/ui/test_servicemanager.py (+1/-2)
tests/interfaces/openlp_core/ui/test_servicenotedialog.py (+1/-2)
tests/interfaces/openlp_core/ui/test_settings_form.py (+2/-3)
tests/interfaces/openlp_core/ui/test_shortcutlistform.py (+1/-2)
tests/interfaces/openlp_core/ui/test_starttimedialog.py (+1/-2)
tests/interfaces/openlp_core/ui/test_thememanager.py (+2/-3)
tests/interfaces/openlp_core/widgets/__init__.py (+1/-1)
tests/interfaces/openlp_core/widgets/test_edits.py (+1/-2)
tests/interfaces/openlp_core/widgets/test_views.py (+2/-3)
tests/interfaces/openlp_plugins/__init__.py (+1/-1)
tests/interfaces/openlp_plugins/bibles/__init__.py (+1/-1)
tests/interfaces/openlp_plugins/bibles/forms/__init__.py (+21/-0)
tests/interfaces/openlp_plugins/bibles/forms/test_bibleimportform.py (+2/-3)
tests/interfaces/openlp_plugins/bibles/test_lib_http.py (+1/-1)
tests/interfaces/openlp_plugins/bibles/test_lib_manager.py (+2/-3)
tests/interfaces/openlp_plugins/bibles/test_lib_parse_reference.py (+2/-3)
tests/interfaces/openlp_plugins/custom/__init__.py (+1/-1)
tests/interfaces/openlp_plugins/custom/forms/__init__.py (+1/-1)
tests/interfaces/openlp_plugins/custom/forms/test_customform.py (+1/-3)
tests/interfaces/openlp_plugins/custom/forms/test_customslideform.py (+1/-2)
tests/interfaces/openlp_plugins/media/__init__.py (+1/-1)
tests/interfaces/openlp_plugins/media/forms/__init__.py (+1/-1)
tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py (+1/-1)
tests/interfaces/openlp_plugins/songs/__init__.py (+1/-1)
tests/interfaces/openlp_plugins/songs/forms/__init__.py (+1/-1)
tests/interfaces/openlp_plugins/songs/forms/test_authorsform.py (+1/-1)
tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py (+1/-2)
tests/interfaces/openlp_plugins/songs/forms/test_editverseform.py (+1/-1)
tests/interfaces/openlp_plugins/songs/forms/test_songmaintenanceform.py (+1/-2)
tests/interfaces/openlp_plugins/songs/forms/test_topicsform.py (+1/-1)
tests/resources/projector/data.py (+1/-4)
tests/utils/__init__.py (+2/-2)
tests/utils/constants.py (+20/-0)
tests/utils/osdinteraction.py (+2/-2)
tests/utils/test_bzr_tags.py (+2/-3)
tests/utils/test_pylint.py (+1/-2)
To merge this branch: bzr merge lp:~trb143/openlp/textcleanups
Reviewer Review Type Date Requested Status
Raoul Snyman Approve
Review via email: mp+335601@code.launchpad.net

This proposal supersedes a proposal from 2017-12-29.

Description of the change

Update the year to 2018
Add some missing copyright files
Reorder and fix the imports for all files.
Fix a timing issue with the mac build which makes it fail all the time.

lp:~trb143/openlp/textcleanups (revision 2812)
https://ci.openlp.io/job/Branch-01-Pull/2406/ [SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linux-Tests/2307/ [SUCCESS]
https://ci.openlp.io/job/Branch-02b-macOS-Tests/102/ [SUCCESS]
https://ci.openlp.io/job/Branch-03a-Build-Source/26/ [SUCCESS]
https://ci.openlp.io/job/Branch-03b-Build-macOS/25/ [SUCCESS]
https://ci.openlp.io/job/Branch-04a-Code-Analysis/1488/ [SUCCESS]
https://ci.openlp.io/job/Branch-04b-Test-Coverage/1301/ [SUCCESS]

To post a comment you must log in.
Revision history for this message
Raoul Snyman (raoul-snyman) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'copyright.txt'
--- copyright.txt 2016-12-31 11:01:36 +0000
+++ copyright.txt 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp.py'
--- openlp.py 2017-12-17 04:29:53 +0000
+++ openlp.py 2017-12-29 10:26:06 +0000
@@ -5,7 +5,7 @@
5###############################################################################5###############################################################################
6# OpenLP - Open Source Lyrics Projection #6# OpenLP - Open Source Lyrics Projection #
7# --------------------------------------------------------------------------- #7# --------------------------------------------------------------------------- #
8# Copyright (c) 2008-2017 OpenLP Developers #8# Copyright (c) 2008-2018 OpenLP Developers #
9# --------------------------------------------------------------------------- #9# --------------------------------------------------------------------------- #
10# This program is free software; you can redistribute it and/or modify it #10# This program is free software; you can redistribute it and/or modify it #
11# under the terms of the GNU General Public License as published by the Free #11# under the terms of the GNU General Public License as published by the Free #
1212
=== modified file 'openlp/__init__.py'
--- openlp/__init__.py 2017-10-10 07:08:44 +0000
+++ openlp/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/__init__.py'
--- openlp/core/__init__.py 2017-10-10 07:08:44 +0000
+++ openlp/core/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/api/__init__.py'
--- openlp/core/api/__init__.py 2017-03-04 19:17:59 +0000
+++ openlp/core/api/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -20,9 +20,9 @@
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
2222
23from openlp.core.api.http import register_endpoint, requires_auth
23from openlp.core.api.http.endpoint import Endpoint24from openlp.core.api.http.endpoint import Endpoint
24from openlp.core.api.http import register_endpoint, requires_auth25from openlp.core.api.poll import Poller
25from openlp.core.api.tab import ApiTab26from openlp.core.api.tab import ApiTab
26from openlp.core.api.poll import Poller
2727
28__all__ = ['Endpoint', 'ApiTab', 'register_endpoint', 'requires_auth']28__all__ = ['Endpoint', 'ApiTab', 'register_endpoint', 'requires_auth']
2929
=== modified file 'openlp/core/api/deploy.py'
--- openlp/core/api/deploy.py 2017-12-02 21:47:11 +0000
+++ openlp/core/api/deploy.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,8 +25,8 @@
25from zipfile import ZipFile25from zipfile import ZipFile
2626
27from openlp.core.common.applocation import AppLocation27from openlp.core.common.applocation import AppLocation
28from openlp.core.common.httputils import url_get_file, get_web_page, get_url_file_size
28from openlp.core.common.registry import Registry29from openlp.core.common.registry import Registry
29from openlp.core.common.httputils import url_get_file, get_web_page, get_url_file_size
3030
3131
32def deploy_zipfile(app_root_path, zip_name):32def deploy_zipfile(app_root_path, zip_name):
3333
=== modified file 'openlp/core/api/endpoint/__init__.py'
--- openlp/core/api/endpoint/__init__.py 2017-03-04 19:17:59 +0000
+++ openlp/core/api/endpoint/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/api/endpoint/controller.py'
--- openlp/core/api/endpoint/controller.py 2017-11-18 11:23:15 +0000
+++ openlp/core/api/endpoint/controller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -19,14 +19,14 @@
19# with this program; if not, write to the Free Software Foundation, Inc., 59 #19# with this program; if not, write to the Free Software Foundation, Inc., 59 #
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
22import json
22import logging23import logging
23import os24import os
25import urllib.error
24import urllib.request26import urllib.request
25import urllib.error
26import json
2727
28from openlp.core.api.http import requires_auth
28from openlp.core.api.http.endpoint import Endpoint29from openlp.core.api.http.endpoint import Endpoint
29from openlp.core.api.http import requires_auth
30from openlp.core.common.applocation import AppLocation30from openlp.core.common.applocation import AppLocation
31from openlp.core.common.path import Path31from openlp.core.common.path import Path
32from openlp.core.common.registry import Registry32from openlp.core.common.registry import Registry
3333
=== modified file 'openlp/core/api/endpoint/core.py'
--- openlp/core/api/endpoint/core.py 2017-11-18 22:37:24 +0000
+++ openlp/core/api/endpoint/core.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,11 +27,10 @@
2727
28from openlp.core.api.http import requires_auth28from openlp.core.api.http import requires_auth
29from openlp.core.api.http.endpoint import Endpoint29from openlp.core.api.http.endpoint import Endpoint
30from openlp.core.common.i18n import UiStrings, translate
30from openlp.core.common.registry import Registry31from openlp.core.common.registry import Registry
31from openlp.core.common.i18n import UiStrings, translate
32from openlp.core.lib import PluginStatus, StringContent, image_to_byte32from openlp.core.lib import PluginStatus, StringContent, image_to_byte
3333
34
35template_dir = 'templates'34template_dir = 'templates'
36static_dir = 'static'35static_dir = 'static'
37blank_dir = os.path.join(static_dir, 'index')36blank_dir = os.path.join(static_dir, 'index')
3837
=== modified file 'openlp/core/api/endpoint/pluginhelpers.py'
--- openlp/core/api/endpoint/pluginhelpers.py 2017-11-18 11:23:15 +0000
+++ openlp/core/api/endpoint/pluginhelpers.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/api/endpoint/remote.py'
--- openlp/core/api/endpoint/remote.py 2017-11-09 19:25:26 +0000
+++ openlp/core/api/endpoint/remote.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,9 +21,8 @@
21###############################################################################21###############################################################################
22import logging22import logging
2323
24from openlp.core.api.endpoint.core import TRANSLATED_STRINGS
24from openlp.core.api.http.endpoint import Endpoint25from openlp.core.api.http.endpoint import Endpoint
25from openlp.core.api.endpoint.core import TRANSLATED_STRINGS
26
2726
28log = logging.getLogger(__name__)27log = logging.getLogger(__name__)
2928
3029
=== modified file 'openlp/core/api/endpoint/service.py'
--- openlp/core/api/endpoint/service.py 2017-10-07 07:05:07 +0000
+++ openlp/core/api/endpoint/service.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -19,14 +19,13 @@
19# with this program; if not, write to the Free Software Foundation, Inc., 59 #19# with this program; if not, write to the Free Software Foundation, Inc., 59 #
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
22import json
22import logging23import logging
23import json
2424
25from openlp.core.api.http import requires_auth25from openlp.core.api.http import requires_auth
26from openlp.core.api.http.endpoint import Endpoint26from openlp.core.api.http.endpoint import Endpoint
27from openlp.core.common.registry import Registry27from openlp.core.common.registry import Registry
2828
29
30log = logging.getLogger(__name__)29log = logging.getLogger(__name__)
3130
32service_endpoint = Endpoint('service')31service_endpoint = Endpoint('service')
3332
=== modified file 'openlp/core/api/http/__init__.py'
--- openlp/core/api/http/__init__.py 2017-03-04 19:17:59 +0000
+++ openlp/core/api/http/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -22,10 +22,11 @@
2222
23import base6423import base64
24from functools import wraps24from functools import wraps
25
25from webob import Response26from webob import Response
2627
28from openlp.core.api.http.wsgiapp import WSGIApplication
27from openlp.core.common.settings import Settings29from openlp.core.common.settings import Settings
28from openlp.core.api.http.wsgiapp import WSGIApplication
29from .errors import NotFound, ServerError, HttpError30from .errors import NotFound, ServerError, HttpError
3031
31application = WSGIApplication('api')32application = WSGIApplication('api')
3233
=== modified file 'openlp/core/api/http/endpoint.py'
--- openlp/core/api/http/endpoint.py 2017-11-18 11:23:15 +0000
+++ openlp/core/api/http/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/api/http/errors.py'
--- openlp/core/api/http/errors.py 2017-03-04 19:17:59 +0000
+++ openlp/core/api/http/errors.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/api/http/server.py'
--- openlp/core/api/http/server.py 2017-12-02 21:47:11 +0000
+++ openlp/core/api/http/server.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -32,18 +32,18 @@
32from openlp.core.api.deploy import download_and_check, download_sha25632from openlp.core.api.deploy import download_and_check, download_sha256
33from openlp.core.api.endpoint.controller import controller_endpoint, api_controller_endpoint33from openlp.core.api.endpoint.controller import controller_endpoint, api_controller_endpoint
34from openlp.core.api.endpoint.core import chords_endpoint, stage_endpoint, blank_endpoint, main_endpoint34from openlp.core.api.endpoint.core import chords_endpoint, stage_endpoint, blank_endpoint, main_endpoint
35from openlp.core.api.endpoint.remote import remote_endpoint
35from openlp.core.api.endpoint.service import service_endpoint, api_service_endpoint36from openlp.core.api.endpoint.service import service_endpoint, api_service_endpoint
36from openlp.core.api.endpoint.remote import remote_endpoint37from openlp.core.api.http import application
37from openlp.core.api.http import register_endpoint38from openlp.core.api.http import register_endpoint
38from openlp.core.api.http import application
39from openlp.core.api.poll import Poller39from openlp.core.api.poll import Poller
40from openlp.core.common.applocation import AppLocation40from openlp.core.common.applocation import AppLocation
41from openlp.core.common.i18n import UiStrings41from openlp.core.common.i18n import UiStrings
42from openlp.core.common.i18n import translate
42from openlp.core.common.mixins import LogMixin, RegistryProperties43from openlp.core.common.mixins import LogMixin, RegistryProperties
43from openlp.core.common.path import create_paths44from openlp.core.common.path import create_paths
44from openlp.core.common.registry import Registry, RegistryBase45from openlp.core.common.registry import Registry, RegistryBase
45from openlp.core.common.settings import Settings46from openlp.core.common.settings import Settings
46from openlp.core.common.i18n import translate
4747
48log = logging.getLogger(__name__)48log = logging.getLogger(__name__)
4949
5050
=== modified file 'openlp/core/api/http/wsgiapp.py'
--- openlp/core/api/http/wsgiapp.py 2017-11-18 11:23:15 +0000
+++ openlp/core/api/http/wsgiapp.py 2017-12-29 10:26:06 +0000
@@ -5,7 +5,7 @@
5###############################################################################5###############################################################################
6# OpenLP - Open Source Lyrics Projection #6# OpenLP - Open Source Lyrics Projection #
7# --------------------------------------------------------------------------- #7# --------------------------------------------------------------------------- #
8# Copyright (c) 2008-2017 OpenLP Developers #8# Copyright (c) 2008-2018 OpenLP Developers #
9# --------------------------------------------------------------------------- #9# --------------------------------------------------------------------------- #
10# This program is free software; you can redistribute it and/or modify it #10# This program is free software; you can redistribute it and/or modify it #
11# under the terms of the GNU General Public License as published by the Free #11# under the terms of the GNU General Public License as published by the Free #
@@ -30,9 +30,8 @@
30from webob import Request, Response30from webob import Request, Response
31from webob.static import DirectoryApp31from webob.static import DirectoryApp
3232
33from openlp.core.api.http.errors import HttpError, NotFound, ServerError
33from openlp.core.common.applocation import AppLocation34from openlp.core.common.applocation import AppLocation
34from openlp.core.api.http.errors import HttpError, NotFound, ServerError
35
3635
37ARGS_REGEX = re.compile(r'''\{(\w+)(?::([^}]+))?\}''', re.VERBOSE)36ARGS_REGEX = re.compile(r'''\{(\w+)(?::([^}]+))?\}''', re.VERBOSE)
3837
3938
=== modified file 'openlp/core/api/poll.py'
--- openlp/core/api/poll.py 2017-10-23 22:09:57 +0000
+++ openlp/core/api/poll.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/api/tab.py'
--- openlp/core/api/tab.py 2017-10-10 02:29:56 +0000
+++ openlp/core/api/tab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/api/websockets.py'
--- openlp/core/api/websockets.py 2017-12-02 09:11:22 +0000
+++ openlp/core/api/websockets.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,11 +24,11 @@
24with OpenLP. It uses JSON to communicate with the remotes.24with OpenLP. It uses JSON to communicate with the remotes.
25"""25"""
26import asyncio26import asyncio
27import websockets
28import json27import json
29import logging28import logging
30import time29import time
3130
31import websockets
32from PyQt5 import QtCore32from PyQt5 import QtCore
3333
34from openlp.core.common.mixins import LogMixin, RegistryProperties34from openlp.core.common.mixins import LogMixin, RegistryProperties
3535
=== modified file 'openlp/core/app.py'
--- openlp/core/app.py 2017-12-02 21:47:11 +0000
+++ openlp/core/app.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -42,7 +42,6 @@
42from openlp.core.common.path import create_paths, copytree42from openlp.core.common.path import create_paths, copytree
43from openlp.core.common.registry import Registry43from openlp.core.common.registry import Registry
44from openlp.core.common.settings import Settings44from openlp.core.common.settings import Settings
45from openlp.core.version import check_for_update, get_version
46from openlp.core.display.screens import ScreenList45from openlp.core.display.screens import ScreenList
47from openlp.core.resources import qInitResources46from openlp.core.resources import qInitResources
48from openlp.core.ui import SplashScreen47from openlp.core.ui import SplashScreen
@@ -51,7 +50,7 @@
51from openlp.core.ui.firsttimelanguageform import FirstTimeLanguageForm50from openlp.core.ui.firsttimelanguageform import FirstTimeLanguageForm
52from openlp.core.ui.mainwindow import MainWindow51from openlp.core.ui.mainwindow import MainWindow
53from openlp.core.ui.style import get_application_stylesheet52from openlp.core.ui.style import get_application_stylesheet
5453from openlp.core.version import check_for_update, get_version
5554
56__all__ = ['OpenLP', 'main']55__all__ = ['OpenLP', 'main']
5756
5857
=== modified file 'openlp/core/common/__init__.py'
--- openlp/core/common/__init__.py 2017-12-17 15:25:54 +0000
+++ openlp/core/common/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -30,13 +30,13 @@
30import re30import re
31import sys31import sys
32import traceback32import traceback
33from chardet.universaldetector import UniversalDetector
34from ipaddress import IPv4Address, IPv6Address, AddressValueError33from ipaddress import IPv4Address, IPv6Address, AddressValueError
35from shutil import which34from shutil import which
36from subprocess import check_output, CalledProcessError, STDOUT35from subprocess import check_output, CalledProcessError, STDOUT
3736
38from PyQt5 import QtGui37from PyQt5 import QtGui
39from PyQt5.QtCore import QCryptographicHash as QHash38from PyQt5.QtCore import QCryptographicHash as QHash
39from chardet.universaldetector import UniversalDetector
4040
41log = logging.getLogger(__name__ + '.__init__')41log = logging.getLogger(__name__ + '.__init__')
4242
4343
=== modified file 'openlp/core/common/actions.py'
--- openlp/core/common/actions.py 2017-11-09 19:11:37 +0000
+++ openlp/core/common/actions.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -29,7 +29,6 @@
2929
30from openlp.core.common.settings import Settings30from openlp.core.common.settings import Settings
3131
32
33log = logging.getLogger(__name__)32log = logging.getLogger(__name__)
3433
3534
3635
=== modified file 'openlp/core/common/applocation.py'
--- openlp/core/common/applocation.py 2017-11-11 12:20:45 +0000
+++ openlp/core/common/applocation.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/common/db.py'
--- openlp/core/common/db.py 2016-12-31 11:01:36 +0000
+++ openlp/core/common/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,7 +27,6 @@
2727
28import sqlalchemy28import sqlalchemy
2929
30
31log = logging.getLogger(__name__)30log = logging.getLogger(__name__)
3231
3332
3433
=== modified file 'openlp/core/common/httputils.py'
--- openlp/core/common/httputils.py 2017-11-03 20:55:41 +0000
+++ openlp/core/common/httputils.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/common/i18n.py'
--- openlp/core/common/i18n.py 2017-10-28 10:04:09 +0000
+++ openlp/core/common/i18n.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/common/json.py'
--- openlp/core/common/json.py 2017-09-07 20:27:11 +0000
+++ openlp/core/common/json.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/common/mixins.py'
--- openlp/core/common/mixins.py 2017-11-10 04:11:03 +0000
+++ openlp/core/common/mixins.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -22,8 +22,8 @@
22"""22"""
23Provide Error Handling and login Services23Provide Error Handling and login Services
24"""24"""
25import inspect
25import logging26import logging
26import inspect
2727
28from openlp.core.common import is_win, trace_error_handler28from openlp.core.common import is_win, trace_error_handler
29from openlp.core.common.registry import Registry29from openlp.core.common.registry import Registry
3030
=== modified file 'openlp/core/common/path.py'
--- openlp/core/common/path.py 2017-11-20 21:57:34 +0000
+++ openlp/core/common/path.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/common/registry.py'
--- openlp/core/common/registry.py 2017-11-09 21:24:38 +0000
+++ openlp/core/common/registry.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/common/settings.py'
--- openlp/core/common/settings.py 2017-12-02 21:47:11 +0000
+++ openlp/core/common/settings.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -23,8 +23,8 @@
23This class contains the core default settings.23This class contains the core default settings.
24"""24"""
25import datetime25import datetime
26import json
26import logging27import logging
27import json
28import os28import os
29from tempfile import gettempdir29from tempfile import gettempdir
3030
3131
=== modified file 'openlp/core/display/__init__.py'
--- openlp/core/display/__init__.py 2017-10-10 07:08:44 +0000
+++ openlp/core/display/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/display/renderer.py'
--- openlp/core/display/renderer.py 2017-11-18 11:23:15 +0000
+++ openlp/core/display/renderer.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,10 +21,11 @@
21###############################################################################21###############################################################################
2222
23import re23import re
24
25from string import Template24from string import Template
25
26from PyQt5 import QtGui, QtCore, QtWebKitWidgets26from PyQt5 import QtGui, QtCore, QtWebKitWidgets
2727
28from openlp.core.common import ThemeLevel
28from openlp.core.common.mixins import LogMixin, RegistryProperties29from openlp.core.common.mixins import LogMixin, RegistryProperties
29from openlp.core.common.path import path_to_str30from openlp.core.common.path import path_to_str
30from openlp.core.common.registry import Registry, RegistryBase31from openlp.core.common.registry import Registry, RegistryBase
@@ -32,7 +33,6 @@
32from openlp.core.display.screens import ScreenList33from openlp.core.display.screens import ScreenList
33from openlp.core.lib import FormattingTags, ImageSource, ItemCapabilities, ServiceItem, expand_tags, build_chords_css, \34from openlp.core.lib import FormattingTags, ImageSource, ItemCapabilities, ServiceItem, expand_tags, build_chords_css, \
34 build_lyrics_format_css, build_lyrics_outline_css35 build_lyrics_format_css, build_lyrics_outline_css
35from openlp.core.common import ThemeLevel
36from openlp.core.ui.maindisplay import MainDisplay36from openlp.core.ui.maindisplay import MainDisplay
3737
38VERSE = 'The Lord said to {r}Noah{/r}: \n' \38VERSE = 'The Lord said to {r}Noah{/r}: \n' \
3939
=== modified file 'openlp/core/display/screens.py'
--- openlp/core/display/screens.py 2017-10-10 07:08:44 +0000
+++ openlp/core/display/screens.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -23,14 +23,14 @@
23The :mod:`screen` module provides management functionality for a machines'23The :mod:`screen` module provides management functionality for a machines'
24displays.24displays.
25"""25"""
26import copy
26import logging27import logging
27import copy
2828
29from PyQt5 import QtCore29from PyQt5 import QtCore
3030
31from openlp.core.common.i18n import translate
31from openlp.core.common.registry import Registry32from openlp.core.common.registry import Registry
32from openlp.core.common.settings import Settings33from openlp.core.common.settings import Settings
33from openlp.core.common.i18n import translate
3434
35log = logging.getLogger(__name__)35log = logging.getLogger(__name__)
3636
3737
=== modified file 'openlp/core/lib/__init__.py'
--- openlp/core/lib/__init__.py 2017-12-20 08:15:53 +0000
+++ openlp/core/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,8 +25,8 @@
25"""25"""
26import html26import html
27import logging27import logging
28import math
28import re29import re
29import math
3030
31from PyQt5 import QtCore, QtGui, QtWidgets31from PyQt5 import QtCore, QtGui, QtWidgets
3232
3333
=== modified file 'openlp/core/lib/db.py'
--- openlp/core/lib/db.py 2017-10-23 22:09:57 +0000
+++ openlp/core/lib/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/lib/exceptions.py'
--- openlp/core/lib/exceptions.py 2017-05-30 18:42:35 +0000
+++ openlp/core/lib/exceptions.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/lib/formattingtags.py'
--- openlp/core/lib/formattingtags.py 2017-10-07 07:05:07 +0000
+++ openlp/core/lib/formattingtags.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,8 +24,8 @@
24"""24"""
25import json25import json
2626
27from openlp.core.common.i18n import translate
27from openlp.core.common.settings import Settings28from openlp.core.common.settings import Settings
28from openlp.core.common.i18n import translate
2929
3030
31class FormattingTags(object):31class FormattingTags(object):
3232
=== modified file 'openlp/core/lib/htmlbuilder.py'
--- openlp/core/lib/htmlbuilder.py 2017-10-07 07:05:07 +0000
+++ openlp/core/lib/htmlbuilder.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -407,8 +407,8 @@
407 </html>407 </html>
408"""408"""
409import logging409import logging
410
411from string import Template410from string import Template
411
412from PyQt5 import QtWebKit412from PyQt5 import QtWebKit
413413
414from openlp.core.common.settings import Settings414from openlp.core.common.settings import Settings
415415
=== modified file 'openlp/core/lib/imagemanager.py'
--- openlp/core/lib/imagemanager.py 2017-10-10 07:08:44 +0000
+++ openlp/core/lib/imagemanager.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -26,8 +26,8 @@
26"""26"""
27import logging27import logging
28import os28import os
29import queue
29import time30import time
30import queue
3131
32from PyQt5 import QtCore32from PyQt5 import QtCore
3333
3434
=== modified file 'openlp/core/lib/json/__init__.py'
--- openlp/core/lib/json/__init__.py 2017-10-23 22:09:57 +0000
+++ openlp/core/lib/json/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/lib/mediamanageritem.py'
--- openlp/core/lib/mediamanageritem.py 2017-12-22 21:21:39 +0000
+++ openlp/core/lib/mediamanageritem.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -28,8 +28,8 @@
28from PyQt5 import QtCore, QtWidgets28from PyQt5 import QtCore, QtWidgets
2929
30from openlp.core.common.i18n import UiStrings, translate30from openlp.core.common.i18n import UiStrings, translate
31from openlp.core.common.mixins import RegistryProperties
31from openlp.core.common.path import path_to_str, str_to_path32from openlp.core.common.path import path_to_str, str_to_path
32from openlp.core.common.mixins import RegistryProperties
33from openlp.core.common.registry import Registry33from openlp.core.common.registry import Registry
34from openlp.core.common.settings import Settings34from openlp.core.common.settings import Settings
35from openlp.core.lib import ServiceItem, StringContent, ServiceItemContext35from openlp.core.lib import ServiceItem, StringContent, ServiceItemContext
3636
=== modified file 'openlp/core/lib/plugin.py'
--- openlp/core/lib/plugin.py 2017-11-18 11:23:15 +0000
+++ openlp/core/lib/plugin.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/lib/pluginmanager.py'
--- openlp/core/lib/pluginmanager.py 2017-12-17 15:25:54 +0000
+++ openlp/core/lib/pluginmanager.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/lib/serviceitem.py'
--- openlp/core/lib/serviceitem.py 2017-10-23 22:09:57 +0000
+++ openlp/core/lib/serviceitem.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -26,9 +26,9 @@
26import datetime26import datetime
27import html27import html
28import logging28import logging
29import ntpath
29import os30import os
30import uuid31import uuid
31import ntpath
3232
33from PyQt5 import QtGui33from PyQt5 import QtGui
3434
3535
=== modified file 'openlp/core/lib/settingstab.py'
--- openlp/core/lib/settingstab.py 2017-10-23 22:09:57 +0000
+++ openlp/core/lib/settingstab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/lib/theme.py'
--- openlp/core/lib/theme.py 2017-10-10 07:08:44 +0000
+++ openlp/core/lib/theme.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/lib/ui.py'
--- openlp/core/lib/ui.py 2017-10-07 07:05:07 +0000
+++ openlp/core/lib/ui.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -32,7 +32,6 @@
32from openlp.core.common.registry import Registry32from openlp.core.common.registry import Registry
33from openlp.core.lib import build_icon33from openlp.core.lib import build_icon
3434
35
36log = logging.getLogger(__name__)35log = logging.getLogger(__name__)
3736
3837
3938
=== modified file 'openlp/core/projectors/__init__.py'
--- openlp/core/projectors/__init__.py 2017-12-04 00:24:47 +0000
+++ openlp/core/projectors/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/projectors/constants.py'
--- openlp/core/projectors/constants.py 2017-12-09 11:17:05 +0000
+++ openlp/core/projectors/constants.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/projectors/db.py'
--- openlp/core/projectors/db.py 2017-12-04 00:24:47 +0000
+++ openlp/core/projectors/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/projectors/editform.py'
--- openlp/core/projectors/editform.py 2017-11-10 11:59:38 +0000
+++ openlp/core/projectors/editform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -30,8 +30,8 @@
30from openlp.core.common import verify_ip_address30from openlp.core.common import verify_ip_address
31from openlp.core.common.i18n import translate31from openlp.core.common.i18n import translate
32from openlp.core.lib import build_icon32from openlp.core.lib import build_icon
33from openlp.core.projectors.constants import PJLINK_PORT
33from openlp.core.projectors.db import Projector34from openlp.core.projectors.db import Projector
34from openlp.core.projectors.constants import PJLINK_PORT
3535
36log = logging.getLogger(__name__)36log = logging.getLogger(__name__)
37log.debug('editform loaded')37log.debug('editform loaded')
3838
=== modified file 'openlp/core/projectors/manager.py'
--- openlp/core/projectors/manager.py 2017-11-24 19:08:23 +0000
+++ openlp/core/projectors/manager.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -39,8 +39,8 @@
39 E_NETWORK, E_NOT_CONNECTED, E_UNKNOWN_SOCKET_ERROR, STATUS_STRING, S_CONNECTED, S_CONNECTING, S_COOLDOWN, \39 E_NETWORK, E_NOT_CONNECTED, E_UNKNOWN_SOCKET_ERROR, STATUS_STRING, S_CONNECTED, S_CONNECTING, S_COOLDOWN, \
40 S_INITIALIZE, S_NOT_CONNECTED, S_OFF, S_ON, S_STANDBY, S_WARMUP40 S_INITIALIZE, S_NOT_CONNECTED, S_OFF, S_ON, S_STANDBY, S_WARMUP
41from openlp.core.projectors.db import ProjectorDB41from openlp.core.projectors.db import ProjectorDB
42from openlp.core.projectors.editform import ProjectorEditForm
42from openlp.core.projectors.pjlink import PJLink, PJLinkUDP43from openlp.core.projectors.pjlink import PJLink, PJLinkUDP
43from openlp.core.projectors.editform import ProjectorEditForm
44from openlp.core.projectors.sourceselectform import SourceSelectTabs, SourceSelectSingle44from openlp.core.projectors.sourceselectform import SourceSelectTabs, SourceSelectSingle
45from openlp.core.widgets.toolbar import OpenLPToolbar45from openlp.core.widgets.toolbar import OpenLPToolbar
4646
4747
=== modified file 'openlp/core/projectors/pjlink.py'
--- openlp/core/projectors/pjlink.py 2017-12-09 11:17:05 +0000
+++ openlp/core/projectors/pjlink.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/projectors/sourceselectform.py'
--- openlp/core/projectors/sourceselectform.py 2017-11-10 11:59:38 +0000
+++ openlp/core/projectors/sourceselectform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -31,8 +31,8 @@
31from openlp.core.common import is_macosx31from openlp.core.common import is_macosx
32from openlp.core.common.i18n import translate32from openlp.core.common.i18n import translate
33from openlp.core.lib import build_icon33from openlp.core.lib import build_icon
34from openlp.core.projectors.constants import PJLINK_DEFAULT_SOURCES, PJLINK_DEFAULT_CODES
34from openlp.core.projectors.db import ProjectorSource35from openlp.core.projectors.db import ProjectorSource
35from openlp.core.projectors.constants import PJLINK_DEFAULT_SOURCES, PJLINK_DEFAULT_CODES
3636
37log = logging.getLogger(__name__)37log = logging.getLogger(__name__)
3838
3939
=== modified file 'openlp/core/projectors/tab.py'
--- openlp/core/projectors/tab.py 2017-11-10 11:59:38 +0000
+++ openlp/core/projectors/tab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/projectors/upgrade.py'
--- openlp/core/projectors/upgrade.py 2017-11-10 11:59:38 +0000
+++ openlp/core/projectors/upgrade.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/resources.py'
--- openlp/core/resources.py 2017-10-01 07:45:53 +0000
+++ openlp/core/resources.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/threading.py'
--- openlp/core/threading.py 2017-09-09 05:57:06 +0000
+++ openlp/core/threading.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/__init__.py'
--- openlp/core/ui/__init__.py 2017-11-16 23:53:53 +0000
+++ openlp/core/ui/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/aboutdialog.py'
--- openlp/core/ui/aboutdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/aboutdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/aboutform.py'
--- openlp/core/ui/aboutform.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/aboutform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -26,8 +26,8 @@
2626
27from PyQt5 import QtCore, QtWidgets27from PyQt5 import QtCore, QtWidgets
2828
29from openlp.core.common.i18n import translate
29from openlp.core.version import get_version30from openlp.core.version import get_version
30from openlp.core.common.i18n import translate
31from .aboutdialog import UiAboutDialog31from .aboutdialog import UiAboutDialog
3232
3333
3434
=== modified file 'openlp/core/ui/advancedtab.py'
--- openlp/core/ui/advancedtab.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/advancedtab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/exceptiondialog.py'
--- openlp/core/ui/exceptiondialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/exceptiondialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/exceptionform.py'
--- openlp/core/ui/exceptionform.py 2017-11-03 20:55:41 +0000
+++ openlp/core/ui/exceptionform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/filerenamedialog.py'
--- openlp/core/ui/filerenamedialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/filerenamedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/filerenameform.py'
--- openlp/core/ui/filerenameform.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/filerenameform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/firsttimeform.py'
--- openlp/core/ui/firsttimeform.py 2017-12-17 04:29:53 +0000
+++ openlp/core/ui/firsttimeform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -26,9 +26,9 @@
26import os26import os
27import socket27import socket
28import time28import time
29import urllib.error
30import urllib.parse
29import urllib.request31import urllib.request
30import urllib.parse
31import urllib.error
32from configparser import ConfigParser, MissingSectionHeaderError, NoOptionError, NoSectionError32from configparser import ConfigParser, MissingSectionHeaderError, NoOptionError, NoSectionError
33from tempfile import gettempdir33from tempfile import gettempdir
3434
@@ -36,14 +36,14 @@
3636
37from openlp.core.common import clean_button_text, trace_error_handler37from openlp.core.common import clean_button_text, trace_error_handler
38from openlp.core.common.applocation import AppLocation38from openlp.core.common.applocation import AppLocation
39from openlp.core.common.httputils import get_web_page, get_url_file_size, url_get_file, CONNECTION_TIMEOUT
39from openlp.core.common.i18n import translate40from openlp.core.common.i18n import translate
41from openlp.core.common.mixins import RegistryProperties
40from openlp.core.common.path import Path, create_paths42from openlp.core.common.path import Path, create_paths
41from openlp.core.common.mixins import RegistryProperties
42from openlp.core.common.registry import Registry43from openlp.core.common.registry import Registry
43from openlp.core.common.settings import Settings44from openlp.core.common.settings import Settings
44from openlp.core.lib import PluginStatus, build_icon45from openlp.core.lib import PluginStatus, build_icon
45from openlp.core.lib.ui import critical_error_message_box46from openlp.core.lib.ui import critical_error_message_box
46from openlp.core.common.httputils import get_web_page, get_url_file_size, url_get_file, CONNECTION_TIMEOUT
47from .firsttimewizard import UiFirstTimeWizard, FirstTimePage47from .firsttimewizard import UiFirstTimeWizard, FirstTimePage
4848
49log = logging.getLogger(__name__)49log = logging.getLogger(__name__)
5050
=== modified file 'openlp/core/ui/firsttimelanguagedialog.py'
--- openlp/core/ui/firsttimelanguagedialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/firsttimelanguagedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/firsttimelanguageform.py'
--- openlp/core/ui/firsttimelanguageform.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/firsttimelanguageform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/firsttimewizard.py'
--- openlp/core/ui/firsttimewizard.py 2017-11-16 23:53:53 +0000
+++ openlp/core/ui/firsttimewizard.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/formattingtagcontroller.py'
--- openlp/core/ui/formattingtagcontroller.py 2017-10-28 10:04:09 +0000
+++ openlp/core/ui/formattingtagcontroller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/formattingtagdialog.py'
--- openlp/core/ui/formattingtagdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/formattingtagdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/formattingtagform.py'
--- openlp/core/ui/formattingtagform.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/formattingtagform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -28,8 +28,8 @@
2828
29from openlp.core.common.i18n import translate29from openlp.core.common.i18n import translate
30from openlp.core.lib import FormattingTags30from openlp.core.lib import FormattingTags
31from openlp.core.ui.formattingtagcontroller import FormattingTagController
31from openlp.core.ui.formattingtagdialog import Ui_FormattingTagDialog32from openlp.core.ui.formattingtagdialog import Ui_FormattingTagDialog
32from openlp.core.ui.formattingtagcontroller import FormattingTagController
3333
3434
35class EditColumn(object):35class EditColumn(object):
3636
=== modified file 'openlp/core/ui/generaltab.py'
--- openlp/core/ui/generaltab.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/generaltab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/maindisplay.py'
--- openlp/core/ui/maindisplay.py 2017-11-18 22:37:24 +0000
+++ openlp/core/ui/maindisplay.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/mainwindow.py'
--- openlp/core/ui/mainwindow.py 2017-12-02 09:11:22 +0000
+++ openlp/core/ui/mainwindow.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -23,8 +23,6 @@
23This is the main window, where all the action happens.23This is the main window, where all the action happens.
24"""24"""
25import logging25import logging
26import os
27import shutil
28import sys26import sys
29import time27import time
30from datetime import datetime28from datetime import datetime
@@ -40,25 +38,24 @@
40from openlp.core.common.actions import ActionList, CategoryOrder38from openlp.core.common.actions import ActionList, CategoryOrder
41from openlp.core.common.applocation import AppLocation39from openlp.core.common.applocation import AppLocation
42from openlp.core.common.i18n import LanguageManager, UiStrings, translate40from openlp.core.common.i18n import LanguageManager, UiStrings, translate
41from openlp.core.common.mixins import RegistryProperties
43from openlp.core.common.path import Path, copyfile, create_paths42from openlp.core.common.path import Path, copyfile, create_paths
44from openlp.core.common.mixins import RegistryProperties
45from openlp.core.common.registry import Registry43from openlp.core.common.registry import Registry
46from openlp.core.common.settings import Settings44from openlp.core.common.settings import Settings
45from openlp.core.display.renderer import Renderer
47from openlp.core.display.screens import ScreenList46from openlp.core.display.screens import ScreenList
48from openlp.core.display.renderer import Renderer
49from openlp.core.lib import PluginManager, ImageManager, PluginStatus, build_icon47from openlp.core.lib import PluginManager, ImageManager, PluginStatus, build_icon
50from openlp.core.lib.ui import create_action48from openlp.core.lib.ui import create_action
51from openlp.core.projectors.manager import ProjectorManager49from openlp.core.projectors.manager import ProjectorManager
52from openlp.core.ui import AboutForm, SettingsForm, ServiceManager, ThemeManager, LiveController, PluginForm, \50from openlp.core.ui import AboutForm, SettingsForm, ServiceManager, ThemeManager, LiveController, PluginForm, \
53 ShortcutListForm, FormattingTagForm, PreviewController51 ShortcutListForm, FormattingTagForm, PreviewController
54from openlp.core.ui.firsttimeform import FirstTimeForm52from openlp.core.ui.firsttimeform import FirstTimeForm
55from openlp.core.widgets.dialogs import FileDialog
56from openlp.core.widgets.docks import OpenLPDockWidget, MediaDockManager
57from openlp.core.ui.media import MediaController53from openlp.core.ui.media import MediaController
58from openlp.core.ui.printserviceform import PrintServiceForm54from openlp.core.ui.printserviceform import PrintServiceForm
59from openlp.core.ui.style import PROGRESSBAR_STYLE, get_library_stylesheet55from openlp.core.ui.style import PROGRESSBAR_STYLE, get_library_stylesheet
60from openlp.core.version import get_version56from openlp.core.version import get_version
6157from openlp.core.widgets.dialogs import FileDialog
58from openlp.core.widgets.docks import OpenLPDockWidget, MediaDockManager
6259
63log = logging.getLogger(__name__)60log = logging.getLogger(__name__)
6461
6562
=== modified file 'openlp/core/ui/media/__init__.py'
--- openlp/core/ui/media/__init__.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/media/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/media/endpoint.py'
--- openlp/core/ui/media/endpoint.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/media/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,8 +24,8 @@
24"""24"""
25import logging25import logging
2626
27from openlp.core.api.http import requires_auth
27from openlp.core.api.http.endpoint import Endpoint28from openlp.core.api.http.endpoint import Endpoint
28from openlp.core.api.http import requires_auth
29from openlp.core.common.registry import Registry29from openlp.core.common.registry import Registry
3030
31log = logging.getLogger(__name__)31log = logging.getLogger(__name__)
3232
=== modified file 'openlp/core/ui/media/mediacontroller.py'
--- openlp/core/ui/media/mediacontroller.py 2017-12-17 15:25:54 +0000
+++ openlp/core/ui/media/mediacontroller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -23,9 +23,10 @@
23The :mod:`~openlp.core.ui.media.mediacontroller` module contains a base class for media components and other widgets23The :mod:`~openlp.core.ui.media.mediacontroller` module contains a base class for media components and other widgets
24related to playing media, such as sliders.24related to playing media, such as sliders.
25"""25"""
26import datetime
26import logging27import logging
27import os28import os
28import datetime29
29from PyQt5 import QtCore, QtWidgets30from PyQt5 import QtCore, QtWidgets
3031
31from openlp.core.api.http import register_endpoint32from openlp.core.api.http import register_endpoint
@@ -37,14 +38,13 @@
37from openlp.core.lib import ItemCapabilities38from openlp.core.lib import ItemCapabilities
38from openlp.core.lib.ui import critical_error_message_box39from openlp.core.lib.ui import critical_error_message_box
39from openlp.core.ui import DisplayControllerType40from openlp.core.ui import DisplayControllerType
41from openlp.core.ui.media import MediaState, MediaInfo, MediaType, get_media_players, set_media_players, \
42 parse_optical_path
40from openlp.core.ui.media.endpoint import media_endpoint43from openlp.core.ui.media.endpoint import media_endpoint
44from openlp.core.ui.media.mediaplayer import MediaPlayer
41from openlp.core.ui.media.vendor.mediainfoWrapper import MediaInfoWrapper45from openlp.core.ui.media.vendor.mediainfoWrapper import MediaInfoWrapper
42from openlp.core.ui.media.mediaplayer import MediaPlayer
43from openlp.core.ui.media import MediaState, MediaInfo, MediaType, get_media_players, set_media_players,\
44 parse_optical_path
45from openlp.core.widgets.toolbar import OpenLPToolbar46from openlp.core.widgets.toolbar import OpenLPToolbar
4647
47
48log = logging.getLogger(__name__)48log = logging.getLogger(__name__)
4949
50TICK_TIME = 20050TICK_TIME = 200
5151
=== modified file 'openlp/core/ui/media/mediaplayer.py'
--- openlp/core/ui/media/mediaplayer.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/media/mediaplayer.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/media/playertab.py'
--- openlp/core/ui/media/playertab.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/media/playertab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/media/systemplayer.py'
--- openlp/core/ui/media/systemplayer.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/media/systemplayer.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -32,7 +32,6 @@
32from openlp.core.ui.media import MediaState32from openlp.core.ui.media import MediaState
33from openlp.core.ui.media.mediaplayer import MediaPlayer33from openlp.core.ui.media.mediaplayer import MediaPlayer
3434
35
36log = logging.getLogger(__name__)35log = logging.getLogger(__name__)
3736
38ADDITIONAL_EXT = {37ADDITIONAL_EXT = {
3938
=== modified file 'openlp/core/ui/media/vendor/__init__.py'
--- openlp/core/ui/media/vendor/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/core/ui/media/vendor/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/media/vendor/mediainfoWrapper.py'
--- openlp/core/ui/media/vendor/mediainfoWrapper.py 2017-11-16 17:43:17 +0000
+++ openlp/core/ui/media/vendor/mediainfoWrapper.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/media/vendor/vlc.py'
--- openlp/core/ui/media/vendor/vlc.py 2016-01-25 18:14:03 +0000
+++ openlp/core/ui/media/vendor/vlc.py 2017-12-29 10:26:06 +0000
@@ -40,11 +40,10 @@
40"""40"""
4141
42import ctypes42import ctypes
43from ctypes.util import find_library43import functools
44import os44import os
45import sys45import sys
46import functools46from ctypes.util import find_library
47
48# Used by EventManager in override.py47# Used by EventManager in override.py
49from inspect import getargspec48from inspect import getargspec
5049
5150
=== modified file 'openlp/core/ui/media/vlcplayer.py'
--- openlp/core/ui/media/vlcplayer.py 2017-12-04 20:49:59 +0000
+++ openlp/core/ui/media/vlcplayer.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -22,13 +22,14 @@
22"""22"""
23The :mod:`~openlp.core.ui.media.vlcplayer` module contains our VLC component wrapper23The :mod:`~openlp.core.ui.media.vlcplayer` module contains our VLC component wrapper
24"""24"""
25from datetime import datetime25import ctypes
26from distutils.version import LooseVersion
27import logging26import logging
28import os27import os
28import sys
29import threading29import threading
30import sys30from datetime import datetime
31import ctypes31from distutils.version import LooseVersion
32
32from PyQt5 import QtWidgets33from PyQt5 import QtWidgets
3334
34from openlp.core.common import is_win, is_macosx, is_linux35from openlp.core.common import is_win, is_macosx, is_linux
3536
=== modified file 'openlp/core/ui/media/webkitplayer.py'
--- openlp/core/ui/media/webkitplayer.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/media/webkitplayer.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -26,8 +26,8 @@
2626
27from PyQt5 import QtGui, QtWebKitWidgets27from PyQt5 import QtGui, QtWebKitWidgets
2828
29from openlp.core.common.i18n import translate
29from openlp.core.common.settings import Settings30from openlp.core.common.settings import Settings
30from openlp.core.common.i18n import translate
31from openlp.core.ui.media import MediaState31from openlp.core.ui.media import MediaState
32from openlp.core.ui.media.mediaplayer import MediaPlayer32from openlp.core.ui.media.mediaplayer import MediaPlayer
3333
3434
=== modified file 'openlp/core/ui/plugindialog.py'
--- openlp/core/ui/plugindialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/plugindialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/pluginform.py'
--- openlp/core/ui/pluginform.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/pluginform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/printservicedialog.py'
--- openlp/core/ui/printservicedialog.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/printservicedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/printserviceform.py'
--- openlp/core/ui/printserviceform.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/printserviceform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,8 +24,8 @@
24"""24"""
25import datetime25import datetime
26import html26import html
27
27import lxml.html28import lxml.html
28
29from PyQt5 import QtCore, QtGui, QtWidgets, QtPrintSupport29from PyQt5 import QtCore, QtGui, QtWidgets, QtPrintSupport
3030
31from openlp.core.common.applocation import AppLocation31from openlp.core.common.applocation import AppLocation
3232
=== modified file 'openlp/core/ui/serviceitemeditdialog.py'
--- openlp/core/ui/serviceitemeditdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/serviceitemeditdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/serviceitemeditform.py'
--- openlp/core/ui/serviceitemeditform.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/serviceitemeditform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/servicemanager.py'
--- openlp/core/ui/servicemanager.py 2017-12-22 21:21:39 +0000
+++ openlp/core/ui/servicemanager.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/servicenoteform.py'
--- openlp/core/ui/servicenoteform.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/servicenoteform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/settingsdialog.py'
--- openlp/core/ui/settingsdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/settingsdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/settingsform.py'
--- openlp/core/ui/settingsform.py 2017-11-16 23:53:53 +0000
+++ openlp/core/ui/settingsform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/shortcutlistdialog.py'
--- openlp/core/ui/shortcutlistdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/shortcutlistdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/shortcutlistform.py'
--- openlp/core/ui/shortcutlistform.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/shortcutlistform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/slidecontroller.py'
--- openlp/core/ui/slidecontroller.py 2017-11-09 19:55:01 +0000
+++ openlp/core/ui/slidecontroller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -42,7 +42,6 @@
42from openlp.core.widgets.toolbar import OpenLPToolbar42from openlp.core.widgets.toolbar import OpenLPToolbar
43from openlp.core.widgets.views import ListPreviewWidget43from openlp.core.widgets.views import ListPreviewWidget
4444
45
46# Threshold which has to be trespassed to toggle.45# Threshold which has to be trespassed to toggle.
47HIDE_MENU_THRESHOLD = 2746HIDE_MENU_THRESHOLD = 27
48AUDIO_TIME_LABEL_STYLESHEET = 'background-color: palette(background); ' \47AUDIO_TIME_LABEL_STYLESHEET = 'background-color: palette(background); ' \
4948
=== modified file 'openlp/core/ui/splashscreen.py'
--- openlp/core/ui/splashscreen.py 2016-12-31 11:01:36 +0000
+++ openlp/core/ui/splashscreen.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/starttimedialog.py'
--- openlp/core/ui/starttimedialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/starttimedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/starttimeform.py'
--- openlp/core/ui/starttimeform.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/starttimeform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/style.py'
--- openlp/core/ui/style.py 2017-09-29 03:06:00 +0000
+++ openlp/core/ui/style.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,7 +24,7 @@
24"""24"""
25from PyQt5 import QtGui25from PyQt5 import QtGui
2626
27from openlp.core.common import is_macosx, is_win27from openlp.core.common import is_win
28from openlp.core.common.registry import Registry28from openlp.core.common.registry import Registry
29from openlp.core.common.settings import Settings29from openlp.core.common.settings import Settings
3030
3131
=== modified file 'openlp/core/ui/themeform.py'
--- openlp/core/ui/themeform.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/themeform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/themelayoutdialog.py'
--- openlp/core/ui/themelayoutdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/themelayoutdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/themelayoutform.py'
--- openlp/core/ui/themelayoutform.py 2016-12-31 11:01:36 +0000
+++ openlp/core/ui/themelayoutform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/thememanager.py'
--- openlp/core/ui/thememanager.py 2017-11-20 21:57:34 +0000
+++ openlp/core/ui/thememanager.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/themestab.py'
--- openlp/core/ui/themestab.py 2017-10-07 07:05:07 +0000
+++ openlp/core/ui/themestab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/ui/themewizard.py'
--- openlp/core/ui/themewizard.py 2017-10-23 22:09:57 +0000
+++ openlp/core/ui/themewizard.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/version.py'
--- openlp/core/version.py 2017-11-18 11:23:15 +0000
+++ openlp/core/version.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/widgets/__init__.py'
--- openlp/core/widgets/__init__.py 2017-10-23 22:09:57 +0000
+++ openlp/core/widgets/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/widgets/buttons.py'
--- openlp/core/widgets/buttons.py 2017-10-23 22:09:57 +0000
+++ openlp/core/widgets/buttons.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/widgets/dialogs.py'
--- openlp/core/widgets/dialogs.py 2017-10-23 22:09:57 +0000
+++ openlp/core/widgets/dialogs.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -22,7 +22,7 @@
22""" Patch the QFileDialog so it accepts and returns Path objects"""22""" Patch the QFileDialog so it accepts and returns Path objects"""
23from PyQt5 import QtWidgets23from PyQt5 import QtWidgets
2424
25from openlp.core.common.path import Path, path_to_str, replace_params, str_to_path25from openlp.core.common.path import path_to_str, replace_params, str_to_path
2626
2727
28class FileDialog(QtWidgets.QFileDialog):28class FileDialog(QtWidgets.QFileDialog):
2929
=== modified file 'openlp/core/widgets/docks.py'
--- openlp/core/widgets/docks.py 2017-10-23 22:09:57 +0000
+++ openlp/core/widgets/docks.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/widgets/edits.py'
--- openlp/core/widgets/edits.py 2017-11-11 12:20:45 +0000
+++ openlp/core/widgets/edits.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/widgets/enums.py'
--- openlp/core/widgets/enums.py 2017-10-23 22:09:57 +0000
+++ openlp/core/widgets/enums.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/widgets/toolbar.py'
--- openlp/core/widgets/toolbar.py 2017-10-23 22:09:57 +0000
+++ openlp/core/widgets/toolbar.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/widgets/views.py'
--- openlp/core/widgets/views.py 2017-12-17 04:29:53 +0000
+++ openlp/core/widgets/views.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/core/widgets/wizard.py'
--- openlp/core/widgets/wizard.py 2017-10-23 22:09:57 +0000
+++ openlp/core/widgets/wizard.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/__init__.py'
--- openlp/plugins/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/alerts/__init__.py'
--- openlp/plugins/alerts/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/alerts/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/alerts/alertsplugin.py'
--- openlp/plugins/alerts/alertsplugin.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/alerts/alertsplugin.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/alerts/endpoint.py'
--- openlp/plugins/alerts/endpoint.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/alerts/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -19,17 +19,16 @@
19# with this program; if not, write to the Free Software Foundation, Inc., 59 #19# with this program; if not, write to the Free Software Foundation, Inc., 59 #
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
22import json
22import logging23import logging
23import json
24import urllib24import urllib
25from urllib.parse import urlparse25from urllib.parse import urlparse
2626
27from openlp.core.api.http import requires_auth
27from openlp.core.api.http.endpoint import Endpoint28from openlp.core.api.http.endpoint import Endpoint
28from openlp.core.api.http import requires_auth
29from openlp.core.common.registry import Registry29from openlp.core.common.registry import Registry
30from openlp.core.lib import PluginStatus30from openlp.core.lib import PluginStatus
3131
32
33log = logging.getLogger(__name__)32log = logging.getLogger(__name__)
3433
35alerts_endpoint = Endpoint('alert')34alerts_endpoint = Endpoint('alert')
3635
=== modified file 'openlp/plugins/alerts/forms/__init__.py'
--- openlp/plugins/alerts/forms/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/alerts/forms/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/alerts/forms/alertdialog.py'
--- openlp/plugins/alerts/forms/alertdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/alerts/forms/alertdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/alerts/forms/alertform.py'
--- openlp/plugins/alerts/forms/alertform.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/alerts/forms/alertform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,7 +25,6 @@
25from openlp.core.common.i18n import translate25from openlp.core.common.i18n import translate
26from openlp.core.common.registry import Registry26from openlp.core.common.registry import Registry
27from openlp.plugins.alerts.lib.db import AlertItem27from openlp.plugins.alerts.lib.db import AlertItem
28
29from .alertdialog import Ui_AlertDialog28from .alertdialog import Ui_AlertDialog
3029
3130
3231
=== modified file 'openlp/plugins/alerts/lib/__init__.py'
--- openlp/plugins/alerts/lib/__init__.py 2017-03-03 19:27:31 +0000
+++ openlp/plugins/alerts/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/alerts/lib/alertsmanager.py'
--- openlp/plugins/alerts/lib/alertsmanager.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/alerts/lib/alertsmanager.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/alerts/lib/alertstab.py'
--- openlp/plugins/alerts/lib/alertstab.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/alerts/lib/alertstab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/alerts/lib/db.py'
--- openlp/plugins/alerts/lib/db.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/alerts/lib/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/__init__.py'
--- openlp/plugins/bibles/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/bibles/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/bibleplugin.py'
--- openlp/plugins/bibles/bibleplugin.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/bibles/bibleplugin.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -23,11 +23,11 @@
23import logging23import logging
2424
25from openlp.core.api.http import register_endpoint25from openlp.core.api.http import register_endpoint
26from openlp.core.common.actions import ActionList
26from openlp.core.common.i18n import UiStrings, translate27from openlp.core.common.i18n import UiStrings, translate
27from openlp.core.common.actions import ActionList
28from openlp.core.lib import Plugin, StringContent, build_icon28from openlp.core.lib import Plugin, StringContent, build_icon
29from openlp.core.lib.ui import create_action
29from openlp.plugins.bibles.endpoint import api_bibles_endpoint, bibles_endpoint30from openlp.plugins.bibles.endpoint import api_bibles_endpoint, bibles_endpoint
30from openlp.core.lib.ui import create_action
31from openlp.plugins.bibles.lib import BibleManager, BiblesTab, BibleMediaItem, LayoutStyle, DisplayStyle, \31from openlp.plugins.bibles.lib import BibleManager, BiblesTab, BibleMediaItem, LayoutStyle, DisplayStyle, \
32 LanguageSelection32 LanguageSelection
33from openlp.plugins.bibles.lib.mediaitem import BibleSearch33from openlp.plugins.bibles.lib.mediaitem import BibleSearch
3434
=== modified file 'openlp/plugins/bibles/endpoint.py'
--- openlp/plugins/bibles/endpoint.py 2017-09-26 17:21:54 +0000
+++ openlp/plugins/bibles/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,11 +21,10 @@
21###############################################################################21###############################################################################
22import logging22import logging
2323
24from openlp.core.api.endpoint.pluginhelpers import search, live, service
25from openlp.core.api.http import requires_auth
24from openlp.core.api.http.endpoint import Endpoint26from openlp.core.api.http.endpoint import Endpoint
25from openlp.core.api.http.errors import NotFound27from openlp.core.api.http.errors import NotFound
26from openlp.core.api.endpoint.pluginhelpers import search, live, service
27from openlp.core.api.http import requires_auth
28
2928
30log = logging.getLogger(__name__)29log = logging.getLogger(__name__)
3130
3231
=== modified file 'openlp/plugins/bibles/forms/__init__.py'
--- openlp/plugins/bibles/forms/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/bibles/forms/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,9 +24,9 @@
24The :mod:`forms` module contains all the ui functionality for the bibles24The :mod:`forms` module contains all the ui functionality for the bibles
25plugin.25plugin.
26"""26"""
27from .bibleimportform import BibleImportForm
27from .booknameform import BookNameForm28from .booknameform import BookNameForm
29from .editbibleform import EditBibleForm
28from .languageform import LanguageForm30from .languageform import LanguageForm
29from .bibleimportform import BibleImportForm
30from .editbibleform import EditBibleForm
3131
32__all__ = ['BookNameForm', 'LanguageForm', 'BibleImportForm', 'EditBibleForm']32__all__ = ['BookNameForm', 'LanguageForm', 'BibleImportForm', 'EditBibleForm']
3333
=== modified file 'openlp/plugins/bibles/forms/bibleimportform.py'
--- openlp/plugins/bibles/forms/bibleimportform.py 2017-12-17 15:23:38 +0000
+++ openlp/plugins/bibles/forms/bibleimportform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,9 +24,10 @@
24"""24"""
25import logging25import logging
26import urllib.error26import urllib.error
27
28from PyQt5 import QtWidgets
27from lxml import etree29from lxml import etree
2830
29from PyQt5 import QtWidgets
30try:31try:
31 from pysword import modules32 from pysword import modules
32 PYSWORD_AVAILABLE = True33 PYSWORD_AVAILABLE = True
3334
=== modified file 'openlp/plugins/bibles/forms/booknamedialog.py'
--- openlp/plugins/bibles/forms/booknamedialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/bibles/forms/booknamedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/forms/booknameform.py'
--- openlp/plugins/bibles/forms/booknameform.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/bibles/forms/booknameform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -26,8 +26,8 @@
26import logging26import logging
27import re27import re
2828
29from PyQt5 import QtCore
29from PyQt5.QtWidgets import QDialog30from PyQt5.QtWidgets import QDialog
30from PyQt5 import QtCore
3131
32from openlp.core.common.i18n import translate32from openlp.core.common.i18n import translate
33from openlp.core.lib.ui import critical_error_message_box33from openlp.core.lib.ui import critical_error_message_box
3434
=== modified file 'openlp/plugins/bibles/forms/editbibledialog.py'
--- openlp/plugins/bibles/forms/editbibledialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/bibles/forms/editbibledialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/forms/editbibleform.py'
--- openlp/plugins/bibles/forms/editbibleform.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/bibles/forms/editbibleform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -28,9 +28,9 @@
28from openlp.core.common.i18n import UiStrings, translate28from openlp.core.common.i18n import UiStrings, translate
29from openlp.core.common.mixins import RegistryProperties29from openlp.core.common.mixins import RegistryProperties
30from openlp.core.lib.ui import critical_error_message_box30from openlp.core.lib.ui import critical_error_message_box
31from .editbibledialog import Ui_EditBibleDialog
32from openlp.plugins.bibles.lib import BibleStrings31from openlp.plugins.bibles.lib import BibleStrings
33from openlp.plugins.bibles.lib.db import BiblesResourcesDB32from openlp.plugins.bibles.lib.db import BiblesResourcesDB
33from .editbibledialog import Ui_EditBibleDialog
3434
35log = logging.getLogger(__name__)35log = logging.getLogger(__name__)
3636
3737
=== modified file 'openlp/plugins/bibles/forms/languagedialog.py'
--- openlp/plugins/bibles/forms/languagedialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/bibles/forms/languagedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/forms/languageform.py'
--- openlp/plugins/bibles/forms/languageform.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/bibles/forms/languageform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,14 +25,13 @@
25"""25"""
26import logging26import logging
2727
28from PyQt5 import QtCore
28from PyQt5.QtWidgets import QDialog29from PyQt5.QtWidgets import QDialog
29from PyQt5 import QtCore
3030
31from openlp.core.common.i18n import LANGUAGES, translate31from openlp.core.common.i18n import LANGUAGES, translate
32from openlp.core.lib.ui import critical_error_message_box32from openlp.core.lib.ui import critical_error_message_box
33from openlp.plugins.bibles.forms.languagedialog import Ui_LanguageDialog33from openlp.plugins.bibles.forms.languagedialog import Ui_LanguageDialog
3434
35
36log = logging.getLogger(__name__)35log = logging.getLogger(__name__)
3736
3837
3938
=== modified file 'openlp/plugins/bibles/lib/__init__.py'
--- openlp/plugins/bibles/lib/__init__.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/bibles/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -29,7 +29,6 @@
29from openlp.core.common.i18n import translate29from openlp.core.common.i18n import translate
30from openlp.core.common.settings import Settings30from openlp.core.common.settings import Settings
3131
32
33log = logging.getLogger(__name__)32log = logging.getLogger(__name__)
3433
3534
3635
=== modified file 'openlp/plugins/bibles/lib/bibleimport.py'
--- openlp/plugins/bibles/lib/bibleimport.py 2017-11-06 22:41:36 +0000
+++ openlp/plugins/bibles/lib/bibleimport.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -20,12 +20,13 @@
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
2222
23from zipfile import is_zipfile
24
23from lxml import etree, objectify25from lxml import etree, objectify
24from zipfile import is_zipfile
2526
27from openlp.core.common.i18n import get_language, translate
26from openlp.core.common.mixins import LogMixin, RegistryProperties28from openlp.core.common.mixins import LogMixin, RegistryProperties
27from openlp.core.common.registry import Registry29from openlp.core.common.registry import Registry
28from openlp.core.common.i18n import get_language, translate
29from openlp.core.lib import ValidationError30from openlp.core.lib import ValidationError
30from openlp.core.lib.ui import critical_error_message_box31from openlp.core.lib.ui import critical_error_message_box
31from openlp.plugins.bibles.lib.db import AlternativeBookNamesDB, BibleDB, BiblesResourcesDB32from openlp.plugins.bibles.lib.db import AlternativeBookNamesDB, BibleDB, BiblesResourcesDB
3233
=== modified file 'openlp/plugins/bibles/lib/biblestab.py'
--- openlp/plugins/bibles/lib/biblestab.py 2017-10-10 19:17:48 +0000
+++ openlp/plugins/bibles/lib/biblestab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/lib/db.py'
--- openlp/plugins/bibles/lib/db.py 2017-11-11 12:20:45 +0000
+++ openlp/plugins/bibles/lib/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -19,9 +19,9 @@
19# with this program; if not, write to the Free Software Foundation, Inc., 59 #19# with this program; if not, write to the Free Software Foundation, Inc., 59 #
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
22
22import chardet23import chardet
23import logging24import logging
24import os
25import re25import re
26import sqlite326import sqlite3
27import time27import time
2828
=== modified file 'openlp/plugins/bibles/lib/importers/__init__.py'
--- openlp/plugins/bibles/lib/importers/__init__.py 2017-10-10 21:16:04 +0000
+++ openlp/plugins/bibles/lib/importers/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/lib/importers/csvbible.py'
--- openlp/plugins/bibles/lib/importers/csvbible.py 2017-10-10 19:17:48 +0000
+++ openlp/plugins/bibles/lib/importers/csvbible.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/lib/importers/http.py'
--- openlp/plugins/bibles/lib/importers/http.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/bibles/lib/importers/http.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,8 +25,8 @@
25import logging25import logging
26import re26import re
27import socket27import socket
28import urllib.error
28import urllib.parse29import urllib.parse
29import urllib.error
3030
31from bs4 import BeautifulSoup, NavigableString, Tag31from bs4 import BeautifulSoup, NavigableString, Tag
3232
3333
=== modified file 'openlp/plugins/bibles/lib/importers/opensong.py'
--- openlp/plugins/bibles/lib/importers/opensong.py 2017-10-10 19:09:20 +0000
+++ openlp/plugins/bibles/lib/importers/opensong.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/lib/importers/osis.py'
--- openlp/plugins/bibles/lib/importers/osis.py 2017-10-10 19:09:20 +0000
+++ openlp/plugins/bibles/lib/importers/osis.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/lib/importers/sword.py'
--- openlp/plugins/bibles/lib/importers/sword.py 2017-10-10 19:17:48 +0000
+++ openlp/plugins/bibles/lib/importers/sword.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,6 +21,7 @@
21###############################################################################21###############################################################################
2222
23import logging23import logging
24
24from pysword import modules25from pysword import modules
2526
26from openlp.core.common.i18n import translate27from openlp.core.common.i18n import translate
@@ -28,7 +29,6 @@
28from openlp.plugins.bibles.lib.bibleimport import BibleImport29from openlp.plugins.bibles.lib.bibleimport import BibleImport
29from openlp.plugins.bibles.lib.db import BiblesResourcesDB30from openlp.plugins.bibles.lib.db import BiblesResourcesDB
3031
31
32log = logging.getLogger(__name__)32log = logging.getLogger(__name__)
3333
3434
3535
=== modified file 'openlp/plugins/bibles/lib/importers/wordproject.py'
--- openlp/plugins/bibles/lib/importers/wordproject.py 2017-10-10 19:09:20 +0000
+++ openlp/plugins/bibles/lib/importers/wordproject.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/lib/importers/zefania.py'
--- openlp/plugins/bibles/lib/importers/zefania.py 2017-10-10 19:17:48 +0000
+++ openlp/plugins/bibles/lib/importers/zefania.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,7 +27,6 @@
27from openlp.plugins.bibles.lib.bibleimport import BibleImport27from openlp.plugins.bibles.lib.bibleimport import BibleImport
28from openlp.plugins.bibles.lib.db import BiblesResourcesDB28from openlp.plugins.bibles.lib.db import BiblesResourcesDB
2929
30
31log = logging.getLogger(__name__)30log = logging.getLogger(__name__)
3231
33# Tags we don't use and can remove the content32# Tags we don't use and can remove the content
3433
=== modified file 'openlp/plugins/bibles/lib/manager.py'
--- openlp/plugins/bibles/lib/manager.py 2017-11-06 22:41:36 +0000
+++ openlp/plugins/bibles/lib/manager.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -33,8 +33,9 @@
33from .importers.http import HTTPBible33from .importers.http import HTTPBible
34from .importers.opensong import OpenSongBible34from .importers.opensong import OpenSongBible
35from .importers.osis import OSISBible35from .importers.osis import OSISBible
36from .importers.wordproject import WordProjectBible
36from .importers.zefania import ZefaniaBible37from .importers.zefania import ZefaniaBible
37from .importers.wordproject import WordProjectBible38
38try:39try:
39 from .importers.sword import SwordBible40 from .importers.sword import SwordBible
40except:41except:
4142
=== modified file 'openlp/plugins/bibles/lib/mediaitem.py'
--- openlp/plugins/bibles/lib/mediaitem.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/bibles/lib/mediaitem.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/lib/upgrade.py'
--- openlp/plugins/bibles/lib/upgrade.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/bibles/lib/upgrade.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/bibles/lib/versereferencelist.py'
--- openlp/plugins/bibles/lib/versereferencelist.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/bibles/lib/versereferencelist.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/__init__.py'
--- openlp/plugins/custom/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/custom/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/customplugin.py'
--- openlp/plugins/custom/customplugin.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/custom/customplugin.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/endpoint.py'
--- openlp/plugins/custom/endpoint.py 2017-09-26 17:21:54 +0000
+++ openlp/plugins/custom/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,11 +21,10 @@
21###############################################################################21###############################################################################
22import logging22import logging
2323
24from openlp.core.api.endpoint.pluginhelpers import search, live, service
25from openlp.core.api.http import requires_auth
24from openlp.core.api.http.endpoint import Endpoint26from openlp.core.api.http.endpoint import Endpoint
25from openlp.core.api.http.errors import NotFound27from openlp.core.api.http.errors import NotFound
26from openlp.core.api.endpoint.pluginhelpers import search, live, service
27from openlp.core.api.http import requires_auth
28
2928
30log = logging.getLogger(__name__)29log = logging.getLogger(__name__)
3130
3231
=== modified file 'openlp/plugins/custom/forms/__init__.py'
--- openlp/plugins/custom/forms/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/custom/forms/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/forms/editcustomdialog.py'
--- openlp/plugins/custom/forms/editcustomdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/custom/forms/editcustomdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/forms/editcustomform.py'
--- openlp/plugins/custom/forms/editcustomform.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/custom/forms/editcustomform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/forms/editcustomslidedialog.py'
--- openlp/plugins/custom/forms/editcustomslidedialog.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/custom/forms/editcustomslidedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/forms/editcustomslideform.py'
--- openlp/plugins/custom/forms/editcustomslideform.py 2017-06-04 12:14:23 +0000
+++ openlp/plugins/custom/forms/editcustomslideform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/lib/__init__.py'
--- openlp/plugins/custom/lib/__init__.py 2017-03-03 19:27:31 +0000
+++ openlp/plugins/custom/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -20,6 +20,6 @@
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
2222
23from .customtab import CustomTab
23from .customxmlhandler import CustomXMLBuilder, CustomXMLParser24from .customxmlhandler import CustomXMLBuilder, CustomXMLParser
24from .mediaitem import CustomMediaItem25from .mediaitem import CustomMediaItem
25from .customtab import CustomTab
2626
=== modified file 'openlp/plugins/custom/lib/customtab.py'
--- openlp/plugins/custom/lib/customtab.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/custom/lib/customtab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/lib/customxmlhandler.py'
--- openlp/plugins/custom/lib/customxmlhandler.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/custom/lib/customxmlhandler.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -36,9 +36,9 @@
36"""36"""
3737
38import logging38import logging
39
40from xml.dom.minidom import Document39from xml.dom.minidom import Document
41from xml.etree.ElementTree import dump40from xml.etree.ElementTree import dump
41
42from lxml import etree, objectify42from lxml import etree, objectify
4343
44log = logging.getLogger(__name__)44log = logging.getLogger(__name__)
4545
=== modified file 'openlp/plugins/custom/lib/db.py'
--- openlp/plugins/custom/lib/db.py 2017-11-13 21:40:49 +0000
+++ openlp/plugins/custom/lib/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/custom/lib/mediaitem.py'
--- openlp/plugins/custom/lib/mediaitem.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/custom/lib/mediaitem.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/__init__.py'
--- openlp/plugins/images/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/images/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/endpoint.py'
--- openlp/plugins/images/endpoint.py 2017-09-26 17:21:54 +0000
+++ openlp/plugins/images/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,11 +21,10 @@
21###############################################################################21###############################################################################
22import logging22import logging
2323
24from openlp.core.api.endpoint.pluginhelpers import search, live, service, display_thumbnails
25from openlp.core.api.http import requires_auth
24from openlp.core.api.http.endpoint import Endpoint26from openlp.core.api.http.endpoint import Endpoint
25from openlp.core.api.http.errors import NotFound27from openlp.core.api.http.errors import NotFound
26from openlp.core.api.endpoint.pluginhelpers import search, live, service, display_thumbnails
27from openlp.core.api.http import requires_auth
28
2928
30log = logging.getLogger(__name__)29log = logging.getLogger(__name__)
3130
3231
=== modified file 'openlp/plugins/images/forms/__init__.py'
--- openlp/plugins/images/forms/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/images/forms/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/forms/addgroupdialog.py'
--- openlp/plugins/images/forms/addgroupdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/images/forms/addgroupdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/forms/addgroupform.py'
--- openlp/plugins/images/forms/addgroupform.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/images/forms/addgroupform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/forms/choosegroupdialog.py'
--- openlp/plugins/images/forms/choosegroupdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/images/forms/choosegroupdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/forms/choosegroupform.py'
--- openlp/plugins/images/forms/choosegroupform.py 2017-06-04 12:14:23 +0000
+++ openlp/plugins/images/forms/choosegroupform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/imageplugin.py'
--- openlp/plugins/images/imageplugin.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/images/imageplugin.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -20,10 +20,10 @@
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
2222
23import logging
24
23from PyQt5 import QtGui25from PyQt5 import QtGui
2426
25import logging
26
27from openlp.core.api.http import register_endpoint27from openlp.core.api.http import register_endpoint
28from openlp.core.common.i18n import translate28from openlp.core.common.i18n import translate
29from openlp.core.common.settings import Settings29from openlp.core.common.settings import Settings
3030
=== modified file 'openlp/plugins/images/lib/__init__.py'
--- openlp/plugins/images/lib/__init__.py 2017-03-03 19:27:31 +0000
+++ openlp/plugins/images/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -20,5 +20,5 @@
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
2222
23from .imagetab import ImageTab
23from .mediaitem import ImageMediaItem24from .mediaitem import ImageMediaItem
24from .imagetab import ImageTab
2525
=== modified file 'openlp/plugins/images/lib/db.py'
--- openlp/plugins/images/lib/db.py 2017-09-23 13:06:42 +0000
+++ openlp/plugins/images/lib/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/lib/imagetab.py'
--- openlp/plugins/images/lib/imagetab.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/images/lib/imagetab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/images/lib/mediaitem.py'
--- openlp/plugins/images/lib/mediaitem.py 2017-11-21 07:23:02 +0000
+++ openlp/plugins/images/lib/mediaitem.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -37,7 +37,6 @@
37from openlp.plugins.images.forms import AddGroupForm, ChooseGroupForm37from openlp.plugins.images.forms import AddGroupForm, ChooseGroupForm
38from openlp.plugins.images.lib.db import ImageFilenames, ImageGroups38from openlp.plugins.images.lib.db import ImageFilenames, ImageGroups
3939
40
41log = logging.getLogger(__name__)40log = logging.getLogger(__name__)
4241
4342
4443
=== modified file 'openlp/plugins/images/lib/upgrade.py'
--- openlp/plugins/images/lib/upgrade.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/images/lib/upgrade.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/media/__init__.py'
--- openlp/plugins/media/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/media/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/media/endpoint.py'
--- openlp/plugins/media/endpoint.py 2017-09-26 17:21:54 +0000
+++ openlp/plugins/media/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,11 +21,10 @@
21###############################################################################21###############################################################################
22import logging22import logging
2323
24from openlp.core.api.endpoint.pluginhelpers import search, live, service
25from openlp.core.api.http import requires_auth
24from openlp.core.api.http.endpoint import Endpoint26from openlp.core.api.http.endpoint import Endpoint
25from openlp.core.api.http.errors import NotFound27from openlp.core.api.http.errors import NotFound
26from openlp.core.api.endpoint.pluginhelpers import search, live, service
27from openlp.core.api.http import requires_auth
28
2928
30log = logging.getLogger(__name__)29log = logging.getLogger(__name__)
3130
3231
=== modified file 'openlp/plugins/media/forms/__init__.py'
--- openlp/plugins/media/forms/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/media/forms/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/media/forms/mediaclipselectordialog.py'
--- openlp/plugins/media/forms/mediaclipselectordialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/media/forms/mediaclipselectordialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/media/forms/mediaclipselectorform.py'
--- openlp/plugins/media/forms/mediaclipselectorform.py 2017-11-22 21:56:56 +0000
+++ openlp/plugins/media/forms/mediaclipselectorform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -19,21 +19,21 @@
19# with this program; if not, write to the Free Software Foundation, Inc., 59 #19# with this program; if not, write to the Free Software Foundation, Inc., 59 #
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
22import logging
22import os23import os
23import logging
24import re24import re
25from datetime import datetime
25from time import sleep26from time import sleep
26from datetime import datetime
2727
28from PyQt5 import QtCore, QtGui, QtWidgets28from PyQt5 import QtCore, QtGui, QtWidgets
2929
30from openlp.core.common import is_win, is_linux, is_macosx30from openlp.core.common import is_win, is_linux, is_macosx
31from openlp.core.common.path import Path
32from openlp.core.common.i18n import translate31from openlp.core.common.i18n import translate
33from openlp.core.common.mixins import RegistryProperties32from openlp.core.common.mixins import RegistryProperties
34from openlp.plugins.media.forms.mediaclipselectordialog import Ui_MediaClipSelector33from openlp.core.common.path import Path
35from openlp.core.lib.ui import critical_error_message_box34from openlp.core.lib.ui import critical_error_message_box
36from openlp.core.ui.media.vlcplayer import get_vlc35from openlp.core.ui.media.vlcplayer import get_vlc
36from openlp.plugins.media.forms.mediaclipselectordialog import Ui_MediaClipSelector
3737
38if is_win():38if is_win():
39 from win32com.client import Dispatch39 from win32com.client import Dispatch
4040
=== modified file 'openlp/plugins/media/lib/__init__.py'
--- openlp/plugins/media/lib/__init__.py 2017-03-03 19:27:31 +0000
+++ openlp/plugins/media/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/media/lib/mediaitem.py'
--- openlp/plugins/media/lib/mediaitem.py 2017-12-17 04:29:53 +0000
+++ openlp/plugins/media/lib/mediaitem.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,8 +27,8 @@
2727
28from openlp.core.common.applocation import AppLocation28from openlp.core.common.applocation import AppLocation
29from openlp.core.common.i18n import UiStrings, translate, get_natural_key29from openlp.core.common.i18n import UiStrings, translate, get_natural_key
30from openlp.core.common.mixins import RegistryProperties
30from openlp.core.common.path import Path, path_to_str, create_paths31from openlp.core.common.path import Path, path_to_str, create_paths
31from openlp.core.common.mixins import RegistryProperties
32from openlp.core.common.registry import Registry32from openlp.core.common.registry import Registry
33from openlp.core.common.settings import Settings33from openlp.core.common.settings import Settings
34from openlp.core.lib import ItemCapabilities, MediaManagerItem, MediaType, ServiceItem, ServiceItemContext, \34from openlp.core.lib import ItemCapabilities, MediaManagerItem, MediaType, ServiceItem, ServiceItemContext, \
3535
=== modified file 'openlp/plugins/media/lib/mediatab.py'
--- openlp/plugins/media/lib/mediatab.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/media/lib/mediatab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/media/mediaplugin.py'
--- openlp/plugins/media/mediaplugin.py 2017-11-19 21:57:38 +0000
+++ openlp/plugins/media/mediaplugin.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -23,7 +23,6 @@
23The Media plugin23The Media plugin
24"""24"""
25import logging25import logging
26import os
27import re26import re
2827
29from PyQt5 import QtCore28from PyQt5 import QtCore
@@ -37,7 +36,6 @@
37from openlp.plugins.media.endpoint import api_media_endpoint, media_endpoint36from openlp.plugins.media.endpoint import api_media_endpoint, media_endpoint
38from openlp.plugins.media.lib import MediaMediaItem, MediaTab37from openlp.plugins.media.lib import MediaMediaItem, MediaTab
3938
40
41log = logging.getLogger(__name__)39log = logging.getLogger(__name__)
4240
4341
4442
=== modified file 'openlp/plugins/presentations/__init__.py'
--- openlp/plugins/presentations/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/presentations/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/presentations/endpoint.py'
--- openlp/plugins/presentations/endpoint.py 2017-09-26 17:21:54 +0000
+++ openlp/plugins/presentations/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,11 +21,10 @@
21###############################################################################21###############################################################################
22import logging22import logging
2323
24from openlp.core.api.endpoint.pluginhelpers import search, live, service, display_thumbnails
25from openlp.core.api.http import requires_auth
24from openlp.core.api.http.endpoint import Endpoint26from openlp.core.api.http.endpoint import Endpoint
25from openlp.core.api.http.errors import NotFound27from openlp.core.api.http.errors import NotFound
26from openlp.core.api.endpoint.pluginhelpers import search, live, service, display_thumbnails
27from openlp.core.api.http import requires_auth
28
2928
30log = logging.getLogger(__name__)29log = logging.getLogger(__name__)
3130
3231
=== modified file 'openlp/plugins/presentations/lib/__init__.py'
--- openlp/plugins/presentations/lib/__init__.py 2017-03-03 19:27:31 +0000
+++ openlp/plugins/presentations/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/presentations/lib/impresscontroller.py'
--- openlp/plugins/presentations/lib/impresscontroller.py 2017-10-10 07:08:44 +0000
+++ openlp/plugins/presentations/lib/impresscontroller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/presentations/lib/mediaitem.py'
--- openlp/plugins/presentations/lib/mediaitem.py 2017-11-18 11:23:15 +0000
+++ openlp/plugins/presentations/lib/mediaitem.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,10 +24,10 @@
24from PyQt5 import QtCore, QtGui, QtWidgets24from PyQt5 import QtCore, QtGui, QtWidgets
2525
26from openlp.core.common.i18n import UiStrings, translate, get_natural_key26from openlp.core.common.i18n import UiStrings, translate, get_natural_key
27from openlp.core.common.path import Path, path_to_str, str_to_path27from openlp.core.common.path import path_to_str, str_to_path
28from openlp.core.common.registry import Registry28from openlp.core.common.registry import Registry
29from openlp.core.common.settings import Settings29from openlp.core.common.settings import Settings
30from openlp.core.lib import MediaManagerItem, ItemCapabilities, ServiceItemContext,\30from openlp.core.lib import MediaManagerItem, ItemCapabilities, ServiceItemContext, \
31 build_icon, check_item_selected, create_thumb, validate_thumb31 build_icon, check_item_selected, create_thumb, validate_thumb
32from openlp.core.lib.ui import critical_error_message_box, create_horizontal_adjusting_combo_box32from openlp.core.lib.ui import critical_error_message_box, create_horizontal_adjusting_combo_box
33from openlp.plugins.presentations.lib import MessageListener33from openlp.plugins.presentations.lib import MessageListener
3434
=== modified file 'openlp/plugins/presentations/lib/messagelistener.py'
--- openlp/plugins/presentations/lib/messagelistener.py 2017-11-14 22:30:46 +0000
+++ openlp/plugins/presentations/lib/messagelistener.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,9 +24,9 @@
2424
25from PyQt5 import QtCore25from PyQt5 import QtCore
2626
27from openlp.core.common.path import Path
27from openlp.core.common.registry import Registry28from openlp.core.common.registry import Registry
28from openlp.core.common.settings import Settings29from openlp.core.common.settings import Settings
29from openlp.core.common.path import Path
30from openlp.core.lib import ServiceItemContext30from openlp.core.lib import ServiceItemContext
31from openlp.core.ui import HideMode31from openlp.core.ui import HideMode
32from openlp.plugins.presentations.lib.pdfcontroller import PDF_CONTROLLER_FILETYPES32from openlp.plugins.presentations.lib.pdfcontroller import PDF_CONTROLLER_FILETYPES
3333
=== modified file 'openlp/plugins/presentations/lib/pdfcontroller.py'
--- openlp/plugins/presentations/lib/pdfcontroller.py 2017-11-15 21:58:19 +0000
+++ openlp/plugins/presentations/lib/pdfcontroller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/presentations/lib/powerpointcontroller.py'
--- openlp/plugins/presentations/lib/powerpointcontroller.py 2017-10-10 07:08:44 +0000
+++ openlp/plugins/presentations/lib/powerpointcontroller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/presentations/lib/pptviewcontroller.py'
--- openlp/plugins/presentations/lib/pptviewcontroller.py 2017-11-03 20:55:41 +0000
+++ openlp/plugins/presentations/lib/pptviewcontroller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -20,8 +20,8 @@
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
22import logging22import logging
23import re
23import zipfile24import zipfile
24import re
25from xml.etree import ElementTree25from xml.etree import ElementTree
2626
27from openlp.core.common import is_win27from openlp.core.common import is_win
2828
=== modified file 'openlp/plugins/presentations/lib/pptviewlib/README.TXT'
--- openlp/plugins/presentations/lib/pptviewlib/README.TXT 2016-12-31 11:01:36 +0000
+++ openlp/plugins/presentations/lib/pptviewlib/README.TXT 2017-12-29 10:26:06 +0000
@@ -1,6 +1,6 @@
11
2PPTVIEWLIB - Control PowerPoint Viewer 2003/2007 (for openlp.org)2PPTVIEWLIB - Control PowerPoint Viewer 2003/2007 (for openlp.org)
3Copyright (C) 2008-2017 Jonathan Corwin (j@corwin.co.uk)3Copyright (C) 2008-2018 Jonathan Corwin (j@corwin.co.uk)
44
5This library wrappers the free Microsoft PowerPoint Viewer (2003/2007) program,5This library wrappers the free Microsoft PowerPoint Viewer (2003/2007) program,
6allowing it to be more easily controlled from another program.6allowing it to be more easily controlled from another program.
77
=== modified file 'openlp/plugins/presentations/lib/pptviewlib/ppttest.py'
--- openlp/plugins/presentations/lib/pptviewlib/ppttest.py 2017-01-25 21:17:27 +0000
+++ openlp/plugins/presentations/lib/pptviewlib/ppttest.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,10 +21,11 @@
21###############################################################################21###############################################################################
2222
23import sys23import sys
24from PyQt5 import QtWidgets
25from ctypes import *24from ctypes import *
26from ctypes.wintypes import RECT25from ctypes.wintypes import RECT
2726
27from PyQt5 import QtWidgets
28
2829
29class PPTViewer(QtWidgets.QWidget):30class PPTViewer(QtWidgets.QWidget):
30 """31 """
3132
=== modified file 'openlp/plugins/presentations/lib/pptviewlib/pptviewlib.cpp'
--- openlp/plugins/presentations/lib/pptviewlib/pptviewlib.cpp 2016-12-31 11:01:36 +0000
+++ openlp/plugins/presentations/lib/pptviewlib/pptviewlib.cpp 2017-12-29 10:26:06 +0000
@@ -1,7 +1,7 @@
1/******************************************************************************1/******************************************************************************
2* OpenLP - Open Source Lyrics Projection *2* OpenLP - Open Source Lyrics Projection *
3* --------------------------------------------------------------------------- *3* --------------------------------------------------------------------------- *
4* Copyright (c) 2008-2017 OpenLP Developers *4* Copyright (c) 2008-2018 OpenLP Developers *
5* --------------------------------------------------------------------------- *5* --------------------------------------------------------------------------- *
6* This program is free software; you can redistribute it and/or modify it *6* This program is free software; you can redistribute it and/or modify it *
7* under the terms of the GNU General Public License as published by the Free *7* under the terms of the GNU General Public License as published by the Free *
88
=== modified file 'openlp/plugins/presentations/lib/pptviewlib/pptviewlib.h'
--- openlp/plugins/presentations/lib/pptviewlib/pptviewlib.h 2016-12-31 11:01:36 +0000
+++ openlp/plugins/presentations/lib/pptviewlib/pptviewlib.h 2017-12-29 10:26:06 +0000
@@ -1,7 +1,7 @@
1/******************************************************************************1/******************************************************************************
2* OpenLP - Open Source Lyrics Projection *2* OpenLP - Open Source Lyrics Projection *
3* --------------------------------------------------------------------------- *3* --------------------------------------------------------------------------- *
4* Copyright (c) 2008-2017 OpenLP Developers *4* Copyright (c) 2008-2018 OpenLP Developers *
5* --------------------------------------------------------------------------- *5* --------------------------------------------------------------------------- *
6* This program is free software; you can redistribute it and/or modify it *6* This program is free software; you can redistribute it and/or modify it *
7* under the terms of the GNU General Public License as published by the Free *7* under the terms of the GNU General Public License as published by the Free *
88
=== modified file 'openlp/plugins/presentations/lib/presentationcontroller.py'
--- openlp/plugins/presentations/lib/presentationcontroller.py 2017-11-20 21:57:34 +0000
+++ openlp/plugins/presentations/lib/presentationcontroller.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/presentations/lib/presentationtab.py'
--- openlp/plugins/presentations/lib/presentationtab.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/presentations/lib/presentationtab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/presentations/presentationplugin.py'
--- openlp/plugins/presentations/presentationplugin.py 2017-12-17 15:25:54 +0000
+++ openlp/plugins/presentations/presentationplugin.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -23,8 +23,8 @@
23The :mod:`openlp.plugins.presentations.presentationplugin` module provides the ability for OpenLP to display23The :mod:`openlp.plugins.presentations.presentationplugin` module provides the ability for OpenLP to display
24presentations from a variety of document formats.24presentations from a variety of document formats.
25"""25"""
26import logging
26import os27import os
27import logging
2828
29from PyQt5 import QtCore29from PyQt5 import QtCore
3030
3131
=== modified file 'openlp/plugins/songs/__init__.py'
--- openlp/plugins/songs/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songs/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/endpoint.py'
--- openlp/plugins/songs/endpoint.py 2017-09-26 21:04:39 +0000
+++ openlp/plugins/songs/endpoint.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,11 +21,10 @@
21###############################################################################21###############################################################################
22import logging22import logging
2323
24from openlp.core.api.endpoint.pluginhelpers import search, live, service
25from openlp.core.api.http import requires_auth
24from openlp.core.api.http.endpoint import Endpoint26from openlp.core.api.http.endpoint import Endpoint
25from openlp.core.api.http.errors import NotFound27from openlp.core.api.http.errors import NotFound
26from openlp.core.api.endpoint.pluginhelpers import search, live, service
27from openlp.core.api.http import requires_auth
28
2928
30log = logging.getLogger(__name__)29log = logging.getLogger(__name__)
3130
3231
=== modified file 'openlp/plugins/songs/forms/__init__.py'
--- openlp/plugins/songs/forms/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songs/forms/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/authorsdialog.py'
--- openlp/plugins/songs/forms/authorsdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/authorsdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/authorsform.py'
--- openlp/plugins/songs/forms/authorsform.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/authorsform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/duplicatesongremovalform.py'
--- openlp/plugins/songs/forms/duplicatesongremovalform.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/forms/duplicatesongremovalform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -32,9 +32,9 @@
32from openlp.core.common.mixins import RegistryProperties32from openlp.core.common.mixins import RegistryProperties
33from openlp.core.common.registry import Registry33from openlp.core.common.registry import Registry
34from openlp.core.widgets.wizard import OpenLPWizard, WizardStrings34from openlp.core.widgets.wizard import OpenLPWizard, WizardStrings
35from openlp.plugins.songs.forms.songreviewwidget import SongReviewWidget
35from openlp.plugins.songs.lib import delete_song36from openlp.plugins.songs.lib import delete_song
36from openlp.plugins.songs.lib.db import Song37from openlp.plugins.songs.lib.db import Song
37from openlp.plugins.songs.forms.songreviewwidget import SongReviewWidget
38from openlp.plugins.songs.lib.songcompare import songs_probably_equal38from openlp.plugins.songs.lib.songcompare import songs_probably_equal
3939
40log = logging.getLogger(__name__)40log = logging.getLogger(__name__)
4141
=== modified file 'openlp/plugins/songs/forms/editsongdialog.py'
--- openlp/plugins/songs/forms/editsongdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/editsongdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/editsongform.py'
--- openlp/plugins/songs/forms/editsongform.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/forms/editsongform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -30,8 +30,8 @@
3030
31from openlp.core.common.applocation import AppLocation31from openlp.core.common.applocation import AppLocation
32from openlp.core.common.i18n import UiStrings, translate, get_natural_key32from openlp.core.common.i18n import UiStrings, translate, get_natural_key
33from openlp.core.common.mixins import RegistryProperties
33from openlp.core.common.path import create_paths, copyfile34from openlp.core.common.path import create_paths, copyfile
34from openlp.core.common.mixins import RegistryProperties
35from openlp.core.common.registry import Registry35from openlp.core.common.registry import Registry
36from openlp.core.lib import PluginStatus, MediaType, create_separated_list36from openlp.core.lib import PluginStatus, MediaType, create_separated_list
37from openlp.core.lib.ui import set_case_insensitive_completer, critical_error_message_box, find_and_set_in_combo_box37from openlp.core.lib.ui import set_case_insensitive_completer, critical_error_message_box, find_and_set_in_combo_box
3838
=== modified file 'openlp/plugins/songs/forms/editversedialog.py'
--- openlp/plugins/songs/forms/editversedialog.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/forms/editversedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -22,8 +22,8 @@
2222
23from PyQt5 import QtWidgets23from PyQt5 import QtWidgets
2424
25from openlp.core.common.i18n import UiStrings, translate
25from openlp.core.common.settings import Settings26from openlp.core.common.settings import Settings
26from openlp.core.common.i18n import UiStrings, translate
27from openlp.core.lib import build_icon27from openlp.core.lib import build_icon
28from openlp.core.lib.ui import create_button_box28from openlp.core.lib.ui import create_button_box
29from openlp.core.widgets.edits import SpellTextEdit29from openlp.core.widgets.edits import SpellTextEdit
3030
=== modified file 'openlp/plugins/songs/forms/editverseform.py'
--- openlp/plugins/songs/forms/editverseform.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/forms/editverseform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -20,14 +20,14 @@
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
2222
23import logging
23import re24import re
24import logging
2525
26from PyQt5 import QtCore, QtGui, QtWidgets26from PyQt5 import QtCore, QtGui, QtWidgets
2727
28from openlp.core.lib.ui import critical_error_message_box
29from openlp.core.common.i18n import translate28from openlp.core.common.i18n import translate
30from openlp.core.common.settings import Settings29from openlp.core.common.settings import Settings
30from openlp.core.lib.ui import critical_error_message_box
31from openlp.plugins.songs.forms.editversedialog import Ui_EditVerseDialog31from openlp.plugins.songs.forms.editversedialog import Ui_EditVerseDialog
32from openlp.plugins.songs.lib import VerseType, transpose_lyrics32from openlp.plugins.songs.lib import VerseType, transpose_lyrics
3333
3434
=== modified file 'openlp/plugins/songs/forms/mediafilesdialog.py'
--- openlp/plugins/songs/forms/mediafilesdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/mediafilesdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/mediafilesform.py'
--- openlp/plugins/songs/forms/mediafilesform.py 2017-09-30 20:16:30 +0000
+++ openlp/plugins/songs/forms/mediafilesform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -21,7 +21,6 @@
21###############################################################################21###############################################################################
2222
23import logging23import logging
24import os
2524
26from PyQt5 import QtCore, QtWidgets25from PyQt5 import QtCore, QtWidgets
2726
2827
=== modified file 'openlp/plugins/songs/forms/songbookdialog.py'
--- openlp/plugins/songs/forms/songbookdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/songbookdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/songbookform.py'
--- openlp/plugins/songs/forms/songbookform.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/songbookform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/songexportform.py'
--- openlp/plugins/songs/forms/songexportform.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/forms/songexportform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/songimportform.py'
--- openlp/plugins/songs/forms/songimportform.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/forms/songimportform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/songmaintenancedialog.py'
--- openlp/plugins/songs/forms/songmaintenancedialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/songmaintenancedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/songmaintenanceform.py'
--- openlp/plugins/songs/forms/songmaintenanceform.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/forms/songmaintenanceform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -29,8 +29,8 @@
29from openlp.core.common.registry import Registry29from openlp.core.common.registry import Registry
30from openlp.core.lib.ui import critical_error_message_box30from openlp.core.lib.ui import critical_error_message_box
31from openlp.plugins.songs.forms.authorsform import AuthorsForm31from openlp.plugins.songs.forms.authorsform import AuthorsForm
32from openlp.plugins.songs.forms.songbookform import SongBookForm
32from openlp.plugins.songs.forms.topicsform import TopicsForm33from openlp.plugins.songs.forms.topicsform import TopicsForm
33from openlp.plugins.songs.forms.songbookform import SongBookForm
34from openlp.plugins.songs.lib.db import Author, Book, Topic, Song34from openlp.plugins.songs.lib.db import Author, Book, Topic, Song
35from .songmaintenancedialog import Ui_SongMaintenanceDialog35from .songmaintenancedialog import Ui_SongMaintenanceDialog
3636
3737
=== modified file 'openlp/plugins/songs/forms/songreviewwidget.py'
--- openlp/plugins/songs/forms/songreviewwidget.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songs/forms/songreviewwidget.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/songselectdialog.py'
--- openlp/plugins/songs/forms/songselectdialog.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/forms/songselectdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/songselectform.py'
--- openlp/plugins/songs/forms/songselectform.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/songselectform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/topicsdialog.py'
--- openlp/plugins/songs/forms/topicsdialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/topicsdialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/forms/topicsform.py'
--- openlp/plugins/songs/forms/topicsform.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/forms/topicsform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/__init__.py'
--- openlp/plugins/songs/lib/__init__.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/db.py'
--- openlp/plugins/songs/lib/db.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importer.py'
--- openlp/plugins/songs/lib/importer.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importer.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,28 +27,28 @@
27from openlp.core.common import is_win27from openlp.core.common import is_win
28from openlp.core.common.i18n import UiStrings, translate28from openlp.core.common.i18n import UiStrings, translate
29from openlp.core.widgets.wizard import WizardStrings29from openlp.core.widgets.wizard import WizardStrings
30from .importers.opensong import OpenSongImport30from .importers.cclifile import CCLIFileImport
31from .importers.chordpro import ChordProImport
32from .importers.dreambeam import DreamBeamImport
31from .importers.easyslides import EasySlidesImport33from .importers.easyslides import EasySlidesImport
34from .importers.easyworship import EasyWorshipSongImport
35from .importers.foilpresenter import FoilPresenterImport
36from .importers.lyrix import LyrixImport
32from .importers.openlp import OpenLPSongImport37from .importers.openlp import OpenLPSongImport
33from .importers.openlyrics import OpenLyricsImport38from .importers.openlyrics import OpenLyricsImport
34from .importers.wordsofworship import WordsOfWorshipImport39from .importers.opensong import OpenSongImport
35from .importers.cclifile import CCLIFileImport40from .importers.powerpraise import PowerPraiseImport
36from .importers.dreambeam import DreamBeamImport
37from .importers.powersong import PowerSongImport41from .importers.powersong import PowerSongImport
38from .importers.easyworship import EasyWorshipSongImport42from .importers.presentationmanager import PresentationManagerImport
43from .importers.propresenter import ProPresenterImport
39from .importers.songbeamer import SongBeamerImport44from .importers.songbeamer import SongBeamerImport
45from .importers.songpro import SongProImport
40from .importers.songshowplus import SongShowPlusImport46from .importers.songshowplus import SongShowPlusImport
41from .importers.songpro import SongProImport
42from .importers.sundayplus import SundayPlusImport47from .importers.sundayplus import SundayPlusImport
43from .importers.foilpresenter import FoilPresenterImport48from .importers.videopsalm import VideoPsalmImport
49from .importers.wordsofworship import WordsOfWorshipImport
50from .importers.worshipassistant import WorshipAssistantImport
44from .importers.zionworx import ZionWorxImport51from .importers.zionworx import ZionWorxImport
45from .importers.propresenter import ProPresenterImport
46from .importers.worshipassistant import WorshipAssistantImport
47from .importers.powerpraise import PowerPraiseImport
48from .importers.presentationmanager import PresentationManagerImport
49from .importers.lyrix import LyrixImport
50from .importers.videopsalm import VideoPsalmImport
51from .importers.chordpro import ChordProImport
5252
53log = logging.getLogger(__name__)53log = logging.getLogger(__name__)
5454
5555
=== modified file 'openlp/plugins/songs/lib/importers/__init__.py'
--- openlp/plugins/songs/lib/importers/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songs/lib/importers/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/cclifile.py'
--- openlp/plugins/songs/lib/importers/cclifile.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/importers/cclifile.py 2017-12-29 10:26:06 +0000
@@ -1,10 +1,13 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=42# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
33
4import codecs
5import logging
6
4###############################################################################7###############################################################################
5# OpenLP - Open Source Lyrics Projection #8# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #9# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #10# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #11# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #12# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #13# under the terms of the GNU General Public License as published by the Free #
@@ -20,8 +23,6 @@
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #23# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################24###############################################################################
22import chardet25import chardet
23import codecs
24import logging
2526
26from openlp.core.common.i18n import translate27from openlp.core.common.i18n import translate
27from openlp.plugins.songs.lib import VerseType28from openlp.plugins.songs.lib import VerseType
2829
=== modified file 'openlp/plugins/songs/lib/importers/dreambeam.py'
--- openlp/plugins/songs/lib/importers/dreambeam.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/importers/dreambeam.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/easyslides.py'
--- openlp/plugins/songs/lib/importers/easyslides.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/lib/importers/easyslides.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/easyworship.py'
--- openlp/plugins/songs/lib/importers/easyworship.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importers/easyworship.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,11 +25,10 @@
25import logging25import logging
26import os26import os
27import re27import re
28import sqlite3
28import struct29import struct
29import zlib30import zlib
3031
31import sqlite3
32
33from openlp.core.common.i18n import translate32from openlp.core.common.i18n import translate
34from openlp.core.common.path import Path33from openlp.core.common.path import Path
35from openlp.plugins.songs.lib import VerseType34from openlp.plugins.songs.lib import VerseType
3635
=== modified file 'openlp/plugins/songs/lib/importers/foilpresenter.py'
--- openlp/plugins/songs/lib/importers/foilpresenter.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importers/foilpresenter.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -90,10 +90,10 @@
90from openlp.core.common.i18n import translate90from openlp.core.common.i18n import translate
91from openlp.core.widgets.wizard import WizardStrings91from openlp.core.widgets.wizard import WizardStrings
92from openlp.plugins.songs.lib import clean_song, VerseType92from openlp.plugins.songs.lib import clean_song, VerseType
93from openlp.plugins.songs.lib.db import Author, Book, Song, Topic
93from openlp.plugins.songs.lib.importers.songimport import SongImport94from openlp.plugins.songs.lib.importers.songimport import SongImport
94from openlp.plugins.songs.lib.db import Author, Book, Song, Topic95from openlp.plugins.songs.lib.openlyricsxml import SongXML
95from openlp.plugins.songs.lib.ui import SongStrings96from openlp.plugins.songs.lib.ui import SongStrings
96from openlp.plugins.songs.lib.openlyricsxml import SongXML
9797
98log = logging.getLogger(__name__)98log = logging.getLogger(__name__)
9999
100100
=== modified file 'openlp/plugins/songs/lib/importers/lyrix.py'
--- openlp/plugins/songs/lib/importers/lyrix.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/importers/lyrix.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/mediashout.py'
--- openlp/plugins/songs/lib/importers/mediashout.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/lib/importers/mediashout.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,8 +27,9 @@
27# WARNING: See https://docs.python.org/3/library/sqlite3.html for value substitution27# WARNING: See https://docs.python.org/3/library/sqlite3.html for value substitution
28# in SQL statements28# in SQL statements
2929
30import logging
31
30import pyodbc32import pyodbc
31import logging
3233
33from openlp.core.common.i18n import translate34from openlp.core.common.i18n import translate
34from openlp.plugins.songs.lib.importers.songimport import SongImport35from openlp.plugins.songs.lib.importers.songimport import SongImport
3536
=== modified file 'openlp/plugins/songs/lib/importers/openlp.py'
--- openlp/plugins/songs/lib/importers/openlp.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importers/openlp.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/openlyrics.py'
--- openlp/plugins/songs/lib/importers/openlyrics.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importers/openlyrics.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -29,8 +29,8 @@
2929
30from openlp.core.widgets.wizard import WizardStrings30from openlp.core.widgets.wizard import WizardStrings
31from openlp.plugins.songs.lib.importers.songimport import SongImport31from openlp.plugins.songs.lib.importers.songimport import SongImport
32from openlp.plugins.songs.lib.openlyricsxml import OpenLyrics, OpenLyricsError
32from openlp.plugins.songs.lib.ui import SongStrings33from openlp.plugins.songs.lib.ui import SongStrings
33from openlp.plugins.songs.lib.openlyricsxml import OpenLyrics, OpenLyricsError
3434
35log = logging.getLogger(__name__)35log = logging.getLogger(__name__)
3636
3737
=== modified file 'openlp/plugins/songs/lib/importers/openoffice.py'
--- openlp/plugins/songs/lib/importers/openoffice.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/lib/importers/openoffice.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/opensong.py'
--- openlp/plugins/songs/lib/importers/opensong.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/lib/importers/opensong.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/opspro.py'
--- openlp/plugins/songs/lib/importers/opspro.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/importers/opspro.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -29,8 +29,9 @@
2929
30import logging30import logging
31import re31import re
32import struct
33
32import pyodbc34import pyodbc
33import struct
3435
35from openlp.core.common.i18n import translate36from openlp.core.common.i18n import translate
36from openlp.plugins.songs.lib.importers.songimport import SongImport37from openlp.plugins.songs.lib.importers.songimport import SongImport
3738
=== modified file 'openlp/plugins/songs/lib/importers/powerpraise.py'
--- openlp/plugins/songs/lib/importers/powerpraise.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importers/powerpraise.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/powersong.py'
--- openlp/plugins/songs/lib/importers/powersong.py 2017-12-17 04:29:53 +0000
+++ openlp/plugins/songs/lib/importers/powersong.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/presentationmanager.py'
--- openlp/plugins/songs/lib/importers/presentationmanager.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importers/presentationmanager.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,8 +27,8 @@
2727
28from lxml import objectify, etree28from lxml import objectify, etree
2929
30from openlp.core.common import get_file_encoding
30from openlp.core.common.i18n import translate31from openlp.core.common.i18n import translate
31from openlp.core.common import get_file_encoding
32from openlp.core.widgets.wizard import WizardStrings32from openlp.core.widgets.wizard import WizardStrings
33from openlp.plugins.songs.lib.importers.songimport import SongImport33from openlp.plugins.songs.lib.importers.songimport import SongImport
3434
3535
=== modified file 'openlp/plugins/songs/lib/importers/propresenter.py'
--- openlp/plugins/songs/lib/importers/propresenter.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importers/propresenter.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,6 +25,7 @@
25"""25"""
26import base6426import base64
27import logging27import logging
28
28from lxml import objectify29from lxml import objectify
2930
30from openlp.core.widgets.wizard import WizardStrings31from openlp.core.widgets.wizard import WizardStrings
3132
=== modified file 'openlp/plugins/songs/lib/importers/songbeamer.py'
--- openlp/plugins/songs/lib/importers/songbeamer.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/importers/songbeamer.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -22,15 +22,15 @@
22"""22"""
23The :mod:`songbeamer` module provides the functionality for importing SongBeamer songs into the OpenLP database.23The :mod:`songbeamer` module provides the functionality for importing SongBeamer songs into the OpenLP database.
24"""24"""
25import base64
25import logging26import logging
27import math
26import os28import os
27import re29import re
28import base64
29import math
3030
31from openlp.core.common import is_win, is_macosx, get_file_encoding31from openlp.core.common import is_win, is_macosx, get_file_encoding
32from openlp.core.common.path import Path
32from openlp.core.common.settings import Settings33from openlp.core.common.settings import Settings
33from openlp.core.common.path import Path
34from openlp.plugins.songs.lib import VerseType34from openlp.plugins.songs.lib import VerseType
35from openlp.plugins.songs.lib.importers.songimport import SongImport35from openlp.plugins.songs.lib.importers.songimport import SongImport
3636
3737
=== modified file 'openlp/plugins/songs/lib/importers/songimport.py'
--- openlp/plugins/songs/lib/importers/songimport.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/lib/importers/songimport.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -33,8 +33,8 @@
33from openlp.core.widgets.wizard import WizardStrings33from openlp.core.widgets.wizard import WizardStrings
34from openlp.plugins.songs.lib import clean_song, VerseType34from openlp.plugins.songs.lib import clean_song, VerseType
35from openlp.plugins.songs.lib.db import Song, Author, Topic, Book, MediaFile35from openlp.plugins.songs.lib.db import Song, Author, Topic, Book, MediaFile
36from openlp.plugins.songs.lib.openlyricsxml import SongXML
36from openlp.plugins.songs.lib.ui import SongStrings37from openlp.plugins.songs.lib.ui import SongStrings
37from openlp.plugins.songs.lib.openlyricsxml import SongXML
3838
39log = logging.getLogger(__name__)39log = logging.getLogger(__name__)
4040
4141
=== modified file 'openlp/plugins/songs/lib/importers/songpro.py'
--- openlp/plugins/songs/lib/importers/songpro.py 2017-09-30 20:16:30 +0000
+++ openlp/plugins/songs/lib/importers/songpro.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/songshowplus.py'
--- openlp/plugins/songs/lib/importers/songshowplus.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/importers/songshowplus.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/songsoffellowship.py'
--- openlp/plugins/songs/lib/importers/songsoffellowship.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/lib/importers/songsoffellowship.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,13 +27,11 @@
27# http://wiki.services.openoffice.org/wiki/Python27# http://wiki.services.openoffice.org/wiki/Python
2828
29import logging29import logging
30import os
31import re30import re
3231
33from openlp.core.common import is_win32from openlp.core.common import is_win
34from .openoffice import OpenOfficeImport33from .openoffice import OpenOfficeImport
3534
36
37log = logging.getLogger(__name__)35log = logging.getLogger(__name__)
3836
39if is_win():37if is_win():
4038
=== modified file 'openlp/plugins/songs/lib/importers/sundayplus.py'
--- openlp/plugins/songs/lib/importers/sundayplus.py 2017-12-22 22:35:09 +0000
+++ openlp/plugins/songs/lib/importers/sundayplus.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -19,7 +19,6 @@
19# with this program; if not, write to the Free Software Foundation, Inc., 59 #19# with this program; if not, write to the Free Software Foundation, Inc., 59 #
20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #20# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
21###############################################################################21###############################################################################
22import os
23import re22import re
2423
25from openlp.plugins.songs.lib import VerseType, retrieve_windows_encoding24from openlp.plugins.songs.lib import VerseType, retrieve_windows_encoding
2625
=== modified file 'openlp/plugins/songs/lib/importers/videopsalm.py'
--- openlp/plugins/songs/lib/importers/videopsalm.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/importers/videopsalm.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -27,10 +27,10 @@
27import re27import re
2828
29from openlp.core.common.i18n import translate29from openlp.core.common.i18n import translate
30from openlp.core.common.path import Path
30from openlp.core.common.settings import Settings31from openlp.core.common.settings import Settings
31from openlp.core.common.path import Path32from openlp.plugins.songs.lib.db import AuthorType
32from openlp.plugins.songs.lib.importers.songimport import SongImport33from openlp.plugins.songs.lib.importers.songimport import SongImport
33from openlp.plugins.songs.lib.db import AuthorType
3434
35log = logging.getLogger(__name__)35log = logging.getLogger(__name__)
3636
3737
=== modified file 'openlp/plugins/songs/lib/importers/wordsofworship.py'
--- openlp/plugins/songs/lib/importers/wordsofworship.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/importers/wordsofworship.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -23,9 +23,8 @@
23The :mod:`wordsofworship` module provides the functionality for importing Words of23The :mod:`wordsofworship` module provides the functionality for importing Words of
24Worship songs into the OpenLP database.24Worship songs into the OpenLP database.
25"""25"""
26import logging
26import os27import os
27import logging
28from openlp.core.common.path import Path
2928
30from openlp.core.common.i18n import translate29from openlp.core.common.i18n import translate
31from openlp.plugins.songs.lib.importers.songimport import SongImport30from openlp.plugins.songs.lib.importers.songimport import SongImport
3231
=== modified file 'openlp/plugins/songs/lib/importers/worshipassistant.py'
--- openlp/plugins/songs/lib/importers/worshipassistant.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/importers/worshipassistant.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/importers/worshipcenterpro.py'
--- openlp/plugins/songs/lib/importers/worshipcenterpro.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/lib/importers/worshipcenterpro.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,6 +25,7 @@
25"""25"""
26import logging26import logging
27import re27import re
28
28import pyodbc29import pyodbc
2930
30from openlp.core.common.i18n import translate31from openlp.core.common.i18n import translate
3132
=== modified file 'openlp/plugins/songs/lib/importers/zionworx.py'
--- openlp/plugins/songs/lib/importers/zionworx.py 2017-10-28 18:58:34 +0000
+++ openlp/plugins/songs/lib/importers/zionworx.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/mediaitem.py'
--- openlp/plugins/songs/lib/mediaitem.py 2017-10-10 02:29:56 +0000
+++ openlp/plugins/songs/lib/mediaitem.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/openlyricsexport.py'
--- openlp/plugins/songs/lib/openlyricsexport.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/lib/openlyricsexport.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -29,8 +29,8 @@
2929
30from openlp.core.common import clean_filename30from openlp.core.common import clean_filename
31from openlp.core.common.i18n import translate31from openlp.core.common.i18n import translate
32from openlp.core.common.mixins import RegistryProperties
32from openlp.core.common.path import create_paths33from openlp.core.common.path import create_paths
33from openlp.core.common.mixins import RegistryProperties
34from openlp.plugins.songs.lib.openlyricsxml import OpenLyrics34from openlp.plugins.songs.lib.openlyricsxml import OpenLyrics
3535
36log = logging.getLogger(__name__)36log = logging.getLogger(__name__)
3737
=== modified file 'openlp/plugins/songs/lib/openlyricsxml.py'
--- openlp/plugins/songs/lib/openlyricsxml.py 2017-10-28 10:04:09 +0000
+++ openlp/plugins/songs/lib/openlyricsxml.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -63,8 +63,8 @@
6363
64from openlp.core.common.i18n import translate64from openlp.core.common.i18n import translate
65from openlp.core.common.settings import Settings65from openlp.core.common.settings import Settings
66from openlp.core.lib import FormattingTags
66from openlp.core.version import get_version67from openlp.core.version import get_version
67from openlp.core.lib import FormattingTags
68from openlp.plugins.songs.lib import VerseType, clean_song68from openlp.plugins.songs.lib import VerseType, clean_song
69from openlp.plugins.songs.lib.db import Author, AuthorType, Book, Song, Topic69from openlp.plugins.songs.lib.db import Author, AuthorType, Book, Song, Topic
7070
7171
=== modified file 'openlp/plugins/songs/lib/songcompare.py'
--- openlp/plugins/songs/lib/songcompare.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songs/lib/songcompare.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/songselect.py'
--- openlp/plugins/songs/lib/songselect.py 2017-03-10 05:42:38 +0000
+++ openlp/plugins/songs/lib/songselect.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,11 +25,11 @@
25import logging25import logging
26import random26import random
27import re27import re
28from html import unescape
29from html.parser import HTMLParser
28from http.cookiejar import CookieJar30from http.cookiejar import CookieJar
29from urllib.parse import urlencode31from urllib.parse import urlencode
30from urllib.request import HTTPCookieProcessor, URLError, build_opener32from urllib.request import HTTPCookieProcessor, URLError, build_opener
31from html.parser import HTMLParser
32from html import unescape
3333
34from bs4 import BeautifulSoup, NavigableString34from bs4 import BeautifulSoup, NavigableString
3535
3636
=== modified file 'openlp/plugins/songs/lib/songstab.py'
--- openlp/plugins/songs/lib/songstab.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/lib/songstab.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/ui.py'
--- openlp/plugins/songs/lib/ui.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songs/lib/ui.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/lib/upgrade.py'
--- openlp/plugins/songs/lib/upgrade.py 2017-10-10 02:40:41 +0000
+++ openlp/plugins/songs/lib/upgrade.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/reporting.py'
--- openlp/plugins/songs/reporting.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songs/reporting.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songs/songsplugin.py'
--- openlp/plugins/songs/songsplugin.py 2017-12-22 21:20:49 +0000
+++ openlp/plugins/songs/songsplugin.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -25,7 +25,6 @@
25"""25"""
2626
27import logging27import logging
28import os
29import sqlite328import sqlite3
30from pathlib import Path29from pathlib import Path
31from tempfile import gettempdir30from tempfile import gettempdir
3231
=== modified file 'openlp/plugins/songusage/__init__.py'
--- openlp/plugins/songusage/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songusage/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songusage/forms/__init__.py'
--- openlp/plugins/songusage/forms/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songusage/forms/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songusage/forms/songusagedeletedialog.py'
--- openlp/plugins/songusage/forms/songusagedeletedialog.py 2017-10-07 07:05:07 +0000
+++ openlp/plugins/songusage/forms/songusagedeletedialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songusage/forms/songusagedeleteform.py'
--- openlp/plugins/songusage/forms/songusagedeleteform.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songusage/forms/songusagedeleteform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -24,8 +24,8 @@
2424
25from openlp.core.common.i18n import translate25from openlp.core.common.i18n import translate
26from openlp.core.common.mixins import RegistryProperties26from openlp.core.common.mixins import RegistryProperties
27from openlp.plugins.songusage.forms.songusagedeletedialog import Ui_SongUsageDeleteDialog
27from openlp.plugins.songusage.lib.db import SongUsageItem28from openlp.plugins.songusage.lib.db import SongUsageItem
28from openlp.plugins.songusage.forms.songusagedeletedialog import Ui_SongUsageDeleteDialog
2929
3030
31class SongUsageDeleteForm(QtWidgets.QDialog, Ui_SongUsageDeleteDialog, RegistryProperties):31class SongUsageDeleteForm(QtWidgets.QDialog, Ui_SongUsageDeleteDialog, RegistryProperties):
3232
=== modified file 'openlp/plugins/songusage/forms/songusagedetaildialog.py'
--- openlp/plugins/songusage/forms/songusagedetaildialog.py 2017-10-23 22:09:57 +0000
+++ openlp/plugins/songusage/forms/songusagedetaildialog.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songusage/forms/songusagedetailform.py'
--- openlp/plugins/songusage/forms/songusagedetailform.py 2017-11-02 21:46:02 +0000
+++ openlp/plugins/songusage/forms/songusagedetailform.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
@@ -26,8 +26,8 @@
2626
27from openlp.core.common.i18n import translate27from openlp.core.common.i18n import translate
28from openlp.core.common.mixins import RegistryProperties28from openlp.core.common.mixins import RegistryProperties
29from openlp.core.common.path import create_paths
29from openlp.core.common.settings import Settings30from openlp.core.common.settings import Settings
30from openlp.core.common.path import create_paths
31from openlp.core.lib.ui import critical_error_message_box31from openlp.core.lib.ui import critical_error_message_box
32from openlp.plugins.songusage.lib.db import SongUsageItem32from openlp.plugins.songusage.lib.db import SongUsageItem
33from .songusagedetaildialog import Ui_SongUsageDetailDialog33from .songusagedetaildialog import Ui_SongUsageDetailDialog
3434
=== modified file 'openlp/plugins/songusage/lib/__init__.py'
--- openlp/plugins/songusage/lib/__init__.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songusage/lib/__init__.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songusage/lib/db.py'
--- openlp/plugins/songusage/lib/db.py 2016-12-31 11:01:36 +0000
+++ openlp/plugins/songusage/lib/db.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
4###############################################################################4###############################################################################
5# OpenLP - Open Source Lyrics Projection #5# OpenLP - Open Source Lyrics Projection #
6# --------------------------------------------------------------------------- #6# --------------------------------------------------------------------------- #
7# Copyright (c) 2008-2017 OpenLP Developers #7# Copyright (c) 2008-2018 OpenLP Developers #
8# --------------------------------------------------------------------------- #8# --------------------------------------------------------------------------- #
9# This program is free software; you can redistribute it and/or modify it #9# This program is free software; you can redistribute it and/or modify it #
10# under the terms of the GNU General Public License as published by the Free #10# under the terms of the GNU General Public License as published by the Free #
1111
=== modified file 'openlp/plugins/songusage/lib/upgrade.py'
--- openlp/plugins/songusage/lib/upgrade.py 2017-06-09 12:12:39 +0000
+++ openlp/plugins/songusage/lib/upgrade.py 2017-12-29 10:26:06 +0000
@@ -4,7 +4,7 @@
The diff has been truncated for viewing.