CONNECTED MUSIC LIBRARY
Music that stays in sync.
Open the same Google Drive folder in CRATE desktop and the web player. Save tags or artwork on your computer, wait for Google Drive for desktop to finish uploading, then refresh Drive on your phone. The player also checks for changes every minute while open and when you return to it.
One-time Google setup
- Open Google Cloud Console and create or select your CRATE project.
- Under APIs & Services โ Library, enable Google Drive API.
- Under Google Auth Platform, configure Branding and choose External under Audience. In Testing mode add your own Google email as a test user.
- Under Data Access, add
https://www.googleapis.com/auth/drive.readonly. CRATE reads your files; it does not edit or upload to Drive. This permission allows reading Drive files beyond the chosen folder; CRATE scans the folder you select. - Under Clients, create a Web application OAuth client. Add Authorized JavaScript origins:
https://crateplayer.lolandhttps://www.crateplayer.lol. If using the original site address, also addhttps://crate-music-player.havishansa.chatgpt.site. Origins have no trailing path. - Copy the Client ID ending in
.apps.googleusercontent.com. In CRATE, tap Connect Google Drive, paste the ID, and save. A client secret is not needed. To configure the whole website, give the site owner the public client ID. - Tap Connect Google Drive again, sign in as a test user, and allow read-only Drive access. Navigate to your music folder and tap Use this folder. Subfolders are included; CRATE backup folders are skipped.
Google may show an unverified-app notice during development. The developer must complete Google's required verification before offering this restricted Drive permission publicly. Testing access is limited by Google's OAuth rules. Google's scope and verification guidance โ
Listen and refresh
Use Google Drive for desktop on Windows and open its synced music folder in CRATE. Files imported earlier through the phone's Files picker remain separate copies; connect Drive to create live library links. Remove old imported copies if you no longer want duplicates.
Drive tracks stream over the internet, including seeking. Only their library details and artwork are saved to browser storage. They are not available offline. Edit cloud tags and covers on the desktop; cloud-track editing is disabled in the web player so local overrides cannot hide synced changes.
Google access tokens stay in memory and expire. After closing the app or when the session expires, tap Connect Google Drive again. CRATE does not store your Google password or refresh tokens. You can disconnect to revoke access and remove local cloud-library links without changing the Drive files.
Use one website address consistently: the www and non-www addresses have separate browser storage.