j
This commit is contained in:
@@ -1987,7 +1987,7 @@ mp.register_script_message('medios-download-pick-store', function(json)
|
||||
local url = tostring(_pending_download.url)
|
||||
local fmt = tostring(_pending_download.format)
|
||||
|
||||
local pipeline_cmd = 'download-media -url ' .. quote_pipeline_arg(url) .. ' -format ' .. quote_pipeline_arg(fmt)
|
||||
local pipeline_cmd = 'download-file -url ' .. quote_pipeline_arg(url) .. ' -format ' .. quote_pipeline_arg(fmt)
|
||||
.. ' | add-file -store ' .. quote_pipeline_arg(store)
|
||||
|
||||
if not _run_pipeline_detached(pipeline_cmd) then
|
||||
@@ -2015,7 +2015,7 @@ mp.register_script_message('medios-download-pick-path', function()
|
||||
local url = tostring(_pending_download.url)
|
||||
local fmt = tostring(_pending_download.format)
|
||||
|
||||
local pipeline_cmd = 'download-media -url ' .. quote_pipeline_arg(url) .. ' -format ' .. quote_pipeline_arg(fmt)
|
||||
local pipeline_cmd = 'download-file -url ' .. quote_pipeline_arg(url) .. ' -format ' .. quote_pipeline_arg(fmt)
|
||||
.. ' | add-file -path ' .. quote_pipeline_arg(folder)
|
||||
|
||||
if not _run_pipeline_detached(pipeline_cmd) then
|
||||
|
||||
Reference in New Issue
Block a user