diff options
author | Simon Kagstrom <simon.kagstrom@gmail.com> | 2011-04-05 07:41:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-04-12 07:28:00 +0200 |
commit | 77b6e275008743fbd27f423d42d92f74518a5b28 (patch) | |
tree | 235dd63f38d536fb5716d80084467ad811262460 /src/playlist | |
parent | 99640171e26a1e562c17c5db0ec66611aff2701b (diff) | |
download | mpd-77b6e275008743fbd27f423d42d92f74518a5b28.tar.gz mpd-77b6e275008743fbd27f423d42d92f74518a5b28.tar.xz mpd-77b6e275008743fbd27f423d42d92f74518a5b28.zip |
playlist: Despotify plugin: Correct init in daemon mode
There is a global despotify session, so it should not be initialized
until needed.
Diffstat (limited to '')
-rw-r--r-- | src/playlist/despotify_playlist_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |