Commit 77b6e275 authored by Simon Kagstrom's avatar Simon Kagstrom Committed by Max Kellermann

playlist: Despotify plugin: Correct init in daemon mode

There is a global despotify session, so it should not be initialized until needed.
parent 99640171
...@@ -100,7 +100,7 @@ parse_playlist(struct despotify_playlist *ctx, ...@@ -100,7 +100,7 @@ parse_playlist(struct despotify_playlist *ctx,
static bool static bool
despotify_playlist_init(G_GNUC_UNUSED const struct config_param *param) despotify_playlist_init(G_GNUC_UNUSED const struct config_param *param)
{ {
return mpd_despotify_get_session() != NULL; return true;
} }
static void static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment