diff options
Diffstat (limited to 'src/playlist/DespotifyPlaylistPlugin.cxx')
-rw-r--r-- | src/playlist/DespotifyPlaylistPlugin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/playlist/DespotifyPlaylistPlugin.cxx b/src/playlist/DespotifyPlaylistPlugin.cxx index 25f12785a..444a41a13 100644 --- a/src/playlist/DespotifyPlaylistPlugin.cxx +++ b/src/playlist/DespotifyPlaylistPlugin.cxx @@ -22,7 +22,7 @@ #include "DespotifyUtils.hxx" #include "MemoryPlaylistProvider.hxx" #include "tag.h" -#include "song.h" +#include "Song.hxx" extern "C" { #include <despotify.h> @@ -37,7 +37,7 @@ static void add_song(std::forward_list<SongPointer> &songs, struct ds_track *track) { const char *dsp_scheme = despotify_playlist_plugin.schemes[0]; - struct song *song; + Song *song; char uri[128]; char *ds_uri; @@ -51,7 +51,7 @@ add_song(std::forward_list<SongPointer> &songs, struct ds_track *track) return; } - song = song_remote_new(uri); + song = Song::NewRemote(uri); song->tag = mpd_despotify_tag_from_track(track); songs.emplace_front(song); |