[Xfce4-commits] <tumbler:master> Make the extension matching more global.
Nick Schermer
noreply at xfce.org
Thu Dec 27 11:30:08 CET 2012
Updating branch refs/heads/master
to aff8b12f4b3a886575c427a598a9b36786643070 (commit)
from 1b4ed876beb42b3b84b850ce20f085056b7f754c (commit)
commit aff8b12f4b3a886575c427a598a9b36786643070
Author: Nick Schermer <nick at xfce.org>
Date: Wed Dec 12 21:52:46 2012 +0100
Make the extension matching more global.
Just match the last 3 word-chars at the end of the string, starting
with a dot.
plugins/cover-thumbnailer/cover-thumbnailer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/cover-thumbnailer/cover-thumbnailer.c b/plugins/cover-thumbnailer/cover-thumbnailer.c
index 39a01b8..3cbf9bf 100644
--- a/plugins/cover-thumbnailer/cover-thumbnailer.c
+++ b/plugins/cover-thumbnailer/cover-thumbnailer.c
@@ -43,7 +43,7 @@
#define SERIES_PATTERN "\\b((?:s\\d{1,2}e\\d{1,2}|\\d{1,2}x\\d{1,2}))\\b"
-#define ABBREV_PATTERN "\\b(\\w{1,}(?:rip|scr)|r5|hdtv|(?:480|720|1080)p|\(?:avi|mpe?g|mkv|ts)$)\\b"
+#define ABBREV_PATTERN "\\b(\\w{1,}(?:rip|scr)|r5|hdtv|(?:480|720|1080)p|\\.\\w{3}$)\\b"
#define YEAR_PATTERN "\\b(\\d{4})\\b"
#define OMDBAPI_QUERY_URL "http://www.omdbapi.com/?t="
More information about the Xfce4-commits
mailing list