返回部落格

用 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)進行搜尋、查詢頻道/影片詳細資料、播放清單和留言;用免金鑰的 oEmbed 和頻道 RSS feed(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. 用 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 feed 不需要 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 的 API 只有在某台開啟的裝置上啟用 Spotify Premium 時才能控制播放;如果沒有使用中的裝置,Comma 會請你先打開 Spotify,或改用 Mac 桌面版 App。

  • 本機媒體和 Bilibili 需要 Mac:Apple Music 是在 macOS 上本機控制 Music.app,而 YouTube/Bilibili 的 yt-dlp 逐字稿或影片擷取是從你自己的電腦執行,而不是從資料中心的 IP。


Try Comma, Now.

開始使用