|
a/src/mediaserver/cdplugins/cdplugin.hxx |
|
b/src/mediaserver/cdplugins/cdplugin.hxx |
|
... |
|
... |
150 |
/// must be equal or begin with the pathprefix. Not used at all at present.
|
150 |
/// must be equal or begin with the pathprefix. Not used at all at present.
|
151 |
virtual bool setfileops(CDPlugin *, const std::string& path,
|
151 |
virtual bool setfileops(CDPlugin *, const std::string& path,
|
152 |
UPnPProvider::VirtualDir::FileOps ops)= 0;
|
152 |
UPnPProvider::VirtualDir::FileOps ops)= 0;
|
153 |
|
153 |
|
154 |
/// Main configuration file access.
|
154 |
/// Main configuration file access.
|
155 |
virtual bool config_get(const std::string& nm, std::string& val) = 0;
|
155 |
static bool config_get(const std::string& nm, std::string& val);
|
156 |
|
156 |
|
157 |
|
|
|
158 |
/// Default port to start the server on
|
157 |
/// Port to start the microhttp server on
|
159 |
static int default_microhttpport() { return 49149;}
|
158 |
static int microhttpport();
|
160 |
|
159 |
|
161 |
/// For modules which use the common microhttpd server
|
160 |
/// For modules which use the common microhttpd server
|
162 |
/// (tidal/qobuz/gmusic). Returns something like "/tidal" (no end
|
161 |
/// (tidal/qobuz/gmusic). Returns something like "/tidal" (no end
|
163 |
/// slash), which must be inserted at the top of the track URLs
|
162 |
/// slash), which must be inserted at the top of the track URLs
|
164 |
/// paths so that an HTTP request can be processed-for /
|
163 |
/// paths so that an HTTP request can be processed-for /
|
165 |
/// dispatched-to the right plugin.
|
164 |
/// dispatched-to the right plugin.
|