forked from openlp/openlp
renamed canFolder
This commit is contained in:
parent
95e41dea21
commit
14b61cabf4
@ -488,7 +488,7 @@ class MediaController(object):
|
|||||||
else:
|
else:
|
||||||
for title in usedPlayers:
|
for title in usedPlayers:
|
||||||
player = self.media_players[title]
|
player = self.media_players[title]
|
||||||
if player.canFolder:
|
if player.can_folder:
|
||||||
self.resize(display, player)
|
self.resize(display, player)
|
||||||
if player.load(display):
|
if player.load(display):
|
||||||
self.current_media_players[controller.controller_type] = player
|
self.current_media_players[controller.controller_type] = player
|
||||||
|
@ -48,7 +48,7 @@ class MediaPlayer(object):
|
|||||||
self.available = self.check_available()
|
self.available = self.check_available()
|
||||||
self.isActive = False
|
self.isActive = False
|
||||||
self.can_background = False
|
self.can_background = False
|
||||||
self.canFolder = False
|
self.can_folder = False
|
||||||
self.state = MediaState.Off
|
self.state = MediaState.Off
|
||||||
self.has_own_widget = False
|
self.has_own_widget = False
|
||||||
self.audio_extensions_list = []
|
self.audio_extensions_list = []
|
||||||
|
@ -108,7 +108,7 @@ class VlcPlayer(MediaPlayer):
|
|||||||
self.original_name = u'VLC'
|
self.original_name = u'VLC'
|
||||||
self.display_name = u'&VLC'
|
self.display_name = u'&VLC'
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
self.canFolder = True
|
self.can_folder = True
|
||||||
self.audio_extensions_list = AUDIO_EXT
|
self.audio_extensions_list = AUDIO_EXT
|
||||||
self.video_extensions_list = VIDEO_EXT
|
self.video_extensions_list = VIDEO_EXT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user