From 0337842ba47275104b1fe4d04d18d24876922fda Mon Sep 17 00:00:00 2001 From: supertobi Date: Wed, 19 Aug 2015 18:22:04 +0200 Subject: [PATCH] Update video.lua Changed "run_command" to "RUN_COMMAND" to make the script compatible with newer darktable versions. --- contrib/video.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/video.lua b/contrib/video.lua index c94ab5e..61d98a1 100644 --- a/contrib/video.lua +++ b/contrib/video.lua @@ -90,14 +90,14 @@ local function create_video(storage, image_table, extra_data) dt.print_error("this is the command: "..command) -- USE coroutine.yield. It does not block the UI - coroutine.yield("run_command", command) + coroutine.yield("RUN_COMMAND", command) dt.print("Video created in "..exportDirectory) if ( dt.preferences.read("video","OpenVideo","bool") == true ) then -- USE coroutine.yield. It does not block the UI local playVideoCommand = "xdg-open "..exportDirectory.."/"..exportFilename - coroutine.yield("run_command", playVideoCommand) + coroutine.yield("RUN_COMMAND", playVideoCommand) end end @@ -115,4 +115,3 @@ dt.preferences.register("video", "Codec", "enum", "Video exort: Codec","Video co -- Register dt.register_storage("video", "Video Export", show_status, create_video) -