Skip to content

Commit

Permalink
fix-title
Browse files Browse the repository at this point in the history
  • Loading branch information
sodomon2 committed Oct 13, 2020
1 parent 86b5b83 commit 08aa756
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/SODPlayer-video.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ local function bus_callback(bus, message)
print 'end of stream'
stop_media()
quit_fullscreen()
ui.main_window.title = 'SODPlayer'
elseif message.type.STATE_CHANGED then
local old, new, pending = message:parse_state_changed()
print(string.format('state changed: %s->%s:%s', old, new, pending))
Expand All @@ -90,6 +91,7 @@ end

function url()
stop_media()
ui.main_window.title = 'SODPlayer'
ui.entry_url:grab_focus()
play.uri = ui.entry_url.text
ui.dialog_url:hide()
Expand Down

0 comments on commit 08aa756

Please sign in to comment.