README.md in spotify_osx_controller-0.1.5 vs README.md in spotify_osx_controller-1.0.0
- old
+ new
@@ -2,9 +2,27 @@
CLI for Spotify running on OSX
Apple script forked from: [dronir/SpotifyControl](https://github.com/dronir/SpotifyControl)
+## Command-line options
+
+```
+ -p, --play <s>: Start playback of the given track, where <s> is the spotify URI
+ -P, --play-pause: Play/pause playback
+ -s, --stop: Stop playback
+ -n, --next: Play next track
+ -N, --previous: Play previous track
+ -j, --jump <i>: Jump to position given position of the current track, where <i> is track position in
+ seconds
+ -f, --forward <i>: Jump <i> number of seconds ahead
+ -r, --rewind <i>: Rewind <i> number of seconds backwards
+ -v, --volume <i>: Set playback volume to <i>, where <i> is number between 0 and 100
+ -S, --shuffle: Toggle shuffle
+ -R, --repeat: Toggle repeat
+ -i, --info: Display information about the current track
+```
+
## Installation
Add this line to your application's Gemfile:
```ruby