|
a/upmpd/mpdcli.cxx |
|
b/upmpd/mpdcli.cxx |
|
... |
|
... |
231 |
// actually need an URI as it's going to use seekid, but
|
231 |
// actually need an URI as it's going to use seekid, but
|
232 |
// it believes it does).
|
232 |
// it believes it does).
|
233 |
if (!looksLikeTransportURI(upsong.uri)) {
|
233 |
if (!looksLikeTransportURI(upsong.uri)) {
|
234 |
//LOGDEB("MPDCli::mapSong: id " << upsong.mpdid <<
|
234 |
//LOGDEB("MPDCli::mapSong: id " << upsong.mpdid <<
|
235 |
// " replacing [" << upsong.uri << "]" << endl);
|
235 |
// " replacing [" << upsong.uri << "]" << endl);
|
236 |
upsong.uri = "http://127.0.0.1/bogusuri.mp3";
|
236 |
upsong.uri = "http://127.0.0.1/" + upsong.uri;
|
237 |
}
|
237 |
}
|
238 |
cp = mpd_song_get_tag(song, MPD_TAG_ARTIST, 0);
|
238 |
cp = mpd_song_get_tag(song, MPD_TAG_ARTIST, 0);
|
239 |
if (cp != 0)
|
239 |
if (cp != 0)
|
240 |
upsong.artist = cp;
|
240 |
upsong.artist = cp;
|
241 |
else
|
241 |
else
|