README.md in spotify_osx_controller-1.0.0 vs README.md in spotify_osx_controller-2.0.0
- old
+ new
@@ -5,22 +5,23 @@
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
+spotify_osx_controller [options] play [--track=<name>][--artist=<name>][--album=<name>] Start playback
+spotify_osx_controller [options] play-pause Play/pause playback
+spotify_osx_controller [options] stop Stop playback
+spotify_osx_controller [options] next Play next track
+spotify_osx_controller [options] previous Play previous track
+spotify_osx_controller [options] jump [--seconds=<seconds>] Jump to <seconds> of current track
+spotify_osx_controller [options] forward [--seconds=<seconds>] Jump <seconds> ahead
+spotify_osx_controller [options] rewind [--seconds=<seconds>] Rewind <seconds> backwards
+
+ Where available [options] are the following:
+ -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: