Introduction
Introduction Statistics Contact Development Disclaimer Help
Show episode numbers - mpv-jellyfin - MPV script for adding an interface for Je…
Log
Files
Refs
README
LICENSE
---
commit 524e099c861863aea23c91dd09090c85bcff8839
parent 25c2df0372b1fef15b36401bb9e66c313a037e0c
Author: EmperorPenguin18 <[email protected]>
Date: Sat, 21 Jan 2023 20:33:03 -0500
Show episode numbers
Diffstat:
M scripts/jellyfin.lua | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/scripts/jellyfin.lua b/scripts/jellyfin.lua
@@ -63,10 +63,16 @@ local function update_data()
for _, item in ipairs(items) do
if _ > selection - (53 / op) then
if _ < selection + (20 * op) then
+ local index
+ if item.IndexNumber and item.IsFolder == false…
+ index = item.IndexNumber..". "
+ else
+ index = ""
+ end
if _ == selection then
- overlay.data = overlay.data.."{\\fs16}…
+ overlay.data = overlay.data.."{\\fs16}…
else
- overlay.data = overlay.data.."{\\fs16}…
+ overlay.data = overlay.data.."{\\fs16}…
end
end
end
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.