[grilo-plugins] local-metadata: remove uppercase versions of blacklisted words
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] local-metadata: remove uppercase versions of blacklisted words
- Date: Thu, 11 Jun 2015 11:12:49 +0000 (UTC)
commit f631ed462bc5a6d89ff4adede09ca83631d163e6
Author: Alberto Garcia <berto igalia com>
Date: Thu Jun 11 09:37:36 2015 +0300
local-metadata: remove uppercase versions of blacklisted words
Those words are matched using strcasestr so there's no point in having
them twice.
https://bugzilla.gnome.org/show_bug.cgi?id=748604
src/local-metadata/grl-local-metadata.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/local-metadata/grl-local-metadata.c b/src/local-metadata/grl-local-metadata.c
index c7f731e..4ac5a84 100644
--- a/src/local-metadata/grl-local-metadata.c
+++ b/src/local-metadata/grl-local-metadata.c
@@ -90,11 +90,8 @@ const gchar *video_blacklisted_prefix[] = {
};
const char *video_blacklisted_words[] = {
- "720p", "1080p", "x264",
- "ws", "WS", "proper", "PROPER",
- "repack", "real.repack",
- "hdtv", "HDTV", "pdtv", "PDTV", "notv", "NOTV",
- "dsr", "DSR", "DVDRip", "divx", "DIVX", "xvid", "Xvid",
+ "720p", "1080p", "x264", "ws", "proper", "repack", "real.repack",
+ "hdtv", "pdtv", "notv", "dsr", "dvdrip", "divx", "xvid",
NULL
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]