From 15a09ae4bd7cc686d1be6735b4e72cf490776f11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 24 Aug 2022 13:14:12 +0200 Subject: Re-enable screenwriter limit. --- c/episodelistview.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'c/episodelistview.cpp') diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp index cadd751..a76717a 100644 --- a/c/episodelistview.cpp +++ b/c/episodelistview.cpp @@ -401,9 +401,10 @@ void EpisodeListView::Update() if (!e.siEp[0]) continue; - //if (g_cfg.limitScreenwriter[0] && !Pl("episode_data","episode_datum",iEp, - // "Screenwriter",g_cfg.limitScreenwriter)) - // continue; + if (extern FileView g_fvDlv; + g_cfg.limitToScreenwriter[0] + && wcscmp(g_fvDlv.At(iEp-1).screenwriter, g_cfg.limitToScreenwriter) != 0) + continue; if (!g_cfg.bViewWatched && e.bWatched) continue; -- cgit v1.2.3