mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- controlapi: use hh->SendResult() in new getMoviesCGI()
This commit is contained in:
@@ -3622,13 +3622,8 @@ void CControlAPI::getMoviesCGI(CyhookHandler *hh) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
result = hh->outArray("movies", result);
|
result = hh->outArray("movies", result);
|
||||||
// write footer
|
|
||||||
if (outType == json) {
|
hh->SendResult(result);
|
||||||
hh->WriteLn(json_out_success(result));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
hh->WriteLn(result);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Helpfunction to get movies of a dir
|
//Helpfunction to get movies of a dir
|
||||||
|
Reference in New Issue
Block a user