|
a/src/upmpdutils.hxx |
|
b/src/upmpdutils.hxx |
|
... |
|
... |
112 |
|
112 |
|
113 |
// Convert UPnP metadata to UpSong for mpdcli to use
|
113 |
// Convert UPnP metadata to UpSong for mpdcli to use
|
114 |
extern bool uMetaToUpSong(const std::string&, UpSong *ups);
|
114 |
extern bool uMetaToUpSong(const std::string&, UpSong *ups);
|
115 |
// Convert UPnP content directory entry object to UpSong
|
115 |
// Convert UPnP content directory entry object to UpSong
|
116 |
bool dirObjToUpSong(const UPnPClient::UPnPDirObject& dobj, UpSong *ups);
|
116 |
bool dirObjToUpSong(const UPnPClient::UPnPDirObject& dobj, UpSong *ups);
|
|
|
117 |
// upsong with "Unknown" or such everywhere for when we get no metadata
|
|
|
118 |
void noMetaUpSong(UpSong *ups);
|
117 |
|
119 |
|
118 |
// Replace the first occurrence of regexp. cxx11 regex does not work
|
120 |
// Replace the first occurrence of regexp. cxx11 regex does not work
|
119 |
// that well yet...
|
121 |
// that well yet...
|
120 |
extern std::string regsub1(const std::string& sexp, const std::string& input,
|
122 |
extern std::string regsub1(const std::string& sexp, const std::string& input,
|
121 |
const std::string& repl);
|
123 |
const std::string& repl);
|