From a90ed071336371936abb25b6de892c543d3c30cf Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 22 Feb 2025 11:12:42 +0100 Subject: Improve Metadata parsing Check the filename for the common pattern . If found, parse it and apply the result to the appropriate widgets. --- movieinfopage.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'movieinfopage.h') 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 #include 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; }; -- cgit v1.2.3-70-g09d2