Fix player file_item assignment

This commit is contained in:
Jan Hamal Dvořák 2025-03-13 21:07:41 +01:00
parent 2f67ad7b87
commit 6e600099cc

View file

@ -63,6 +63,8 @@ class VideoPlayer(GObject.Object):
) -> None:
"""Start playing a video file"""
self.file_item.value = file_item
uri = Gst.filename_to_uri(str(file_item.full_path))
assert uri is not None