Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Francois Dockes
upmpdcli
Commits
b056978d
Commit
b056978d
authored
Feb 02, 2017
by
Jean-Francois Dockes
Browse files
comments
parent
7ebbdb17
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/mediaserver/cdplugins/cdplugin.hxx
View file @
b056978d
...
...
@@ -45,8 +45,12 @@ public:
virtual
bool
setfileops
(
CDPlugin
*
,
const
std
::
string
&
path
,
UPnPProvider
::
VirtualDir
::
FileOps
ops
)
=
0
;
///
Access
the main configuration file.
///
Get a pointer to the
the main configuration file
contents
.
virtual
ConfSimple
*
getconfig
(
CDPlugin
*
)
=
0
;
/// This calls plg->getname() and returns something like
/// datadir/nm/nm-app.py. Can't see why this is in contentdirectory
/// since it seems very specific to plgwithslave...
virtual
std
::
string
getexecpath
(
CDPlugin
*
)
=
0
;
};
...
...
src/mediaserver/cdplugins/plgwithslave.hxx
View file @
b056978d
...
...
@@ -22,7 +22,8 @@
#include "cdplugin.hxx"
#include "libupnpp/device/vdir.hxx"
// Tidal interface
// Interface to a content plugin implemented through a Python subprocess,
// e.g. the Tidal, Qobuz and Gmusic interfaces.
class
PlgWithSlave
:
public
CDPlugin
{
public:
PlgWithSlave
(
const
std
::
string
&
name
,
CDPluginServices
*
services
);
...
...
@@ -41,6 +42,8 @@ public:
std
::
vector
<
UpSong
>&
entries
,
const
std
::
vector
<
std
::
string
>&
sortcrits
=
std
::
vector
<
std
::
string
>
());
// This is for internal use only, but moving it to Internal would
// make things quite more complicated for a number of reasons.
virtual
std
::
string
get_media_url
(
const
std
::
string
&
path
);
class
Internal
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment