Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zydezu committed Apr 24, 2024
1 parent d497066 commit b0efc4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modernx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ function checktitle()
-- print("Failed to load metadata")
end

state.localDescriptionClick = title .. "\\N----------\\N"
if (title) then state.localDescriptionClick = title .. "\\N----------\\N" end
if (description ~= nil) then
description = description:gsub('\n', '\\N'):gsub('\r', '\\N') -- old youtube videos seem to use /r

Expand Down Expand Up @@ -3614,6 +3614,8 @@ if user_opts.keybindings then
end
end
end);

mp.add_key_binding(nil, 'show_osc', function() show_osc() end)
end

mp.observe_property('fullscreen', 'bool',
Expand Down

0 comments on commit b0efc4a

Please sign in to comment.