diff options
Diffstat (limited to 'src/playlist/LastFMPlaylistPlugin.cxx')
-rw-r--r-- | src/playlist/LastFMPlaylistPlugin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/playlist/LastFMPlaylistPlugin.cxx b/src/playlist/LastFMPlaylistPlugin.cxx index 67192574d..36c89fea1 100644 --- a/src/playlist/LastFMPlaylistPlugin.cxx +++ b/src/playlist/LastFMPlaylistPlugin.cxx @@ -242,8 +242,7 @@ lastfm_open_uri(const char *uri, GMutex *mutex, GCond *cond) /* last.fm does not send a MIME type, we have to fake it here :-( */ - g_free(playlist->is->mime); - playlist->is->mime = g_strdup("application/xspf+xml"); + input_stream_override_mime_type(playlist->is, "application/xspf+xml"); g_mutex_unlock(mutex); |