---
title: "用 Comma 處理音樂與影片 · Comma 部落格"
description: "在 Mac 上控制 Spotify 和 Apple Music、整理播放清單、擷取 YouTube 和 Bilibili 的逐字稿與摘要，並追蹤喜歡的頻道，不必整天泡在動態消息裡。"
url: https://comma.surf/zh-tw/blog/comma-for-music-and-video
language: zh-TW
---

[返回部落格](https://comma.surf/zh-tw/blog)

Comma Team · 2026 年 11 月 3 日 · 閱讀約 2 分鐘

# 用 Comma 處理音樂與影片

在 Mac 上控制 Spotify 和 Apple Music、整理播放清單、擷取 YouTube 和 Bilibili 的逐字稿與摘要，並追蹤喜歡的頻道，不必整天泡在動態消息裡。

[開始使用](https://app.comma.surf/) [閱讀文件](https://comma.surf/zh-tw/docs/agent)

媒體動態消息的設計就是要把你拉進四十分鐘的岔路，而你想要的只是一場技術演講的兩分鐘摘要、一份附時間戳記的乾淨逐字稿，或不切換視窗就開始播放的專注歌單。

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.
```

一則訊息就能控制播放和播放清單，不必中斷手邊的事。

### 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。

**下一步：**[給社群經營與創作者的 Comma](https://comma.surf/zh-tw/blog/comma-for-social-and-creators) · [用 Comma 處理 Mac 與本機檔案](https://comma.surf/zh-tw/blog/comma-for-mac-and-local-files)

指南

[返回部落格](https://comma.surf/zh-tw/blog)

分享

## 相關文章

2026 年 12 月 3 日

### [Comma 入門](https://comma.surf/zh-tw/blog/comma-101)

2026 年 12 月 2 日

### [給管理員的 Comma](https://comma.surf/zh-tw/blog/comma-for-admins)

2026 年 12 月 1 日

### [聊天 App 裡的 Comma](https://comma.surf/zh-tw/blog/comma-in-your-chat-apps)

## Try Comma, Now.

[開始使用](https://app.comma.surf/)
