Skip to content

Commit

Permalink
select new track by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Mar 2, 2024
1 parent 5112d48 commit 1a8081b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lua/dialog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ end
-- open a single file
local function open_file(i, path, action)
if action == 'add-sub' then
mp.commandv('sub-add', path, 'auto')
mp.commandv('sub-add', path)
elseif action == 'add-video' then
mp.commandv('video-add', path, 'auto')
mp.commandv('video-add', path)
elseif action == 'add-audio' then
mp.commandv('audio-add', path, 'auto')
mp.commandv('audio-add', path)
elseif action == 'bd-iso' then
open_bluray(path)
elseif action == 'dvd-iso' then
Expand Down

0 comments on commit 1a8081b

Please sign in to comment.