From 966a203ff8409972aefe3dd7d243d36adaf21fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 7 Apr 2022 00:22:37 +0200 Subject: Add "View TV Originals" option. --- pl/cfg.pl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pl/cfg.pl') diff --git a/pl/cfg.pl b/pl/cfg.pl index 90b1e94..c2eae86 100644 --- a/pl/cfg.pl +++ b/pl/cfg.pl @@ -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 + ). -- cgit v1.2.3