aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Object.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* db/upnp/Object: remove obsolete attribute "m_title"Max Kellermann2014-01-151-1/+0
|
* db/upnp/Object: add attribute "tag"Max Kellermann2014-01-141-25/+4
| | | | Replaces "m_title" and "m_props". More bloat removed.
* db/upnp/Object: disallow copying, always moveMax Kellermann2014-01-141-0/+4
| | | | Reduce bloat.
* db/upnp/Object: add attribute "name"Max Kellermann2014-01-141-2/+8
| | | | Call titleToPathElt() only once for each object.
* db/upnp/Object: add attribute "url"Max Kellermann2014-01-111-0/+2
| | | | Don't store in the std::map.
* db/upnp/Directory: parse durationMax Kellermann2014-01-111-0/+6
| | | | | | Don't put all <res/> attributes to the attributes map; parse the "duration" attribute as soon as we receive it, and store it in an integer attribute. This reduces bloat.
* db/upnp/Object: use strictly-typed enumsMax Kellermann2014-01-101-6/+15
| | | | | At the same time, rename the enum types and the class attributes, and add an "UNKNOWN" type/class. The latter avoids the "-1" hack.
* db/upnp: getprop() returns const char *Max Kellermann2014-01-101-5/+3
| | | | | Return the return value, instead returning it in a reference parameter. Reduces bloat by reducing unnecessary std::string usage.
* UPnP database pluginJean-Francois Dockes2014-01-091-0/+79
[mk: renamed source files, applied coding style, reduced bloat, using MPD's threading library, using MPD's error reporting and logging library and refactoring, fixed lots of bugs]