Support for LastFM scrobbling (issue #19)

This commit is contained in:
ejurgensen
2014-08-15 23:36:54 +02:00
parent 21cf3ab7d3
commit 6d8e4c67aa
11 changed files with 1085 additions and 22 deletions

View File

@@ -67,6 +67,9 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
# include "ffmpeg_url_evbuffer.h"
#endif
#ifdef LASTFM
# include "lastfm.h"
#endif
#ifdef HAVE_SPOTIFY_H
# include "spotify.h"
#endif
@@ -798,6 +801,10 @@ main(int argc, char **argv)
player_deinit();
player_fail:
#ifdef LASTFM
DPRINTF(E_LOG, L_MAIN, "LastFM deinit\n");
lastfm_deinit();
#endif
#ifdef HAVE_SPOTIFY_H
DPRINTF(E_LOG, L_MAIN, "Spotify deinit\n");
spotify_deinit();