Skip to content

Commit 20d4ecf

Browse files
filebrowser-qt: Introduce new plugin to browse local audio files
It basically serves as an embedded file manager view - allowing to create or extend playlists - opening the music folders and cover art - supporting drag and drop
1 parent b593bda commit 20d4ecf

File tree

6 files changed

+499
-1
lines changed

6 files changed

+499
-1
lines changed

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if test "x$USE_GTK" = "xyes" ; then
8989
fi
9090

9191
if test "x$USE_QT" = "xyes" ; then
92-
GENERAL_PLUGINS="$GENERAL_PLUGINS albumart-qt lyrics-qt playback-history-qt playlist-manager-qt search-tool-qt song-info-qt statusicon-qt"
92+
GENERAL_PLUGINS="$GENERAL_PLUGINS albumart-qt filebrowser-qt lyrics-qt playback-history-qt playlist-manager-qt search-tool-qt song-info-qt statusicon-qt"
9393
GENERAL_PLUGINS="$GENERAL_PLUGINS qtui skins-qt"
9494
VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS blur_scope-qt qt-spectrum vumeter-qt"
9595
fi
@@ -893,6 +893,7 @@ if test "x$USE_QT" = "xyes" ; then
893893
echo " Winamp Classic Interface: yes"
894894
echo " Album Art: yes"
895895
echo " Blur Scope: yes"
896+
echo " File Browser: yes"
896897
echo " OpenGL Spectrum Analyzer: $have_qtglspectrum"
897898
echo " Playback History: yes"
898899
echo " Playlist Manager: yes"

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ if meson.version().version_compare('>= 0.53')
314314
'Winamp Classic Interface': true,
315315
'Album Art': true,
316316
'Blur Scope': true,
317+
'File Browser': true,
317318
'OpenGL Spectrum Analyzer': get_variable('have_qtglspectrum', false),
318319
'Playback History': true,
319320
'Playlist Manager': true,

src/filebrowser-qt/Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
PLUGIN = filebrowser-qt${PLUGIN_SUFFIX}
2+
3+
SRCS = filebrowser-qt.cc
4+
5+
include ../../buildsys.mk
6+
include ../../extra.mk
7+
8+
plugindir := ${plugindir}/${GENERAL_PLUGIN_DIR}
9+
10+
LD = ${CXX}
11+
CPPFLAGS += -I../.. ${QT_CFLAGS}
12+
CFLAGS += ${PLUGIN_CFLAGS}
13+
LIBS += ${QT_LIBS} -laudqt

0 commit comments

Comments
 (0)