summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2015-08-28 02:09:27 +0200
committerArno <arno@disconnect.de>2015-08-28 02:09:27 +0200
commit18f6e4027fa1383f336f902745f5a2e7796f9836 (patch)
treee43e93cad19a86c65e11b8050d468e7f7e13c706 /newmoviewizard.h
parent6bd88cc6ef5e4b7e5769d8ff9fbe41c0382f9ef4 (diff)
downloadSheMov-18f6e4027fa1383f336f902745f5a2e7796f9836.tar.gz
SheMov-18f6e4027fa1383f336f902745f5a2e7796f9836.tar.bz2
SheMov-18f6e4027fa1383f336f902745f5a2e7796f9836.zip
Extract title from Stream
If a title tag exists in a movie's metadata, extract it with ffmpeg and put it into mSubtitle when archiving new movies.
Diffstat (limited to 'newmoviewizard.h')
-rw-r--r--newmoviewizard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newmoviewizard.h b/newmoviewizard.h
index df52905..7b31e51 100644
--- a/newmoviewizard.h
+++ b/newmoviewizard.h
@@ -59,6 +59,7 @@ class MovieInfoPage : public QWizardPage {
void initCompleters();
private slots:
+ void extractTitle();
void addOld();
void addFiles();
void removeFile();
@@ -70,6 +71,7 @@ class MovieInfoPage : public QWizardPage {
QLineEdit *mSubtitle;
QSpinBox *mSeriesNo;
QSpinBox *mQuality;
+ QPushButton *mExtractTitle;
QPushButton *mAddOld;
QPushButton *mAddFile;
QPushButton *mRemoveFile;