Switch to unified view

a/src/mediaserver/cdplugins/plgwithslave.hxx b/src/mediaserver/cdplugins/plgwithslave.hxx
...
...
24
24
25
class CmdTalk;
25
class CmdTalk;
26
26
27
// Interface to a content plugin implemented through a Python subprocess,
27
// Interface to a content plugin implemented through a Python subprocess,
28
// e.g. the Tidal, Qobuz and Gmusic interfaces.
28
// e.g. the Tidal, Qobuz and Gmusic interfaces.
29
//
30
// Note that we may have to subclass this for different services one
31
// day. For now, all services use compatible cmdtalk methods
32
// (esp. get_media_url()), so that all the customisation is on the
33
// Python side.
29
class PlgWithSlave : public CDPlugin {
34
class PlgWithSlave : public CDPlugin {
30
public:
35
public:
31
    PlgWithSlave(const std::string& name, CDPluginServices *services);
36
    PlgWithSlave(const std::string& name, CDPluginServices *services);
32
    virtual ~PlgWithSlave();
37
    virtual ~PlgWithSlave();
33
38
39
    // Proxy the streams if return is true, else redirect
40
    virtual bool doproxy();
41
    
34
    // Returns totalmatches
42
    // Returns totalmatches
35
    virtual int browse(
43
    virtual int browse(
36
    const std::string& objid, int stidx, int cnt,
44
    const std::string& objid, int stidx, int cnt,
37
    std::vector<UpSong>& entries,
45
    std::vector<UpSong>& entries,
38
    const std::vector<std::string>& sortcrits = std::vector<std::string>(),
46
    const std::vector<std::string>& sortcrits = std::vector<std::string>(),