[feat] Complete video caching system

This commit is contained in:
acite
2025-09-15 03:15:43 +08:00
parent ad51c5da2f
commit e94249aa8f
22 changed files with 613 additions and 211 deletions

View File

@@ -91,7 +91,7 @@ class RecentManager @Inject constructor(
recent.removeAt(index)
}
recent.add(0, mediaManager.queryVideoBulk(video.klass, listOf(video.id))!![0])
recent.add(0, mediaManager.queryVideo(video.klass, video.id)!!)
if(recent.size >= 21)