|
a/src/ohradio.cxx |
|
b/src/ohradio.cxx |
|
... |
|
... |
109 |
};
|
109 |
};
|
110 |
|
110 |
|
111 |
static vector<RadioMeta> o_radios;
|
111 |
static vector<RadioMeta> o_radios;
|
112 |
|
112 |
|
113 |
OHRadio::OHRadio(UpMpd *dev)
|
113 |
OHRadio::OHRadio(UpMpd *dev)
|
114 |
: OHService(sTpProduct, sIdProduct, dev)
|
114 |
: OHService(sTpProduct, sIdProduct, "OHRadio.xml", dev)
|
115 |
{
|
115 |
{
|
116 |
// Need Python for the radiopl playlist-to-audio-url script
|
116 |
// Need Python for the radiopl playlist-to-audio-url script
|
117 |
string pypath;
|
117 |
string pypath;
|
118 |
if (!ExecCmd::which("python2", pypath)) {
|
118 |
if (!ExecCmd::which("python2", pypath)) {
|
119 |
LOGINF("OHRadio: python2 not found, radio service will not work\n");
|
119 |
LOGINF("OHRadio: python2 not found, radio service will not work\n");
|