diff --git a/openlp/core/ui/media/phononplayer.py b/openlp/core/ui/media/phononplayer.py index b343755a0..587309e87 100644 --- a/openlp/core/ui/media/phononplayer.py +++ b/openlp/core/ui/media/phononplayer.py @@ -39,6 +39,7 @@ from openlp.core.lib import translate from openlp.core.ui.media import MediaState from openlp.core.ui.media.mediaplayer import MediaPlayer +from openlp.core.common import is_macosx log = logging.getLogger(__name__) @@ -124,7 +125,11 @@ class PhononPlayer(MediaPlayer): """ Check if the player is available """ - return True + # At the moment we don't have support for phononplayer on Mac OS X + if is_macosx(): + return False + else: + return True def load(self, display): """ diff --git a/openlp/core/ui/media/webkitplayer.py b/openlp/core/ui/media/webkitplayer.py index 38e691494..673f2fc1a 100644 --- a/openlp/core/ui/media/webkitplayer.py +++ b/openlp/core/ui/media/webkitplayer.py @@ -33,7 +33,7 @@ from PyQt4 import QtGui import logging -from openlp.core.common import Settings +from openlp.core.common import Settings, is_macosx from openlp.core.lib import translate from openlp.core.ui.media import MediaState from openlp.core.ui.media.mediaplayer import MediaPlayer @@ -231,7 +231,11 @@ class WebkitPlayer(MediaPlayer): """ Check the availability of the media player """ - return True + # At the moment we don't have support for webkitplayer on Mac OS X + if is_macosx(): + return False + else: + return True def load(self, display): """