~trb143/openlp/more_media

« back to all changes in this revision

Viewing changes to openlp/core/ui/media/mediacontroller.py

  • Committer: Tim Bentley
  • Date: 2019-06-11 18:08:21 UTC
  • mfrom: (2876.1.2 openlp)
  • Revision ID: tim.bentley@gmail.com-20190611180821-m0viu2wi93p2o97k
Head

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
            State().update_pre_conditions('mediacontroller', True)
105
105
            State().update_pre_conditions('media_live', True)
106
106
        else:
 
107
            if hasattr(self.main_window, 'splash') and self.main_window.splash.isVisible():
 
108
                self.main_window.splash.hide()
107
109
            State().missing_text('media_live', translate('OpenLP.SlideController',
108
110
                                 'VLC or pymediainfo are missing, so you are unable to play any media'))
109
111
        return True