MusicStorage: Add source

This commit is contained in:
Jonas Kvinge
2022-10-19 18:36:33 +02:00
parent 5d35c22238
commit 99d963b99c
10 changed files with 15 additions and 7 deletions

View File

@@ -39,7 +39,7 @@
class DeviceLister;
FilesystemDevice::FilesystemDevice(const QUrl &url, DeviceLister *lister, const QString &unique_id, DeviceManager *manager, Application *app, const int database_id, const bool first_time, QObject *parent)
: FilesystemMusicStorage(url.toLocalFile()),
: FilesystemMusicStorage(Song::Source_Device, url.toLocalFile()),
ConnectedDevice(url, lister, unique_id, manager, app, database_id, first_time, parent),
watcher_(new CollectionWatcher(Song::Source_Device)),
watcher_thread_(new QThread(this)) {