Verified Commit 6a71f595 authored by Todd Weaver's avatar Todd Weaver
Browse files

Showing default labels for time played (0:00) and duration (calculated) upon stream setup

parent 4047e190
......@@ -125,6 +125,8 @@ class ResultsBox(Gtk.Box):
self.title.set_label(self.video_title)
self.channel.set_label(self.video_channel)
self.duration.set_label(video_duration)
self.time_viewed.set_label('0:00')
self.time_remaining.set_label(f"-{video_duration}")
self.player.set_property("uri", video_meta['video_uri'])
self.player.set_property("video-sink", self.sink)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment