renamed canFolder

This commit is contained in:
Andreas Preikschat 2013-03-07 00:00:57 +01:00
parent 95e41dea21
commit 14b61cabf4
3 changed files with 3 additions and 3 deletions

View File

@ -488,7 +488,7 @@ class MediaController(object):
else:
for title in usedPlayers:
player = self.media_players[title]
if player.canFolder:
if player.can_folder:
self.resize(display, player)
if player.load(display):
self.current_media_players[controller.controller_type] = player

View File

@ -48,7 +48,7 @@ class MediaPlayer(object):
self.available = self.check_available()
self.isActive = False
self.can_background = False
self.canFolder = False
self.can_folder = False
self.state = MediaState.Off
self.has_own_widget = False
self.audio_extensions_list = []

View File

@ -108,7 +108,7 @@ class VlcPlayer(MediaPlayer):
self.original_name = u'VLC'
self.display_name = u'&VLC'
self.parent = parent
self.canFolder = True
self.can_folder = True
self.audio_extensions_list = AUDIO_EXT
self.video_extensions_list = VIDEO_EXT