playlist: Despotify plugin: Correct init in daemon mode
There is a global despotify session, so it should not be initialized until needed.
This commit is contained in:
parent
99640171e2
commit
77b6e27500
@ -100,7 +100,7 @@ parse_playlist(struct despotify_playlist *ctx,
|
||||
static bool
|
||||
despotify_playlist_init(G_GNUC_UNUSED const struct config_param *param)
|
||||
{
|
||||
return mpd_despotify_get_session() != NULL;
|
||||
return true;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user