Skip to main content

Module app

Module app 

Source
Expand description

Application module

This module contains the main application logic, configuration, and event loop for FileView.

Re-exports§

pub use config_file::HooksConfig;

Structs§

AppResult
Result of running the app
CommandsConfig
Custom commands configuration
Config
Application configuration from CLI args and config file
ConfigFile
Main configuration file structure
ImageLoader
Background image loader
PreviewConfig
Preview-related settings
PreviewState
Preview state container
VideoMetadata
Video metadata extracted from ffprobe

Enums§

PluginAction
Plugin command action
SessionAction
Session action (save, restore, clear)

Functions§

extract_thumbnail
Extract a thumbnail frame from a video at 1 second
find_ffmpeg
Find ffmpeg executable path (lazy detection with caching)
find_ffprobe
Find ffprobe executable path (lazy detection with caching)
get_metadata
Extract video metadata using ffprobe
is_video_file
Check if a file is a video file
run_app
Main event loop