From 1a814db1c5b7a63158e39ccee856020d4cd2cdd5 Mon Sep 17 00:00:00 2001 From: TheColorman Date: Mon, 19 Jun 2023 15:04:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Renamed=20upload=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- videoclip.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/videoclip.lua b/videoclip.lua index 5f09ebe..0418bea 100644 --- a/videoclip.lua +++ b/videoclip.lua @@ -392,8 +392,8 @@ main_menu.keybindings = { { key = 'c', fn = function() encoder.create_clip('video') end }, { key = 'C', fn = function() force_resolution(1920, -2, encoder.create_clip, 'video') end }, { key = 'a', fn = function() encoder.create_clip('audio') end }, - { key = 'x', fn = function() main_menu:upload_litterbox() end }, - { key = 'X', fn = function() force_resolution(1920, -2, main_menu.upload_litterbox) end }, + { key = 'x', fn = function() main_menu:upload_catbox() end }, + { key = 'X', fn = function() force_resolution(1920, -2, main_menu.upload_catbox) end }, { key = 'p', fn = function() pref_menu:open() end }, { key = 'o', fn = function() mp.commandv('run', os_type == 'macos' and "open" or "xdg-open", 'https://streamable.com/') end }, { key = 'ESC', fn = function() main_menu:close() end }, @@ -448,7 +448,7 @@ function main_menu:update() self:overlay_draw(osd:get_text()) end -function main_menu:upload_litterbox() +function main_menu:upload_catbox() local endpoint = config.litterbox and 'https://litterbox.catbox.moe/resources/internals/api.php' or 'https://catbox.moe/user/api.php' encoder.create_clip('video',