mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 03:16:22 -05:00
Filtering videos by mimetype rather than model.
This commit is contained in:
parent
9b5c82219d
commit
0c96722a8b
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ def search_videos(
|
|||
) -> Tuple[List[dict], int]:
|
||||
tag_names = tag_names or []
|
||||
# Only search videos.
|
||||
wheres = ["fg.model = 'video'"]
|
||||
wheres = ["fg.mimetype LIKE 'video/%%'"]
|
||||
joins = list()
|
||||
join_video = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue