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.
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.
-
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.
Mục Releases, ở trang chính của repo.The Releases panel, on the repo's main page. -
Giải nén file vừa tải.Unzip the downloaded file.
-
Trên trình duyệt, mở
brave://extensions(hoặcchrome://extensionsnếu dùng Chrome) và bật Developer mode ở góc trên bên phải. In your browser, openbrave://extensions(orchrome://extensionson Chrome) and turn on Developer mode in the top-right corner.
Developer mode, ở góc trên bên phải trang tiện ích.Developer mode, top-right of the extensions page. -
Bấm Load unpacked.Click Load unpacked.
Nút Load unpacked xuất hiện khi Developer mode đã bật.The Load unpacked button appears once Developer mode is on. -
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.zipnằm cạnh nó. In the folder picker, open the unzipped download and select the folder (simpmusic-utils-chrome-extension) — not the.zipfile sitting next to it.
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.zipthay vì thư mục đã giải nén. Easy to get wrong: picking the.zipfile instead of the unzipped folder.
Phần 2 — Đăng nhập và sao chép phiên đăng nhậpPart 2 — Sign in and copy your session
-
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.
-
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.
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. -
Bấm Extract Cookies, sau đó bấm Copy to Clipboard.Click Extract Cookies, then Copy to Clipboard.
-
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.
-
Dán vào ô "Your YouTube Cookie" rồi bấm Set.Paste into the "Your YouTube Cookie" field and tap Set.
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.