From: James Bunton Date: Sat, 23 Feb 2019 23:20:58 +0000 (+1100) Subject: mythcleandb: ignore livetv/deleted recordings X-Git-Url: https://code.delx.au/mediapc-tools/commitdiff_plain/4715a0844ee6cb8aa31f2b414a2cdb4e9023d41b mythcleandb: ignore livetv/deleted recordings --- 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]