media now works and plays

This commit is contained in:
Tim Bentley 2019-03-25 21:45:19 +00:00
parent f849b0eeb0
commit 6cb16a9f0a
2 changed files with 2 additions and 3 deletions

View File

@ -262,8 +262,7 @@ class VlcPlayer(MediaPlayer):
:param output_display: The display where the media is
:return:
"""
# output_display.vlc_widget.resize(output_display.size())
pass
output_display.vlc_widget.resize(output_display.size())
def play(self, controller, output_display):
"""

View File

@ -264,7 +264,7 @@ class MediaMediaItem(MediaManagerItem, RegistryProperties):
:param media: The media
: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:
track_info = QtCore.QFileInfo(track)
item_name = None