Skip to content

Commit 6b118bf

Browse files
committed
update
1 parent f0c4191 commit 6b118bf

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

adevice-list.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--[[
2-
* adevice-list.lua v.2024-08-18
2+
* adevice-list.lua v.2024-11-11
33
*
44
* AUTHORS: dyphire
55
* License: MIT
@@ -31,7 +31,7 @@ local o = {
3131
selected_style = [[{\c&Hfce788&}]],
3232
active_style = [[{\c&H33ff66&}]],
3333
cursor = [[➤\h]],
34-
indent = [[\h\h\h\h]],
34+
indent = [[\h\h\h]],
3535
--amount of entries to show before slicing. Optimal value depends on font/video size etc.
3636
num_entries = 16,
3737
-- wrap the cursor around the top and bottom of the list

chapter-list.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ local o = {
2525
selected_style = [[{\c&Hfce788&}]],
2626
active_style = [[{\c&H33ff66&}]],
2727
cursor = [[➤\h]],
28-
indent = [[\h\h\h\h]],
28+
indent = [[\h\h\h]],
2929
--amount of entries to show before slicing. Optimal value depends on font/video size etc.
3030
num_entries = 16,
3131
--slice long filenames, and how many chars to show

edition-list.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ local o = {
3434
selected_style = [[{\c&Hfce788&}]],
3535
active_style = [[{\c&H33ff66&}]],
3636
cursor = [[➤\h]],
37-
indent = [[\h\h\h\h]],
37+
indent = [[\h\h\h]],
3838
--amount of entries to show before slicing. Optimal value depends on font/video size etc.
3939
num_entries = 16,
4040
--slice long filenames, and how many chars to show

track-list.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--[[
2-
* track-list.lua v.2024-09-03
2+
* track-list.lua v.2024-11-11
33
*
44
* AUTHORS: dyphire
55
* License: MIT
@@ -35,7 +35,7 @@ local o = {
3535
selected_style = [[{\c&Hfce788&}]],
3636
active_style = [[{\c&H33ff66&}]],
3737
cursor = [[➤\h]],
38-
indent = [[\h\h\h\h]],
38+
indent = [[\h\h\h]],
3939
--amount of entries to show before slicing. Optimal value depends on font/video size etc.
4040
num_entries = 16,
4141
--slice long filenames, and how many chars to show

trackselect.lua

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
-- audio and subtitle tracks.
77
-- Idea from https://github.com/siikamiika/scripts/blob/master/mpv%20scripts/dualaudiofix.lua
88

9-
local msg = require 'mp.msg'
10-
local options = require 'mp.options'
9+
local opt = require 'mp.options'
1110
local utils = require 'mp.utils'
1211

1312
local defaults = {
@@ -74,8 +73,7 @@ local tracks = {}
7473
local last = {}
7574
local fingerprint = ""
7675

77-
mp.options = require "mp.options"
78-
mp.options.read_options(options, "trackselect")
76+
opt.read_options(options, _, function() end)
7977

8078
options.special_protocols = utils.parse_json(options.special_protocols)
8179

0 commit comments

Comments
 (0)