Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicka/slopy

Control Spotify on OSX
https://github.com/nicka/slopy

Last synced: 5 days ago
JSON representation

Control Spotify on OSX

Awesome Lists containing this project

README

        

# Slopy (Slack/Spotify)

Control Spotify on OSX. Use the SQS runner to connect it with Hubot.

## Usage

Start server

```
bundle exec rake start
```

Stop server

```
bundle exec rake stop
```

Restart server

```
bundle exec rake restart
```

## API routes

```
curl localhost:9292/api/start
curl localhost:9292/api/play
curl localhost:9292/api/play?url=spotify:user:xxxxxxx:playlist:123456
curl localhost:9292/api/pause
curl localhost:9292/api/next
curl localhost:9292/api/previous
curl localhost:9292/api/shuffle
curl localhost:9292/api/repeat
curl localhost:9292/api/volume?to=100
```