chm-dev / remotify

Local rest api to interact with running spotify instance.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

remotify

Remotify

Local REST API to interact with running Spotify desktop client.

This is a proof of concept but it turned out to be very effective.

How it works.

Node process start rest api server which can be control running Spotify app. It needs Spotify to be running in debug mode (devtools protocol) so Electron gui of Spotify can be accessed this way. If Spotify is running already in regular mode - it can be restarted with debug mode turned on. Actual actions can be performed by UI automation.

Currently implemented actions include:

  • Connect to running spotify
  • Restart or start Spotify in debug mode
  • Toggle Play / Pause
  • Next Track

Debug

This project implements custom debuging tool, which automatically open devtools in debug mode.

Icon taken from here.

Express REST API starter cloned from @jaredpetersen

About

Local rest api to interact with running spotify instance.

License:MIT License


Languages

Language:JavaScript 88.6%Language:HTML 11.4%