diff --git a/openlp/core/common/settings.py b/openlp/core/common/settings.py index 426e291dd..c7f403132 100644 --- a/openlp/core/common/settings.py +++ b/openlp/core/common/settings.py @@ -202,7 +202,7 @@ class Settings(QtCore.QSettings): 'core/view mode': 'default', # The other display settings (display position and dimensions) are defined in the ScreenList class due to a # circular dependency. - 'core/display on monitor': True, + 'core/display on monitor': False, 'core/override position': False, 'core/monitor': {}, 'core/application version': '0.0', diff --git a/openlp/core/ui/media/mediacontroller.py b/openlp/core/ui/media/mediacontroller.py index 2c76dc4bb..a79cda520 100644 --- a/openlp/core/ui/media/mediacontroller.py +++ b/openlp/core/ui/media/mediacontroller.py @@ -138,7 +138,10 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties): Set up the controllers. :return: """ - self.setup_display(self.live_controller.display, False) + try: + self.setup_display(self.live_controller.display, False) + except AttributeError: + State().update_pre_conditions('media', False) self.setup_display(self.preview_controller.preview_display, True) def display_controllers(self, controller_type): diff --git a/openlp/core/ui/media/vlcplayer.py b/openlp/core/ui/media/vlcplayer.py index 2830c1305..bf2030b9a 100644 --- a/openlp/core/ui/media/vlcplayer.py +++ b/openlp/core/ui/media/vlcplayer.py @@ -224,7 +224,7 @@ class VlcPlayer(MediaPlayer): return False output_display.vlc_media = audio_cd_tracks.item_at_index(controller.media_info.title_track) elif controller.media_info.media_type == MediaType.Stream: - output_display.vlc_media = output_display.vlc_instance.media_new_location("ZZZZZZ") + output_display.vlc_media = output_display.vlc_instance.media_new_location('ZZZZZZ') else: output_display.vlc_media = output_display.vlc_instance.media_new_path(path) # put the media in the media player