release: v0.8.19 Radio 睡眠定时器功能#3
Conversation
- 新增 /radio 页面与音频播放器 - 新增睡眠定时器:30分钟/1小时/2小时循环切换,倒计时显示,归零自动暂停 - 新增 /api/radio/items 接口 - 支持音频文件扫描(AUDIO_EXTENSIONS) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 此拉取请求通过引入一个功能齐全的音频播放器页面,显著扩展了应用程序的媒体处理能力。它不仅提供了基本的音频播放控制,还包含了队列管理、多种循环模式和收藏功能,并特别加入了用户期待的睡眠定时器,极大地提升了用户体验。这些改变使得应用能够更好地支持本地音频内容的管理和播放。 Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
| 'media_url': f'/media/{quote(name, safe="/")}', | ||
| 'thumb_url': f'/thumb?uri={quote(name, safe="")}', | ||
| 'title': p.stem, | ||
| 'duration': None, |
| except Exception: | ||
| return [] |
| from pathlib import Path | ||
| from tiklocal.paths import get_thumbnails_dir, get_thumbs_map_path | ||
|
|
||
| AUDIO_EXTENSIONS = {'.mp3', '.flac', '.aac', '.m4a', '.ogg', '.opus', '.wav'} |
| except Exception: | ||
| pass |
There was a problem hiding this comment.
| updateFavUI(item); | ||
| const qItem = document.querySelectorAll('.queue-item')[currentIndex]; | ||
| if (qItem) qItem.querySelector('.fav-dot')?.classList.toggle('hidden', !item.is_favorite); | ||
| } catch {} |
| return; | ||
| } | ||
| } | ||
| } catch {} |
Summary
/radio音频播放器页面(队列、循环模式、收藏)/api/radio/items接口,支持音频文件扫描Test plan
/radio页面,确认音频列表正常加载🤖 Generated with Claude Code