forked from openlp/openlp
media now works and plays
This commit is contained in:
parent
f849b0eeb0
commit
6cb16a9f0a
@ -262,8 +262,7 @@ class VlcPlayer(MediaPlayer):
|
|||||||
:param output_display: The display where the media is
|
:param output_display: The display where the media is
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
# output_display.vlc_widget.resize(output_display.size())
|
output_display.vlc_widget.resize(output_display.size())
|
||||||
pass
|
|
||||||
|
|
||||||
def play(self, controller, output_display):
|
def play(self, controller, output_display):
|
||||||
"""
|
"""
|
||||||
|
@ -264,7 +264,7 @@ class MediaMediaItem(MediaManagerItem, RegistryProperties):
|
|||||||
:param media: The media
|
:param media: The media
|
||||||
:param target_group:
|
:param target_group:
|
||||||
"""
|
"""
|
||||||
media.sort(key=lambda file_path: get_natural_key(file_path.name))
|
# media.sort(key=lambda file_path: get_natural_key(file_path.name))
|
||||||
for track in media:
|
for track in media:
|
||||||
track_info = QtCore.QFileInfo(track)
|
track_info = QtCore.QFileInfo(track)
|
||||||
item_name = None
|
item_name = None
|
||||||
|
Loading…
Reference in New Issue
Block a user