返回博客

Comma 音乐与视频指南

在 Mac 上控制 Spotify 和 Apple Music,整理歌单,提取 YouTube 和 Bilibili 的字幕与摘要,关注喜欢的频道而不用整天泡在信息流里。

开始使用阅读文档

媒体信息流天生就会把你拖进四十分钟的弯路,而你想要的只是一场技术演讲的两分钟摘要、一份带时间戳的干净字幕,或者不切换窗口就开始播放的专注歌单。

Comma 连接 Spotify、Apple Music、YouTube 和 Bilibili,让你在聊天里控制播放、整理歌单,把长视频变成简明的笔记,同时遵守每个平台真实的设备和授权规则。

每个平台怎么连接

平台Comma 如何配合
Spotify通过 Composio 连接(SPOTIFY_SEARCH、正在播放、播放控制、歌单;播放控制需要 Spotify Premium 和一台活跃的设备),并以你 Mac 上的 Spotify 桌面应用作为本地后备。
Apple Music在 Mac 上的 Comma › Plugins › Mac apps 中开启 Music,即可控制 Music.app:正在播放、播放 / 暂停、切歌、音量、随机播放、资料库搜索和资料库歌单。
YouTube用 Composio(Google OAuth)做搜索、查询频道 / 视频详情、歌单和评论;用无需 key 的 oEmbed 和频道 RSS 订阅(videos.xml)跟踪新上传;在你的 Mac 上用 yt-dlp 获取字幕或下载。
Bilibili(B站)在你连接的 Mac 上用 yt-dlp 读取元数据、拉取字幕,并下载 H.264/AAC 视频(需要 1080p 或登录后才能访问时,使用 Chrome 的 cookie)。

四种音乐与视频工作流

1. 不打断专注,控制播放、整理歌单

text
Play my "Deep Focus" playlist in Apple Music at 35% volume with
shuffle on — or tell me what's currently playing on Spotify and add
it to my "Late Night Coding" playlist.
与 Comma 的 Telegram 聊天:一个把正在播放的 Spotify 歌曲加入歌单的请求、一条确认,以及一个总结一场很长的 YouTube 演讲的请求。
一条消息就能控制播放和歌单,手头的事不用停。

2. 两分钟读完一场 90 分钟的 YouTube 或 Bilibili 演讲

text
Pull the transcript from this YouTube (or Bilibili) talk using my Mac.
Summarize the main argument in 5 bullets, list the three most concrete
technical trade-offs with timestamps, and save the notes to Notion.

三十秒内你就能决定这场演讲值不值得完整看一遍;如果要跳进去看,确切的时间戳也已备好。

3. 用每周 Loop 干净地关注频道(没有算法推荐流)

text
Watch the YouTube RSS feeds of these five engineering and design
channels. Every Sunday at 6:00 PM, list new videos published this week
with duration and a two-sentence summary of what each covers.

由于 YouTube 频道的 XML 订阅不占用 API 配额,Comma 可以安静地跟踪上传,只把符合你兴趣的内容推给你。

4. 在本地转换和准备片段

text
Download the Bilibili talk I just sent as standard H.264/AAC MP4 on
my Mac, extract the subtitle track as clean Markdown, and drop both
into my Research folder in Comma Drive.

真实的平台边界

  • Spotify 播放需要活跃设备:只有当某台打开的设备上 Spotify Premium 处于活跃状态时,Spotify 的 API 才能控制播放;如果没有活跃设备,Comma 会请你先打开 Spotify,或者改用 Mac 桌面应用。

  • 本地媒体和 Bilibili 需要 Mac:Apple Music 是在 macOS 本地控制 Music.app,YouTube/Bilibili 的 yt-dlp 字幕或视频拉取也是从你自己的电脑发起,而不是从数据中心 IP。


Try Comma, Now.

开始使用