Fix loading of MPD playlists the very first time Cantata is started.

Closes #1299
This commit is contained in:
Craig Drummond
2018-06-01 17:26:55 +01:00
parent b1b70e9d2f
commit 5924369539
2 changed files with 5 additions and 0 deletions

View File

@@ -60,6 +60,7 @@
48. Remove qt5ct work-around.
49. When saving podcasts, remove queries from filename.
50. Limit SoundCloud results to 250 matches.
51. Fix loading of MPD playlists the very first time Cantata is started.
2.3.0
-----

View File

@@ -26,6 +26,8 @@
#include "settings.h"
#include "support/proxystyle.h"
#include "models/mpdlibrarymodel.h"
#include "models/playlistsmodel.h"
#include "models/streamsmodel.h"
#include "support/utils.h"
#include "mpd-interface/mpdstats.h"
#include "mpd-interface/mpdstatus.h"
@@ -78,6 +80,8 @@ void Application::init()
#endif
Scrobbler::self();
MpdLibraryModel::self();
PlaylistsModel::self();
StreamsModel::self();
// Ensure this is started before any MPD connection
HttpServer::self();