From 40566bc0acc854f7bb49bb67ee816314e2943b38 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 3 Nov 2018 10:40:23 +0100 Subject: 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. --- movieinfopage.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'movieinfopage.h') 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(); -- cgit v1.2.3-70-g09d2