Spotify Playlist Builder

Spotify Playlist Builder

Generate a random playlist from everything stored in My Library, including liked tracks, albums and playlists.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Spotify Playlist Builder",
  "short_name": "Spotty",
  "description": "Generate a random playlist from everything stored in My Library, including liked tracks, albums and playlists.",
  "version": "0.3.3",
  "author": "@rimutaka",
  "minimum_chrome_version": "110",
  "offline_enabled": false,
  "action": {
    "default_title": "Adds a random selection from My Library to a playlist. Activates on a new Spotify playlist page.",
    "default_icon": {
      "16": "assets/toolbar_icon_19.png",
      "19": "assets/toolbar_icon_19.png",
      "32": "assets/toolbar_icon_19.png",
      "38": "assets/toolbar_icon_38.png"
    },
    "default_popup": "js/popup.html",
    "show_matches": [
      "*://open.spotify.com/playlist/*"
    ]
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
  },
  "background": {
    "type": "module",
    "service_worker": "js/background.js"
  },
  "permissions": [
    "webRequest"
  ],
  "host_permissions": [
    "*://*.spotify.com/*"
  ],
  "web_accessible_resources": [
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "js/wasm/wasm_mod.js",
        "js/wasm/wasm_mod_bg.wasm"
      ]
    }
  ]
}