support adding last.fm streams to playlist

This commit is contained in:
Andrzej Rybczak
2010-08-23 17:12:56 +02:00
parent 638fab8535
commit c63780e6e6
3 changed files with 19 additions and 1 deletions

View File

@@ -1027,6 +1027,15 @@ bool MPD::Connection::DeletePlaylist(const std::string &name)
}
}
bool MPD::Connection::LoadPlaylist(const std::string &name)
{
if (!itsConnection)
return false;
assert(!isCommandsListEnabled);
GoBusy();
return mpd_run_load(itsConnection, name.c_str());
}
int MPD::Connection::SavePlaylist(const std::string &name)
{
if (!itsConnection)