Commit Graph

7 Commits

Author SHA1 Message Date
dcf13b2f07
refactor: move resource URL refresh from favorites loading to playback/preload
Replace passive resource checking on playlist item mount with active checking
during playback and preload operations. This improves performance by reducing
unnecessary network requests and ensures resources are validated only when needed.

Changes:
- Create songResourceChecker utility for centralized resource validation
- Remove resource checking from PlayListItem component
- Add resource validation in Player component before playback
- Add resource validation in usePlayQueueStore before preload
- Maintain data consistency between play queue and favorites

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-04 21:22:39 +10:00
7a938bd58c
fix: add cache control headers and timestamp parameter to axios HEAD request in PlayListItem.vue 2025-05-30 11:45:15 +10:00
290a9af5e1
fix: update song information in favourites when source URL changes
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m6s
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been cancelled
2025-05-30 10:35:15 +10:00
9e4b53b1e7
fix: change axios request from GET to HEAD for song source URL in PlayListItem.vue
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m3s
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been cancelled
2025-05-29 15:55:38 +10:00
a85a092e5c
fix: add headers to axios request for range retrieval in PlayListItem.vue
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Has been cancelled
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
2025-05-29 15:54:43 +10:00
568af58103
fix: fix an issue for the edge cases of resources url changing
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m2s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 55s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 13:47:33 +10:00
ab67e07384
feat(PlayListItem, Library): add PlayListItem component and integrate into Library page 2025-05-28 10:45:16 +10:00