mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 21:59:58 -05:00
FileBrowser files can be tagged. A Tag icon is displayed on each file row in the browser.
This commit is contained in:
parent
655e944960
commit
ae2b6daa33
29 changed files with 356 additions and 219 deletions
|
|
@ -26,16 +26,6 @@ add_blueprint(bp)
|
|||
logger = logger.getChild(__name__)
|
||||
|
||||
|
||||
@content_bp.post('/download/<channel_id:int>')
|
||||
@openapi.description('Update a channel catalog, download any missing videos')
|
||||
@openapi.response(HTTPStatus.OK, schema.StreamResponse)
|
||||
@openapi.response(HTTPStatus.BAD_REQUEST, JSONErrorResponse)
|
||||
@wrol_mode_check
|
||||
def download(_, channel_id: int = None):
|
||||
channel_lib.download_channel(channel_id)
|
||||
return response.empty()
|
||||
|
||||
|
||||
@content_bp.post('/tag')
|
||||
@openapi.definition(
|
||||
description='Associate a Video with a Tag',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue