Nhạc Nhẽo
Desktop · Đăng nhậpDesktop · Sign in

Cách đăng nhập YouTube Music trên Desktop How to sign in to YouTube Music on Desktop

Desktop không thể mở cửa sổ trình duyệt bên trong ứng dụng, nên không có nút "Đăng nhập bằng Google". Thay vào đó, bạn đăng nhập qua trình duyệt của mình một lần, rồi sao chép phiên đăng nhập đó vào app — sau đó mọi thứ sẽ tự hoạt động. Desktop can't open a browser window inside the app, so there's no "Sign in with Google" button. Instead, you sign in through your own browser once, then copy that session into the app — after that it just works.

Có điện thoại Android? Mở app trên điện thoại, vào Cài đặt → Gửi thông tin đăng nhập sang máy tính, rồi quét mã QR hiện trên máy tính của bạn. Bạn có thể bỏ qua phần còn lại bên dưới. Have an Android phone instead? Open the app there, go to Settings → Send sign-ins to desktop, and scan the QR code shown on your computer. You can skip everything below.

Chuẩn bị trước khi bắt đầuBefore you start

Một trình duyệt dựa trên Chromium — Chrome, Brave hoặc Edge đều dùng được (ảnh chụp trong bài này là từ Brave) — và một tài khoản YouTube Music / Google mà bạn có thể đăng nhập. A Chromium-based browser — Chrome, Brave, or Edge all work (these screenshots are from Brave) — and a YouTube Music / Google account you can log into.

Phần 1 — Cài tiện ích SimpMusic UtilsPart 1 — Install the SimpMusic Utils extension

Chỉ cần làm một lần. Bạn sẽ không phải lặp lại phần này. A one-time setup. You won't need to repeat this part.

  1. Vào github.com/maxrave-dev/utils, mở mục Releases ở bên phải, rồi tải file zip của phiên bản mới nhất. Go to github.com/maxrave-dev/utils, open the Releases panel on the right side, and download the zip of the latest version.

    The GitHub Releases panel for maxrave-dev/utils, showing version 1.1.1 as the latest release
    Mục Releases, ở trang chính của repo.The Releases panel, on the repo's main page.
  2. Giải nén file vừa tải.Unzip the downloaded file.

  3. Trên trình duyệt, mở brave://extensions (hoặc chrome://extensions nếu dùng Chrome) và bật Developer mode ở góc trên bên phải. In your browser, open brave://extensions (or chrome://extensions on Chrome) and turn on Developer mode in the top-right corner.

    The browser extensions page with the Developer mode toggle switched on
    Developer mode, ở góc trên bên phải trang tiện ích.Developer mode, top-right of the extensions page.
  4. Bấm Load unpacked.Click Load unpacked.

    Close-up of the Load unpacked button
    Nút Load unpacked xuất hiện khi Developer mode đã bật.The Load unpacked button appears once Developer mode is on.
  5. Trong hộp thoại chọn thư mục, mở thư mục vừa giải nén và chọn thư mục (simpmusic-utils-chrome-extension) — không chọn file .zip nằm cạnh nó. In the folder picker, open the unzipped download and select the folder (simpmusic-utils-chrome-extension) — not the .zip file sitting next to it.

    The folder picker dialog, with the extracted extension folder selected
    Chọn thư mục đã giải nén, rồi bấm Select.Select the extracted folder, then click Select.
    Bước dễ làm sai: chọn nhầm file .zip thay vì thư mục đã giải nén. Easy to get wrong: picking the .zip file instead of the unzipped folder.
    Close-up of the unzipped folder sitting next to the original zip file

Phần 2 — Đăng nhập và sao chép phiên đăng nhậpPart 2 — Sign in and copy your session

  1. Vào music.youtube.com và đăng nhập tài khoản Google như bình thường.Go to music.youtube.com and sign in to your Google account as normal.

  2. Bấm vào biểu tượng SimpMusic Utils trên thanh công cụ. Ở mục YouTube Music, để nguyên ô định dạng ở String Format. Click the SimpMusic Utils icon in your toolbar. Under YouTube Music, leave the format dropdown on String Format.

    The SimpMusic Utils extension popup, with YouTube Music and Spotify sections, each with an Extract button and a Copy to Clipboard button
    Popup của tiện ích — mục YouTube Music ở trên, Spotify ở dưới.The extension popup — YouTube Music section on top, Spotify below.
  3. Bấm Extract Cookies, sau đó bấm Copy to Clipboard.Click Extract Cookies, then Copy to Clipboard.

  4. Chuyển sang ứng dụng SimpMusic desktop, mở màn hình Log in, rồi bấm vào huy hiệu DEV ở góc trên bên phải.Switch to the SimpMusic desktop app, open the Log in screen, and tap the DEV badge in the top-right corner.

  5. Dán vào ô "Your YouTube Cookie" rồi bấm Set.Paste into the "Your YouTube Cookie" field and tap Set.

    The SimpMusic desktop login screen, with the DEV badge in the top-right corner and the paste dialog open, labeled Your YouTube Cookie
    Màn hình Log in của app, với hộp thoại dán cookie đang mở.The app's Log in screen, with the paste dialog open.

Xong — bạn đã đăng nhập thành công.Done — you should now be signed in.

Spotify, cho Canvas và lời bài hátSpotify, for Canvas and lyrics

Cùng một tiện ích — dùng nút Extract Cookie / Copy to Clipboard ở mục Spotify (sp_dc) thay vì YouTube Music, rồi dán vào ô Spotify tương ứng trong app. Same extension — use the Spotify (sp_dc) section's Extract Cookie / Copy to Clipboard buttons instead, then paste into the matching Spotify field in the app.

Nếu sau này không đăng nhập được nữaIf it stops working later

Phiên đăng nhập có thể hết hạn, giống như khi bạn bị đăng xuất khỏi một trang web. Chỉ cần lặp lại Phần 2 — bạn không cần cài lại tiện ích. Your session can expire, same as being logged out of a website. Just repeat Part 2 — you won't need to reinstall the extension.