Spotify Controller

Spotify Controller

Controll your Spotify player via shortcut commands

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Spotify Controller",
  "description": "Controll your Spotify player via shortcut commands",
  "author": "Elias Wennerlund",
  "version": "1.2.0",
  "permissions": [
    "tabs",
    "commands"
  ],
  "icons": {
    "128": "128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "https://open.spotify.com/*"
      ],
      "run_at": "document_idle",
      "js": [
        "content.js"
      ]
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": true
  },
  "browser_action": {
    "default_icon": {
      "128": "128.png"
    }
  },
  "commands": {
    "prev": {
      "suggested_key": {
        "default": "Alt+Shift+D"
      },
      "description": "Back button",
      "global": false
    },
    "play-pause": {
      "suggested_key": {
        "default": "Alt+Shift+F"
      },
      "description": "Play/Pause button",
      "global": false
    },
    "next": {
      "suggested_key": {
        "default": "Alt+Shift+G"
      },
      "description": "Next button",
      "global": false
    },
    "shuffle": {
      "description": "Shuffle button"
    },
    "repeat": {
      "description": "Repeat button"
    }
  },
  "manifest_version": 2
}