mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +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);
|
||||
// write footer
|
||||
if (outType == json) {
|
||||
hh->WriteLn(json_out_success(result));
|
||||
}
|
||||
else {
|
||||
hh->WriteLn(result);
|
||||
}
|
||||
|
||||
hh->SendResult(result);
|
||||
}
|
||||
|
||||
//Helpfunction to get movies of a dir
|
||||
|
Reference in New Issue
Block a user