From e9e54f8ff28f4bf7365ae74c0ba51c96d7938638 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 1 Sep 2018 23:27:19 +0200 Subject: Create a local playlist for external players Unfortunately, ffmpeg is the only player which doesn't suck too much, but it won't take more than one file :( --- fswidget.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fswidget.h') diff --git a/fswidget.h b/fswidget.h index 25953a9..b2228d8 100644 --- a/fswidget.h +++ b/fswidget.h @@ -10,6 +10,7 @@ class QStandardItemModel; class QSortFilterProxyModel; class QContextMenuEvent; class QAction; +class QProcess; class NewMovieWizard; class NewPicsDialog; class Viewer; @@ -43,6 +44,7 @@ class FSWidget : public QWidget { void doubleClicked(const QModelIndex &idx); void preview(); void playSelected(int count, QString player); + void doPlay(); void playQt(); void selectFilter(); void calculateSelectionChanged(); @@ -58,6 +60,9 @@ class FSWidget : public QWidget { void setupWidget(); QComboBox *mDirCB; QComboBox *mFilterCB; + QProcess *mPlayer; + QStringList mPlayerArgs; + QStringList mPlaylist; SmView *mFileView; QStandardItemModel *mModel; FSProxy *mProxy; -- cgit v1.2.3-70-g09d2