From 9cd6f196f83e613665759c73b765dd2926929b53 Mon Sep 17 00:00:00 2001 From: iarspider Date: Mon, 27 Mar 2023 12:29:41 +0200 Subject: [PATCH 1/2] Update csv_parser.py --- csv_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv_parser.py b/csv_parser.py index e04d22a..5432f8c 100644 --- a/csv_parser.py +++ b/csv_parser.py @@ -344,7 +344,7 @@ def Main(args, options): row['title'] = clean(re.sub(i[0], i[1], row['title'])) # Skip or rename according to the user options - if row['title'] in options['ignoreGames']: + if row['title'] in options['ignoreGames'] or not set(row['tags']).isdisjoint(options['ignoreTags']): continue if row['title'] in options['rename']: row['title'] = options['rename'][row['title']] From 870c34b67eb39c49beaaf8b04ab2141ac4d55101 Mon Sep 17 00:00:00 2001 From: iarspider Date: Mon, 27 Mar 2023 12:30:16 +0200 Subject: [PATCH 2/2] Update options.example.json --- options.example.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/options.example.json b/options.example.json index 458a528..b46a349 100644 --- a/options.example.json +++ b/options.example.json @@ -11,6 +11,10 @@ "The Witcher 3: Wild Hunt – Expansion Pass", "The Witcher Adventure Game (online beta)" ], + "ignoreTags": [ + "Done", + "NoStream" + ], /* Fix incorrect titles */ "rename": { "1979 Revolution:Black Friday": "1979 Revolution: Black Friday",