diff options
author | John Ankarström <john@ankarstrom.se> | 2022-05-28 20:50:33 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-05-28 20:50:33 +0200 |
commit | e12dafae0488d82d05be9dfde3d99f9e3cbb0ce0 (patch) | |
tree | b8b24e64dc0bf3e61d997e726153eb4c5c5756fe /pl/cfg.pl | |
parent | 2608667f440c1d0f15f26c5856f86cb16bb02175 (diff) | |
download | EpisodeBrowser-e12dafae0488d82d05be9dfde3d99f9e3cbb0ce0.tar.gz |
Add option to show/hide other screenwriters.
Diffstat (limited to 'pl/cfg.pl')
-rw-r--r-- | pl/cfg.pl | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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), |