|
a/src/mediaserver/cdplugins/plgwithslave.hxx |
|
b/src/mediaserver/cdplugins/plgwithslave.hxx |
|
... |
|
... |
20 |
#include <vector>
|
20 |
#include <vector>
|
21 |
|
21 |
|
22 |
#include "cdplugin.hxx"
|
22 |
#include "cdplugin.hxx"
|
23 |
#include "libupnpp/device/vdir.hxx"
|
23 |
#include "libupnpp/device/vdir.hxx"
|
24 |
|
24 |
|
25 |
// Tidal interface
|
25 |
// Interface to a content plugin implemented through a Python subprocess,
|
|
|
26 |
// e.g. the Tidal, Qobuz and Gmusic interfaces.
|
26 |
class PlgWithSlave : public CDPlugin {
|
27 |
class PlgWithSlave : public CDPlugin {
|
27 |
public:
|
28 |
public:
|
28 |
PlgWithSlave(const std::string& name, CDPluginServices *services);
|
29 |
PlgWithSlave(const std::string& name, CDPluginServices *services);
|
29 |
virtual ~PlgWithSlave();
|
30 |
virtual ~PlgWithSlave();
|
30 |
|
31 |
|
|
... |
|
... |
39 |
const std::string& ctid, int stidx, int cnt,
|
40 |
const std::string& ctid, int stidx, int cnt,
|
40 |
const std::string& searchstr,
|
41 |
const std::string& searchstr,
|
41 |
std::vector<UpSong>& entries,
|
42 |
std::vector<UpSong>& entries,
|
42 |
const std::vector<std::string>& sortcrits = std::vector<std::string>());
|
43 |
const std::vector<std::string>& sortcrits = std::vector<std::string>());
|
43 |
|
44 |
|
|
|
45 |
// This is for internal use only, but moving it to Internal would
|
|
|
46 |
// make things quite more complicated for a number of reasons.
|
44 |
virtual std::string get_media_url(const std::string& path);
|
47 |
virtual std::string get_media_url(const std::string& path);
|
45 |
|
48 |
|
46 |
class Internal;
|
49 |
class Internal;
|
47 |
private:
|
50 |
private:
|
48 |
Internal *m;
|
51 |
Internal *m;
|