From 77b6e275008743fbd27f423d42d92f74518a5b28 Mon Sep 17 00:00:00 2001 From: Simon Kagstrom Date: Tue, 5 Apr 2011 07:41:01 +0200 Subject: playlist: Despotify plugin: Correct init in daemon mode There is a global despotify session, so it should not be initialized until needed. --- src/playlist/despotify_playlist_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/playlist/despotify_playlist_plugin.c b/src/playlist/despotify_playlist_plugin.c index 0646de966..39448e01f 100644 --- a/src/playlist/despotify_playlist_plugin.c +++ b/src/playlist/despotify_playlist_plugin.c @@ -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 -- cgit v1.2.3