diff options
author | John Ankarström <john@ankarstrom.se> | 2022-04-07 00:22:37 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-04-07 00:22:37 +0200 |
commit | 966a203ff8409972aefe3dd7d243d36adaf21fce (patch) | |
tree | f15b8ffefb867a4b7ac95a49bd6170a3ed58f070 /pl/cfg.pl | |
parent | c4e5a91da5f50b01cbf46d70830fdb7e51413e29 (diff) | |
download | EpisodeBrowser-966a203ff8409972aefe3dd7d243d36adaf21fce.tar.gz |
Add "View TV Originals" option.
Diffstat (limited to 'pl/cfg.pl')
-rw-r--r-- | pl/cfg.pl | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -38,3 +38,10 @@ get_view_watched(V) :- integer(V), ! ; V = 1 ). + +set_view_tv_original(V) :- set_key('ViewTVOriginal', V). +get_view_tv_original(V) :- + ( get_key('ViewTVOriginal', V), + integer(V), ! + ; V = 1 + ). |