From 4715a0844ee6cb8aa31f2b414a2cdb4e9023d41b Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sun, 24 Feb 2019 10:20:58 +1100 Subject: [PATCH] mythcleandb: ignore livetv/deleted recordings --- mythcleandb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythcleandb b/mythcleandb index 6e000fb..b271c45 100755 --- a/mythcleandb +++ b/mythcleandb @@ -27,7 +27,7 @@ def find_orphan_db_records(db_connection, recordings_dir): cursor.execute(""" SELECT basename FROM recorded - WHERE progend < now() + WHERE progend < now() AND recgroup NOT IN ('LiveTV', 'Deleted') """) for row in cursor: basename = row[0] -- 2.39.2