From dd001e15ab461933310c7418780f044d88729333 Mon Sep 17 00:00:00 2001 From: Erik Lundin Date: Sat, 8 Sep 2012 00:17:53 +0200 Subject: [PATCH 1/2] Corrected width of the default main output area (was wider than the screen). --- openlp/core/lib/renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/lib/renderer.py b/openlp/core/lib/renderer.py index 8dc03c33e..f16568f06 100644 --- a/openlp/core/lib/renderer.py +++ b/openlp/core/lib/renderer.py @@ -365,7 +365,7 @@ class Renderer(object): The theme information """ if not theme_data.font_main_override: - return QtCore.QRect(10, 0, self.width, self.footer_start) + return QtCore.QRect(10, 0, self.width - 20, self.footer_start) else: return QtCore.QRect(theme_data.font_main_x, theme_data.font_main_y, theme_data.font_main_width - 1, theme_data.font_main_height - 1) From ad39fa11e531cdf94d75d685b39afe7681647a63 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sat, 8 Sep 2012 19:15:08 +0200 Subject: [PATCH 2/2] Reformatted the list of extensions, and added *.ogv (which is actually usually used for libtheora videos in the OGG container format) --- openlp/core/ui/media/vlcplayer.py | 53 ++++++++++++++----------------- 1 file changed, 24 insertions(+), 29 deletions(-) diff --git a/openlp/core/ui/media/vlcplayer.py b/openlp/core/ui/media/vlcplayer.py index bf1e7a920..6203ca696 100644 --- a/openlp/core/ui/media/vlcplayer.py +++ b/openlp/core/ui/media/vlcplayer.py @@ -63,37 +63,32 @@ if VLC_AVAILABLE: VLC_AVAILABLE = False log.debug(u'VLC could not be loaded: %s' % version) -AUDIO_EXT = [ - u'*.mp3' - , u'*.wav' - , u'*.wma' - , u'*.ogg' - ] +AUDIO_EXT = [u'*.mp3', u'*.wav', u'*.wma', u'*.ogg'] VIDEO_EXT = [ - u'*.3gp' - , u'*.asf', u'*.wmv' - , u'*.au' - , u'*.avi' - , u'*.flv' - , u'*.mov' - , u'*.mp4' - , u'*.ogm' - , u'*.mkv', u'*.mka' - , u'*.ts', u'*.mpg' - , u'*.mpg', u'*.mp2' - , u'*.nsc' - , u'*.nsv' - , u'*.nut' - , u'*.ra', u'*.ram', u'*.rm', u'*.rv' ,u'*.rmbv' - , u'*.a52', u'*.dts', u'*.aac', u'*.flac' ,u'*.dv', u'*.vid' - , u'*.tta', u'*.tac' - , u'*.ty' - , u'*.dts' - , u'*.xa' - , u'*.iso' - , u'*.vob' - ] + u'*.3gp', + u'*.asf', u'*.wmv', + u'*.au', + u'*.avi', + u'*.flv', + u'*.mov', + u'*.mp4', + u'*.ogm', u'*.ogv', + u'*.mkv', u'*.mka', + u'*.ts', u'*.mpg', + u'*.mpg', u'*.mp2', + u'*.nsc', + u'*.nsv', + u'*.nut', + u'*.ra', u'*.ram', u'*.rm', u'*.rv' ,u'*.rmbv', + u'*.a52', u'*.dts', u'*.aac', u'*.flac' ,u'*.dv', u'*.vid', + u'*.tta', u'*.tac', + u'*.ty', + u'*.dts', + u'*.xa', + u'*.iso', + u'*.vob' +] class VlcPlayer(MediaPlayer):