MPRIS integration

This commit is contained in:
Theophile Gilgien authored and Jonah Brüchert committed 2023-03-17 13:06:11 +00:00
1 parent df9b79fc8d
commit b36154bcff
36 files changed
+5657 -1

No files matched your search

+4
View File
@@ -15,6 +15,8 @@
#include <KCrash>
#include <KAboutData>
#include <mprisplugin.h>
#include "clipboard.h"
#include "searchmodel.h"
#include "albummodel.h"
@@ -73,6 +75,8 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
QQmlApplicationEngine engine;
MprisPlugin(&engine).registerTypes("org.nemomobile.qtmpris");
qmlRegisterType<SearchModel>(URI, 1, 0, "SearchModel");
qmlRegisterType<AlbumModel>(URI, 1, 0, "AlbumModel");
qmlRegisterType<VideoInfoExtractor>(URI, 1, 0, "VideoInfoExtractor");