forked from openlp/openlp
clean up
This commit is contained in:
parent
b0585297fb
commit
49cd100f90
@ -379,8 +379,7 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
fullList = []
|
||||
for count in range(self.listView.count()):
|
||||
names.append(self.listView.item(count).text())
|
||||
fullList.append(self.listView.item(count).
|
||||
data(QtCore.Qt.UserRole))
|
||||
fullList.append(self.listView.item(count).data(QtCore.Qt.UserRole))
|
||||
duplicatesFound = False
|
||||
filesAdded = False
|
||||
for file in files:
|
||||
|
@ -145,8 +145,7 @@ class VlcPlayer(MediaPlayer):
|
||||
log.debug(u'load vid in Vlc Controller')
|
||||
controller = display.controller
|
||||
volume = controller.media_info.volume
|
||||
file_path = str(
|
||||
controller.media_info.file_info.absoluteFilePath().toUtf8())
|
||||
file_path = str(controller.media_info.file_info.absoluteFilePath())
|
||||
path = os.path.normcase(file_path)
|
||||
# create the media
|
||||
display.vlcMedia = display.vlcInstance.media_new_path(path)
|
||||
|
Loading…
Reference in New Issue
Block a user