diff options
author | Arno <arno@disconnect.de> | 2018-11-03 10:40:23 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-11-03 10:40:23 +0100 |
commit | 40566bc0acc854f7bb49bb67ee816314e2943b38 (patch) | |
tree | d14801d4c9987bfb6ef4c2558d72c25e74d550d8 /movieinfopage.h | |
parent | ea39a8e3132a19984b32af42257c1a3a8a1f9814 (diff) | |
download | SheMov-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.h | 2 |
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(); |