Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.42 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.42 KB

Spotify.ahk

Disclaimer: Some features of Spotify.ahk will not work for non-premium users, this is not a limition of Spotify.ahk, but a limit in Spotify's Connect Web API as stated in its documentation.

Note:
  With Connect Web API you can only control Spotify Premium users’ playback.

An AutoHotkey wrapper for the Spotify web API designed to allow control over Spotify's internal volume slider and provide various other functionality.

Uses a slightly modified version of the AHKhttp library by zhamlin, the AHKsock library by jleb and the Crypt library by Deo

Documentation can now be found here, however it is not complete.

How to use

Create a new Spotify object, and call methods from the various nested classes. Examples can been seen in the Example Hotkeys file and throughout the documentation.

When you create a new Spotify object for the first time, a Spotify app authorization page will open in your default browser, and you will be prompted to authorize Spotify.ahk. While you can choose not to authorize Spotify.ahk, all functionality will be lost without valid authorization.

You will only rarely need to do web authorization thanks to Spotify's refreshable user authorization.