mirror of
https://github.com/ksyasuda/mpv-youtube-queue.git
synced 2026-03-22 18:11:27 -07:00
- Implemented an LRU cache for video information with a maximum size of 100 entries to improve performance. - Added a function to truncate video titles to a specified maximum length for better display. - Updated the `get_video_info` function to utilize the cache, reducing redundant data fetching. - Enhanced the `build_osd_row` function to use truncated titles. - Introduced a new function to sync the video queue with mpv's internal playlist on load and playback restart events.
38 KiB
38 KiB