forked from dafyk/mpvEPG
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconf.lua
More file actions
112 lines (111 loc) · 6.43 KB
/
conf.lua
File metadata and controls
112 lines (111 loc) · 6.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
-------------------------------------------------------------------------------
-- User configuration file, if you change value you override default value
-- if you delete some key+value for this pair used default value from main.lua
-- This file is optional, you can delete this config, if this config have syntax
-- error this config be ignored and used default values from main.lua src file
-------------------------------------------------------------------------------
local config =
{
-- key binding -------------------------------------------------------------
key_update_epg = 'u', -- manual upgrade EPG for current playlist
key_preload_epg = 'g', -- manual load all tv cache and try find channel
key_show_program = 'h', -- general show tv program information
key_show_toggle = 'y', -- works like key_show_program but as switcher
key_scroll_program = 'n', -- scroll down current tv channel information
key_close_program = 'esc',-- manual close tv information
-- manual show by update, preload, show, switch (scroll ignore it) ---------
manual_show_mode = 2, -- mode 1 == manual detail, mode 2 == full detail
manual_show_details= 2, -- number programs if manual_show_mode == 1
-- auto show ---------------------------------------------------------------
auto_show_program = true, -- show tv program if tv channel opened, changed
auto_show_mode = 2, -- 1 == manual detail, 2 == full detail, 3 == light mode
auto_show_details = 2, -- number programs if auto_show_mode == 1
-- auto close --------------------------------------------------------------
auto_close_program = true, -- autoclose tv program (scroll,toggle ignored it)
auto_close_duration= 5, -- sec to close tv program (scroll,toggle ignored it)
-- update progress ---------------------------------------------------------
update_visual_progress = true,-- enable redraw clock, progress bar / percent
update_progress_duration = 5, -- sec to update clock, progress bar / percent
-- time correction ---------------------------------------------------------
force_time_shift = 0, -- you time shift in hours, for example: 4 or -4
ignore_tvg_shift = true, -- dont use additional shift time for EPG (in m3u data)
ignore_time_zone = false, -- if need directly use EPG time as local time (in epg data)
-- special -----------------------------------------------------------------
ignore_noepg_m3u = true, -- ignore playlist if M3U not contains EPG link
-- system depend configuration ---------------------------------------------
zip_software = 1, -- 1 == gzip, 2 == 7-Zip
curl_path = '/usr/bin/curl', -- set fullpath to you curl installation
zip_path = '/usr/bin/gzip', -- set fullpath to you zip installation
-- auto update cache -------------------------------------------------------
auto_cache_refresh = false, -- enable/disable automatic cache refresh
cache_refresh_days = 2, -- set days before refresh
----------------------------------------------------------------------------
-- visual/style, colors and font sizes (! use BGR colors, not RGB !)
----------------------------------------------------------------------------
-- current tv program --
-------------------------
title_color = '00FBFE', -- now playing title color
title_size = '50', -- now playing title font size
description_color = '54E5B2', -- now playing description_color
description_size = '25', -- now playing description size
progress_size = '40', -- percentual progress font size
-------------------------
-- upcoming tv program --
-------------------------
upcoming_color = 'FFFFFF', -- upcoming title color
upcoming_time_size = '25', -- upcoming broadcast time font size
upcoming_title_size = '35', -- upcoming broadcast title font size
upcoming_description_color = 'C9DBE0', -- this day description color
upcoming_description_size = '17', -- this day description size
-------------------------
-- tomorrow tv program --
-------------------------
tomorrow_prefix_color = '3643FC', -- next day notice message color
tomorrow_prefix_size = '25', -- next day notice message size
-------------------------
-- top bar and clock --
-------------------------
clock = true, -- enable/disable clock on top right
clock_color = '00FBFE', -- clock color on top right side
clock_bold = true, -- set false if clock outside screen
progress_bar_color = '00FBFE', -- progress bar line color
-------------------------
-- darkness background --
-------------------------
background = true, -- enable/disable background filling
background_opacity = '40', -- allow 10,20,30,40,50,60,70,80,90 opacity
background_color = '000000',-- change background color if you need it
-------------------------
-- background height --
-------------------------
background_for_info = '25', -- background height for information messages
background_for_light = '0.2', -- background height only for light mode (0 to 1)
--------------------------
-- message no tv info --
--------------------------
no_epg_color = '002DD1', -- no EPG message color
no_epg_size = '25', -- no EPG message font size
--------------------------
-- visual brakets --
--------------------------
brakets = true, -- on/off brakets for clock and percent progress
--------------------------
-- progress percents --
--------------------------
progress_percentages=true, -- on/off percent or progress in top title
--------------------------
-- playinfo style --
--------------------------
top_title_playinfo_style=1, -- 1 -- time + percent in right
-- 2 -- time + percent in left
-- 3 -- time + percent under top title
--------------------------
-- cache load modes --
--------------------------
all_cache_in_memory = false, -- on/off store all EPG cache in RAM
-- false - if you EPG large, use with index file
-- true - if you EPG small, use just cache file
}
-------------------------------------------------------------------------------
return config -- do not delete this line
-------------------------------------------------------------------------------