aboutsummaryrefslogtreecommitdiff
path: root/pl/cfg.pl
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-05-28 20:50:33 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-05-28 20:50:33 +0200
commite12dafae0488d82d05be9dfde3d99f9e3cbb0ce0 (patch)
treeb8b24e64dc0bf3e61d997e726153eb4c5c5756fe /pl/cfg.pl
parent2608667f440c1d0f15f26c5856f86cb16bb02175 (diff)
downloadEpisodeBrowser-e12dafae0488d82d05be9dfde3d99f9e3cbb0ce0.tar.gz
Add option to show/hide other screenwriters.
Diffstat (limited to 'pl/cfg.pl')
-rw-r--r--pl/cfg.pl7
1 files changed, 7 insertions, 0 deletions
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),