Commit c1fc32d8 authored by Jean-Francois Dockes's avatar Jean-Francois Dockes
Browse files

wrapup

parent fbeacd13
= Upmpdcli release notes
== Upmpdcli 1.2.10
- Improves streaming services search
- Fix bug in UPnP/AV mode (seeking after gapless transition would not
work).
== Upmpdcli 1.2.6/7/8/9
- Small fixes (qobuz,tidal), added protocolinfo entries, etc.
......
dockes@y.dockes.com.11624:1473896341
\ No newline at end of file
......@@ -532,6 +532,7 @@ int PlgWithSlave::search(const string& ctid, int stidx, int cnt,
|| beginswith(what, "object.container.playlist")) {
objkind = "playlist";
}
classfilter = what;
} else if (!upnpproperty.compare("upnp:artist") ||
!upnpproperty.compare("dc:author")) {
slavefield = "artist";
......@@ -545,8 +546,6 @@ int PlgWithSlave::search(const string& ctid, int stidx, int cnt,
slavefield = "track";
value = vs[i+2];
break;
} else if (!upnpproperty.compare("upnp:class")) {
classfilter = vs[i+2];
}
}
if (slavefield.empty()) {
......@@ -558,7 +557,7 @@ int PlgWithSlave::search(const string& ctid, int stidx, int cnt,
SearchCacheEntry *cep;
string cachekey(m_name + ":" + objkind + ":" + slavefield + ":" + value);
if ((cep = o_scache.get(cachekey)) != nullptr) {
int total = resultFromCacheEntry(classfilter, stidx,cnt, *cep, entries);
int total = resultFromCacheEntry(classfilter, stidx, cnt, *cep, entries);
delete cep;
return total;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment