mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-13 17:22:08 -04:00
feat: FileBrowser video thumbnail (#2077)
* feat(filebrowser): add filebrowser video thumbnails display - Find cached thumbnails first - If not found, generate with ffmpegthumbnailer - Fallback to placeholder icon if dependency not met * fix(filebrowser): create thumbnail cache dir if not exists * refactor(filebrowser): prefer using Paths lib * fix(filebrowser): only check filetype once for each file * fix(filebrowser): early test for thumbnails * feat: add xdgCache path
This commit is contained in:
@@ -10,6 +10,7 @@ Singleton {
|
||||
|
||||
readonly property url home: StandardPaths.standardLocations(StandardPaths.HomeLocation)[0]
|
||||
readonly property url pictures: StandardPaths.standardLocations(StandardPaths.PicturesLocation)[0]
|
||||
readonly property url xdgCache: StandardPaths.standardLocations(StandardPaths.GenericCacheLocation)[0]
|
||||
|
||||
readonly property url data: `${StandardPaths.standardLocations(StandardPaths.GenericDataLocation)[0]}/DankMaterialShell`
|
||||
readonly property url state: `${StandardPaths.standardLocations(StandardPaths.GenericStateLocation)[0]}/DankMaterialShell`
|
||||
|
||||
Reference in New Issue
Block a user