mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-08 20:37:41 +00:00
add LRT main menu
This commit is contained in:
@@ -20,6 +20,15 @@ export class LrtController {
|
||||
};
|
||||
}
|
||||
|
||||
@Get('recent')
|
||||
getRecent(@Req() request: Request) {
|
||||
return {
|
||||
mod: 'lrt',
|
||||
path: request.url,
|
||||
recent: true,
|
||||
};
|
||||
}
|
||||
|
||||
@Get('cat/:id')
|
||||
getCategory(@Req() request: Request, @Param('id') id: number) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user