File tree 5 files changed +8
-10
lines changed
5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
--[[
2
- * adevice-list.lua v.2024-08-18
2
+ * adevice-list.lua v.2024-11-11
3
3
*
4
4
* AUTHORS: dyphire
5
5
* License: MIT
@@ -31,7 +31,7 @@ local o = {
31
31
selected_style = [[ {\c&Hfce788&}]] ,
32
32
active_style = [[ {\c&H33ff66&}]] ,
33
33
cursor = [[ ➤\h]] ,
34
- indent = [[ \h\h\h\h ]] ,
34
+ indent = [[ \h\h\h]] ,
35
35
-- amount of entries to show before slicing. Optimal value depends on font/video size etc.
36
36
num_entries = 16 ,
37
37
-- wrap the cursor around the top and bottom of the list
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ local o = {
25
25
selected_style = [[ {\c&Hfce788&}]] ,
26
26
active_style = [[ {\c&H33ff66&}]] ,
27
27
cursor = [[ ➤\h]] ,
28
- indent = [[ \h\h\h\h ]] ,
28
+ indent = [[ \h\h\h]] ,
29
29
-- amount of entries to show before slicing. Optimal value depends on font/video size etc.
30
30
num_entries = 16 ,
31
31
-- slice long filenames, and how many chars to show
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ local o = {
34
34
selected_style = [[ {\c&Hfce788&}]] ,
35
35
active_style = [[ {\c&H33ff66&}]] ,
36
36
cursor = [[ ➤\h]] ,
37
- indent = [[ \h\h\h\h ]] ,
37
+ indent = [[ \h\h\h]] ,
38
38
-- amount of entries to show before slicing. Optimal value depends on font/video size etc.
39
39
num_entries = 16 ,
40
40
-- slice long filenames, and how many chars to show
Original file line number Diff line number Diff line change 1
1
--[[
2
- * track-list.lua v.2024-09-03
2
+ * track-list.lua v.2024-11-11
3
3
*
4
4
* AUTHORS: dyphire
5
5
* License: MIT
@@ -35,7 +35,7 @@ local o = {
35
35
selected_style = [[ {\c&Hfce788&}]] ,
36
36
active_style = [[ {\c&H33ff66&}]] ,
37
37
cursor = [[ ➤\h]] ,
38
- indent = [[ \h\h\h\h ]] ,
38
+ indent = [[ \h\h\h]] ,
39
39
-- amount of entries to show before slicing. Optimal value depends on font/video size etc.
40
40
num_entries = 16 ,
41
41
-- slice long filenames, and how many chars to show
Original file line number Diff line number Diff line change 6
6
-- audio and subtitle tracks.
7
7
-- Idea from https://github.com/siikamiika/scripts/blob/master/mpv%20scripts/dualaudiofix.lua
8
8
9
- local msg = require ' mp.msg'
10
- local options = require ' mp.options'
9
+ local opt = require ' mp.options'
11
10
local utils = require ' mp.utils'
12
11
13
12
local defaults = {
@@ -74,8 +73,7 @@ local tracks = {}
74
73
local last = {}
75
74
local fingerprint = " "
76
75
77
- mp .options = require " mp.options"
78
- mp .options .read_options (options , " trackselect" )
76
+ opt .read_options (options , _ , function () end )
79
77
80
78
options .special_protocols = utils .parse_json (options .special_protocols )
81
79
You can’t perform that action at this time.
0 commit comments