|
a/src/avtransport.cxx |
|
b/src/avtransport.cxx |
|
... |
|
... |
388 |
|
388 |
|
389 |
// Check that we support the audio format for the input uri.
|
389 |
// Check that we support the audio format for the input uri.
|
390 |
UpSong metaformpd;
|
390 |
UpSong metaformpd;
|
391 |
if (!m_dev->checkContentFormat(uri, metadata, &metaformpd)) {
|
391 |
if (!m_dev->checkContentFormat(uri, metadata, &metaformpd)) {
|
392 |
LOGERR("set(Next)AVTransportURI: unsupported format: uri " << uri <<
|
392 |
LOGERR("set(Next)AVTransportURI: unsupported format: uri " << uri <<
|
393 |
" metadata " << metadata);
|
393 |
" metadata [" << metadata << "]\n");
|
394 |
return UPNP_E_INVALID_PARAM;
|
394 |
return UPNP_E_INVALID_PARAM;
|
395 |
}
|
395 |
}
|
396 |
|
396 |
|
397 |
bool is_song = (st == MpdStatus::MPDS_PLAY) ||
|
397 |
bool is_song = (st == MpdStatus::MPDS_PLAY) ||
|
398 |
(st == MpdStatus::MPDS_PAUSE);
|
398 |
(st == MpdStatus::MPDS_PAUSE);
|