openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #19724
[Merge] lp:~trb143/openlp/media into lp:openlp
Tim Bentley has proposed merging lp:~trb143/openlp/media into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Related bugs:
Bug #885150 in OpenLP: "Need non self contained service files"
https://bugs.launchpad.net/openlp/+bug/885150
Bug #899714 in OpenLP: "Play/Pause button should be merged"
https://bugs.launchpad.net/openlp/+bug/899714
Bug #927829 in OpenLP: "media backends should provide some information about themselves in the settings"
https://bugs.launchpad.net/openlp/+bug/927829
Bug #952821 in OpenLP: "Unable to play videos from web"
https://bugs.launchpad.net/openlp/+bug/952821
Bug #958198 in OpenLP: "Replacing live background with a video shows theme behind"
https://bugs.launchpad.net/openlp/+bug/958198
Bug #999618 in OpenLP: "Video position slider jumps to part way through video"
https://bugs.launchpad.net/openlp/+bug/999618
Bug #1022053 in OpenLP: "Previewing media item interferes with live media item"
https://bugs.launchpad.net/openlp/+bug/1022053
Bug #1063211 in OpenLP: "Media and Presentation Plugins do not update the service suffix lists if players are added or removed without a restart"
https://bugs.launchpad.net/openlp/+bug/1063211
Bug #1105688 in OpenLP: "Main Window Will not Display"
https://bugs.launchpad.net/openlp/+bug/1105688
Bug #1144143 in OpenLP: "OpenLP does not remember default theme"
https://bugs.launchpad.net/openlp/+bug/1144143
For more details, see:
https://code.launchpad.net/~trb143/openlp/media/+merge/151601
Fix bug caused by bootstrap merge stopping media working
Remove rogue generation of a default theme
--
https://code.launchpad.net/~trb143/openlp/media/+merge/151601
Your team OpenLP Core is requested to review the proposed merge of lp:~trb143/openlp/media into lp:openlp.
=== modified file 'openlp/core/ui/mainwindow.py'
--- openlp/core/ui/mainwindow.py 2013-02-26 17:27:30 +0000
+++ openlp/core/ui/mainwindow.py 2013-03-04 19:38:37 +0000
@@ -536,9 +536,6 @@
Registry().register_function(u'openlp_version_check', self.version_notice)
Registry().register_function(u'config_screen_changed', self.screen_changed)
self.renderer = Renderer()
- # Create the displays as all necessary components are loaded.
- self.preview_controller.screenSizeChanged()
- self.live_controller.screenSizeChanged()
log.info(u'Load data from Settings')
if Settings().value(u'advanced/save current plugin'):
savedPlugin = Settings().value(u'advanced/current media plugin')
=== modified file 'openlp/core/ui/media/mediacontroller.py'
--- openlp/core/ui/media/mediacontroller.py 2013-02-21 21:18:26 +0000
+++ openlp/core/ui/media/mediacontroller.py 2013-03-04 19:38:37 +0000
@@ -309,7 +309,7 @@
def setup_display(self, display, preview):
"""
- After a new display is configured, all media related widget will be
+ After a new display is configured, all media related widgets will be
created too
``display``
=== modified file 'openlp/core/ui/slidecontroller.py'
--- openlp/core/ui/slidecontroller.py 2013-02-27 11:33:03 +0000
+++ openlp/core/ui/slidecontroller.py 2013-03-04 19:38:37 +0000
@@ -87,6 +87,7 @@
Set up the Slide Controller.
"""
DisplayController.__init__(self, parent, isLive)
+ Registry().register_function(u'bootstrap_post_set_up', self.screenSizeChanged)
self.screens = ScreenList()
try:
self.ratio = float(self.screens.current[u'size'].width()) / float(self.screens.current[u'size'].height())
=== modified file 'openlp/core/ui/thememanager.py'
--- openlp/core/ui/thememanager.py 2013-03-01 17:45:17 +0000
+++ openlp/core/ui/thememanager.py 2013-03-04 19:38:37 +0000
@@ -280,8 +280,7 @@
save_to = None
save_from = None
if theme_data.background_type == u'image':
- save_to = os.path.join(self.path, new_theme_name,
- os.path.split(unicode(theme_data.background_filename))[1])
+ save_to = os.path.join(self.path, new_theme_name, os.path.split(unicode(theme_data.background_filename))[1])
save_from = theme_data.background_filename
theme_data.theme_name = new_theme_name
theme_data.extend_image_filename(self.path)
@@ -407,7 +406,7 @@
theme_file = os.path.join(self.path, theme_file)
self.unzip_theme(theme_file, self.path)
delete_file(theme_file)
- files = AppLocation.get_files(self.settingsSection, u'.otz')
+ files = AppLocation.get_files(self.settingsSection, u'.png')
# No themes have been found so create one
if not files:
theme = ThemeXML()
Follow ups