From e12dafae0488d82d05be9dfde3d99f9e3cbb0ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 28 May 2022 20:50:33 +0200 Subject: Add option to show/hide other screenwriters. --- pl/cfg.pl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pl') diff --git a/pl/cfg.pl b/pl/cfg.pl index fa17b38..3dd971a 100644 --- a/pl/cfg.pl +++ b/pl/cfg.pl @@ -46,6 +46,13 @@ get_view_tv_original(V) :- ; V = 1 ). +set_limit_screenwriter(V) :- set_key('LimitScreenwriter', V). +get_limit_screenwriter(V) :- + ( get_key('LimitScreenwriter', V), + atom(V), ! + ; V = "" + ). + set_sort(V) :- W is V + 2147483647, set_key('Sort', W). get_sort(V) :- ( get_key('Sort', W), -- cgit v1.2.3