summaryrefslogtreecommitdiffstats
path: root/movieinfopage.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2025-02-22 11:12:42 +0100
committerArno <arno@disconnect.de>2025-02-22 11:12:42 +0100
commita90ed071336371936abb25b6de892c543d3c30cf (patch)
treefee499fb262c9e5ea871e98d281b34c2e71f9440 /movieinfopage.h
parentd2f5de6a4dcfafe765d77af745fec666f5bf60f2 (diff)
downloadSheMov-a90ed071336371936abb25b6de892c543d3c30cf.tar.gz
SheMov-a90ed071336371936abb25b6de892c543d3c30cf.tar.bz2
SheMov-a90ed071336371936abb25b6de892c543d3c30cf.zip
Improve Metadata parsing
Check the filename for the common pattern <actors - title - date>. If found, parse it and apply the result to the appropriate widgets.
Diffstat (limited to 'movieinfopage.h')
-rw-r--r--movieinfopage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/movieinfopage.h b/movieinfopage.h
index 0407c33..d0354b2 100644
--- a/movieinfopage.h
+++ b/movieinfopage.h
@@ -8,7 +8,6 @@
#ifndef MOVIEINFOPAGE_H
#define MOVIEINFOPAGE_H
-#include <QDateTime>
#include <QWizardPage>
class WizardTreeModel;
@@ -48,6 +47,7 @@ class MovieInfoPage : public QWizardPage {
private:
void setupGui();
+ bool extractFromTitle(const QString &title);
SmTreeView *mFileView;
QLineEdit *mTitle;
QLineEdit *mSubtitle;
@@ -64,6 +64,7 @@ class MovieInfoPage : public QWizardPage {
QString mCurTitle;
QString mCurSubtitle;
QStringList mOrigins;
+ QStringList mPossbileActors;
int mCurSeriesno;
int mCurQuality;
};