use dc.current_song instead of pc.current_song
When we are in an input plugin, dc.current_song should already be set. Use it instead of pc.current_song. git-svn-id: https://svn.musicpd.org/mpd/trunk@7363 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
119f457cff
commit
071c8f4ac7
@ -463,7 +463,7 @@ static int wavpack_streamdecode(InputStream *is)
|
||||
* As we use dc.utf8url, this function will be bad for
|
||||
* single files. utf8url is not absolute file path :/
|
||||
*/
|
||||
utf8url = get_song_url(tmp, pc.current_song);
|
||||
utf8url = get_song_url(tmp, dc.current_song);
|
||||
if (utf8url == NULL) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user