|
a/upmpd/mpdcli.cxx |
|
b/upmpd/mpdcli.cxx |
|
... |
|
... |
481 |
|
481 |
|
482 |
RETRY_CMD(mpd_run_delete_id(M_CONN, (unsigned)id));
|
482 |
RETRY_CMD(mpd_run_delete_id(M_CONN, (unsigned)id));
|
483 |
return true;
|
483 |
return true;
|
484 |
}
|
484 |
}
|
485 |
|
485 |
|
|
|
486 |
bool MPDCli::deletePosRange(unsigned int start, unsigned int end)
|
|
|
487 |
{
|
|
|
488 |
LOGDEB("MPDCli::deletePosRange [" << start << ", " << end << "[" << endl);
|
|
|
489 |
if (!ok())
|
|
|
490 |
return -1;
|
|
|
491 |
|
|
|
492 |
RETRY_CMD(mpd_run_delete_range(M_CONN, start, end));
|
|
|
493 |
return true;
|
|
|
494 |
}
|
|
|
495 |
|
|
|
496 |
|
486 |
bool MPDCli::statId(int id)
|
497 |
bool MPDCli::statId(int id)
|
487 |
{
|
498 |
{
|
488 |
LOGDEB("MPDCli::statId " << id << endl);
|
499 |
LOGDEB("MPDCli::statId " << id << endl);
|
489 |
if (!ok())
|
500 |
if (!ok())
|
490 |
return -1;
|
501 |
return -1;
|