summaryrefslogtreecommitdiffstats
path: root/movieinfopage.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-11-03 10:40:23 +0100
committerArno <arno@disconnect.de>2018-11-03 10:40:23 +0100
commit40566bc0acc854f7bb49bb67ee816314e2943b38 (patch)
treed14801d4c9987bfb6ef4c2558d72c25e74d550d8 /movieinfopage.h
parentea39a8e3132a19984b32af42257c1a3a8a1f9814 (diff)
downloadSheMov-40566bc0acc854f7bb49bb67ee816314e2943b38.tar.gz
SheMov-40566bc0acc854f7bb49bb67ee816314e2943b38.tar.bz2
SheMov-40566bc0acc854f7bb49bb67ee816314e2943b38.zip
Implement fuzzy check for subtitles
Query the database for a version of the new subtitle converted to lower and some special characters replaced. For now those chars are '[ .,''!-]' This should give us a good approximation if we already have a subtitle like that.
Diffstat (limited to 'movieinfopage.h')
-rw-r--r--movieinfopage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/movieinfopage.h b/movieinfopage.h
index da9ddf6..9d728d7 100644
--- a/movieinfopage.h
+++ b/movieinfopage.h
@@ -41,6 +41,8 @@ class MovieInfoPage : public QWizardPage {
void addOld();
void addFiles();
void removeFile();
+ void toLower();
+ void fuzzyCheck();
private:
void setupGui();