|
a/src/avtransport.cxx |
|
b/src/avtransport.cxx |
|
... |
|
... |
401 |
// from growing if upmpdcli restarts. If the option is not set, the
|
401 |
// from growing if upmpdcli restarts. If the option is not set, the
|
402 |
// user prefers to live with the issue.
|
402 |
// user prefers to live with the issue.
|
403 |
m_dev->m_mpdcli->clearQueue();
|
403 |
m_dev->m_mpdcli->clearQueue();
|
404 |
}
|
404 |
}
|
405 |
|
405 |
|
406 |
bool is_song = (st == MpdStatus::MPDS_PLAY) || (st == MpdStatus::MPDS_PAUSE);
|
406 |
bool is_song = (st == MpdStatus::MPDS_PLAY) ||
|
|
|
407 |
(st == MpdStatus::MPDS_PAUSE);
|
|
|
408 |
UPMPD_UNUSED(is_song);
|
407 |
int curpos = mpds.songpos;
|
409 |
int curpos = mpds.songpos;
|
408 |
LOGDEB1("UpMpdAVTransport::set" << (setnext?"Next":"") <<
|
410 |
LOGDEB1("UpMpdAVTransport::set" << (setnext?"Next":"") <<
|
409 |
"AVTransportURI: curpos: " <<
|
411 |
"AVTransportURI: curpos: " <<
|
410 |
curpos << " is_song " << is_song << " qlen " << mpds.qlen << endl);
|
412 |
curpos << " is_song " << is_song << " qlen " << mpds.qlen << endl);
|
411 |
|
413 |
|