mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Simplified thumbnail logic, only the best thumbnail size is downloaded and then it is resized and cropped to an appropriate size for use in the web UI.
This commit is contained in:
@ -144,7 +144,7 @@ def ajax_get_tree(request: HttpRequest):
|
||||
"id": __tree_sub_id(node.id),
|
||||
"type": "sub",
|
||||
"text": node.name,
|
||||
"icon": node.icon_default,
|
||||
"icon": node.thumbnail,
|
||||
"parent": __tree_folder_id(node.parent_folder_id)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user