Optimize MPV polling with single batch query every 200ms
All checks were successful
Build and Release / build-and-release (push) Successful in 1m18s
All checks were successful
Build and Release / build-and-release (push) Successful in 1m18s
Replace separate property queries with unified batch fetching: - Consolidate position, duration, and metadata into one IPC call - Reduce polling from 100ms to 200ms (5 FPS) - Remove complex timeout handling in favor of simple blocking reads - Remove unused is_idle, is_paused, and get_property methods This eliminates status bar flashing and reduces CPU usage.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cm-player"
|
||||
version = "0.1.26"
|
||||
version = "0.1.27"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
||||
Reference in New Issue
Block a user