summaryrefslogtreecommitdiffstats
authorSimon Kagstrom <[email protected]>2011-04-05 05:41:01 (GMT)
committer Max Kellermann <[email protected]>2011-04-12 05:28:00 (GMT)
commit77b6e275008743fbd27f423d42d92f74518a5b28 (patch) (side-by-side diff)
tree235dd63f38d536fb5716d80084467ad811262460
parent99640171e26a1e562c17c5db0ec66611aff2701b (diff)
downloadmpd-77b6e275008743fbd27f423d42d92f74518a5b28.zip
mpd-77b6e275008743fbd27f423d42d92f74518a5b28.tar.gz
mpd-77b6e275008743fbd27f423d42d92f74518a5b28.tar.bz2
playlist: Despotify plugin: Correct init in daemon mode
There is a global despotify session, so it should not be initialized until needed.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/playlist/despotify_playlist_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist/despotify_playlist_plugin.c b/src/playlist/despotify_playlist_plugin.c
index 0646de9..39448e0 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