{"id":3594,"date":"2026-05-30T17:28:59","date_gmt":"2026-05-30T15:28:59","guid":{"rendered":"https:\/\/blog.tomayac.com\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/"},"modified":"2026-05-30T17:28:59","modified_gmt":"2026-05-30T15:28:59","slug":"your-mp3s-from-google-drive-in-music-assistant-on-home-assistant","status":"publish","type":"post","link":"https:\/\/tomayac.com\/wordpress\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/","title":{"rendered":"Your MP3s from Google Drive in Music Assistant on Home Assistant"},"content":{"rendered":"\n\t\t\t<p>Like most millennials, I grew up with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Napster\">Napster<\/a>, then <a href=\"https:\/\/en.wikipedia.org\/wiki\/Kazaa\">Kazaa<\/a>, then <a href=\"https:\/\/en.wikipedia.org\/wiki\/EDonkey2000\">eDonkey2000<\/a>, obviously <a href=\"https:\/\/en.wikipedia.org\/wiki\/Ripping\">CD rips<\/a>, and of course <a href=\"https:\/\/en.wikipedia.org\/wiki\/LAN_party\">LAN parties<\/a>. Over the years, this has led to a large collection of completely legal MP3 files that I have backed up on two large external USB spinning disks that haven't spun for a long time now, but the files also exist on Google Drive.<\/p>\n<p>I'm also heavily invested in the <a href=\"https:\/\/www.home-assistant.io\/\">Home Assistant<\/a> ecosystem, which lets you <a href=\"https:\/\/my.home-assistant.io\/redirect\/supervisor_addon\/?addon=d5369777_music_assistant&amp;repository_url=https%3A%2F%2Fgithub.com%2Fmusic-assistant%2Fhome-assistant-addon\">install<\/a> a full-featured music player app called <a href=\"https:\/\/www.music-assistant.io\/\">Music Assistant<\/a>.<\/p>\n<p><img src=\"https:\/\/blog.tomayac.com\/images\/homeassistant.png\" alt=\"My Home Assistant dashboard.\" \/><\/p>\n<p>These days, of course I pay for my music (we have the YouTube Music family plan), but I recently thought it'd be fun to revive my old MP3 collection. This blog post describes how to connect Google Drive to Music Assistant on Home Assistant.<\/p>\n<h2 id=\"create-a-rclone-configuration-for-google-drive\" tabindex=\"-1\">Create a rclone configuration for Google Drive <a class=\"direct-link\" href=\"https:\/\/blog.tomayac.com\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/#create-a-rclone-configuration-for-google-drive\" aria-hidden=\"true\">\ud83d\udd17<\/a><\/h2>\n<p>The first step is running <a href=\"https:\/\/rclone.org\/\">rclone<\/a>, a command-line program to manage files on cloud storage. Among many other providers, it supports Google Drive. Download rclone to your regular computer (that is, very likely, not your Home Assistant), and then follow the instructions to <a href=\"https:\/\/rclone.org\/drive\/\">configure rclone for Google Drive<\/a>. This requires you to go through the hell that is Google's Cloud Console, but it's a one-time setup. All you need in the end is a configuration file that you then have to copy over to your Home Assistant. Essentially, you run the configuration wizard, show the configuration file, and then copy its contents.<\/p>\n<pre class=\"language-bash\"><code class=\"language-bash\">rclone config\nrclone config show<\/code><\/pre>\n<p>It should look something like the following snippet, but of course with your own client ID, client secret, and token:<\/p>\n<pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token punctuation\">[<\/span>drive<span class=\"token punctuation\">]<\/span>\n<span class=\"token builtin class-name\">type<\/span> <span class=\"token operator\">=<\/span> drive\nclient_id <span class=\"token operator\">=<\/span> *.apps.googleusercontent.com\nclient_secret <span class=\"token operator\">=<\/span> *-*\nscope <span class=\"token operator\">=<\/span> drive\ntoken <span class=\"token operator\">=<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">\"access_token\"<\/span><span class=\"token builtin class-name\">:<\/span><span class=\"token string\">\"*\"<\/span>,<span class=\"token string\">\"token_type\"<\/span><span class=\"token builtin class-name\">:<\/span><span class=\"token string\">\"Bearer\"<\/span>,<span class=\"token string\">\"refresh_token\"<\/span><span class=\"token builtin class-name\">:<\/span><span class=\"token string\">\"*\"<\/span>,<span class=\"token string\">\"expiry\"<\/span><span class=\"token builtin class-name\">:<\/span><span class=\"token string\">\"*\"<\/span>,<span class=\"token string\">\"expires_in\"<\/span>:3599<span class=\"token punctuation\">}<\/span>\nteam_drive <span class=\"token operator\">=<\/span> <\/code><\/pre>\n<p>In Home Assistant, use the <a href=\"https:\/\/github.com\/home-assistant\/addons\/tree\/master\/configurator\">File editor<\/a> addon (app) and create a file called <code>rclone.conf<\/code> in the <code>config\/rclone<\/code> directory. Paste the contents of your rclone configuration file into it and save it.<\/p>\n<p><img src=\"https:\/\/blog.tomayac.com\/images\/rclone-config.png\" alt=\"The rclone configuration file in the Home Assistant File editor.\" \/><\/p>\n<h2 id=\"set-up-rclone-in-home-assistant\" tabindex=\"-1\">Set up rclone in Home Assistant <a class=\"direct-link\" href=\"https:\/\/blog.tomayac.com\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/#set-up-rclone-in-home-assistant\" aria-hidden=\"true\">\ud83d\udd17<\/a><\/h2>\n<p>Now that you have the rclone configuration file in place, you need to set up rclone to serve your Google Drive as a WebDAV server. Install the <a href=\"https:\/\/github.com\/hassio-addons\/app-ssh\">Advanced SSH &amp; Web Terminal<\/a> app in Home Assistant. Open its <strong>Configuration<\/strong> tab and where it says <strong>Options<\/strong>, click the three dot menu and select <strong>Edit in YAML<\/strong>. Add the following configuration to it, which will install rclone and then start a WebDAV server on port 8080 that serves your Google Drive. This will be run automatically each time you start Home Assistant.<\/p>\n<pre class=\"language-yaml\"><code class=\"language-yaml\"><span class=\"token key atrule\">ssh<\/span><span class=\"token punctuation\">:<\/span>\n  <span class=\"token key atrule\">username<\/span><span class=\"token punctuation\">:<\/span> hassio\n  <span class=\"token key atrule\">password<\/span><span class=\"token punctuation\">:<\/span> passw0rd <span class=\"token comment\"># \u26a0\ufe0f Change this to your own password!<\/span>\n  <span class=\"token key atrule\">authorized_keys<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span>\n  <span class=\"token key atrule\">sftp<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">false<\/span>\n  <span class=\"token key atrule\">compatibility_mode<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">false<\/span>\n  <span class=\"token key atrule\">allow_agent_forwarding<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">false<\/span>\n  <span class=\"token key atrule\">allow_remote_port_forwarding<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">true<\/span>\n  <span class=\"token key atrule\">allow_tcp_forwarding<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">false<\/span>\n<span class=\"token key atrule\">zsh<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">true<\/span>\n<span class=\"token key atrule\">share_sessions<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">false<\/span>\n<span class=\"token key atrule\">packages<\/span><span class=\"token punctuation\">:<\/span>\n  <span class=\"token punctuation\">-<\/span> rclone\n<span class=\"token key atrule\">init_commands<\/span><span class=\"token punctuation\">:<\/span>\n  <span class=\"token punctuation\">-<\/span> <span class=\"token punctuation\">><\/span><span class=\"token punctuation\">-<\/span>\n    <span class=\"token key atrule\">rclone serve webdav drive<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">-<\/span><span class=\"token punctuation\">-<\/span>addr <span class=\"token punctuation\">:<\/span>8080 <span class=\"token punctuation\">-<\/span><span class=\"token punctuation\">-<\/span>baseurl \/google_music <span class=\"token punctuation\">-<\/span><span class=\"token punctuation\">-<\/span>config\n    \/config\/rclone\/rclone.conf <span class=\"token punctuation\">-<\/span><span class=\"token punctuation\">-<\/span>vfs<span class=\"token punctuation\">-<\/span>cache<span class=\"token punctuation\">-<\/span>mode full &amp;<\/code><\/pre>\n<p><img src=\"https:\/\/blog.tomayac.com\/images\/advanced-ssh.png\" alt=\"The Advanced SSH &amp; Web Terminal configuration in Home Assistant.\" \/><\/p>\n<h2 id=\"connect-music-assistant-to-the-rclone-webdav-server\" tabindex=\"-1\">Connect Music Assistant to the rclone WebDAV server <a class=\"direct-link\" href=\"https:\/\/blog.tomayac.com\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/#connect-music-assistant-to-the-rclone-webdav-server\" aria-hidden=\"true\">\ud83d\udd17<\/a><\/h2>\n<p>Finally, all you need to do is install <a href=\"https:\/\/www.music-assistant.io\/\">Music Assistant<\/a> and connect it to the WebDAV server that rclone is running. In Home Assistant, open the Music Assistant app and go to the <strong>Settings<\/strong> section. Click the <strong>Music sources<\/strong> button to add a new integration, and select <strong>WebDAV Provider<\/strong> from the list. Add <code>http:\/\/127.0.0.1:8080\/google_music<\/code> as the WebDAV URL, and enter your username and password.<\/p>\n<p><img src=\"https:\/\/blog.tomayac.com\/images\/musicassistant.png\" alt=\"Adding a WebDAV music source in Music Assistant\" \/><\/p>\n<h2 id=\"press-play\" tabindex=\"-1\">Press play <a class=\"direct-link\" href=\"https:\/\/blog.tomayac.com\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/#press-play\" aria-hidden=\"true\">\ud83d\udd17<\/a><\/h2>\n<p>If all went well, you should now see your Google Drive music collection in Music Assistant and can browse it. Some will be embarrassing, some will have aged poorly, and some will bring back fond memories and be timeless. Enjoy the nostalgia!<\/p>\n<p><img src=\"https:\/\/blog.tomayac.com\/images\/musicassistant-player.png\" alt=\"A song playing in Music Assistant.\" \/><\/p>\n<h2 id=\"a-personal-note\" tabindex=\"-1\">A personal note <a class=\"direct-link\" href=\"https:\/\/blog.tomayac.com\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/#a-personal-note\" aria-hidden=\"true\">\ud83d\udd17<\/a><\/h2>\n<p>If you like this blog post, please consider sharing it. Let's keep personal blogging alive! This post was hand-written by me with love and a cup of coffee, weird non-native English and all, hitting <kbd>Esc<\/kbd> a thousand times to keep the AI assistance away. If the post helped you, I always appreciate it if you <a href=\"https:\/\/blog.tomayac.com\/about\/#email\">let me know<\/a>.<\/p>\n\n\t\t\t<p>\n\t\t\t\t<img alt=\"Thomas Steiner\" width=\"32\" height=\"32\" src=\"https:\/\/blog.tomayac.com\/feed.php?dl=https%3A%2F%2Fblog.tomayac.com%2F2026%2F05%2F30%2Fyour-mp3s-from-google-drive-in-music-assistant-on-home-assistant%2F&dp=%2F2026%2F05%2F30%2Fyour-mp3s-from-google-drive-in-music-assistant-on-home-assistant%2F&dt=Your%20MP3s%20from%20Google%20Drive%20in%20Music%20Assistant%20on%20Home%20Assistant\" alt=\"\">\n\t\t\t\t<br\/>This post appeared first on <a href=\"https:\/\/blog.tomayac.com\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/\">https:\/\/blog.tomayac.com\/2026\/05\/30\/your-mp3s-from-google-drive-in-music-assistant-on-home-assistant\/<\/a>.\n\t\t\t<\/p>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\t\t\tLike most millennials, I grew up with Napster, then Kazaa, then eDonkey2000, obviously CD rips, and of course LAN parties. Over the years, this has led to a large collection of completely legal MP3 files that I have backed up on two large external &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"intlwemo_wallet_address":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-3594","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/posts\/3594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/comments?post=3594"}],"version-history":[{"count":1,"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/posts\/3594\/revisions"}],"predecessor-version":[{"id":3595,"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/posts\/3594\/revisions\/3595"}],"wp:attachment":[{"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomayac.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}