diff --git a/README.md b/README.md
index 9ad72d2..ab12b92 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ functions:
- `cdf` - `cd` to the current Finder directory
- `flushdns` - Flushes the DNS cache for Yosemite and El Capitan
-- `itunes` - Control iTunes: Play, pause, stop, resume, etc.
+- `music` - Control Music: Play, pause, stop, resume, etc.
- `manp` - Open a specified man page in Preview
- `pfd` - Return the path of the frontmost Finder window
- `pfs` - Return the current Finder selection
@@ -41,7 +41,7 @@ $ omf install osx
## Usage
```fish
-$ itunes -h # show usage and available options
+$ music -h # show usage and available options
$ manp fish # open Fish's manpage in Preview
$ ql *jpg # quick look all such pictures
```
diff --git a/functions/itunes.fish b/functions/music.fish
similarity index 65%
rename from functions/itunes.fish
rename to functions/music.fish
index d308c4a..d12f59f 100644
--- a/functions/itunes.fish
+++ b/functions/music.fish
@@ -1,8 +1,14 @@
-function itunes -d "Control iTunes. Use -h or --help for a more detailed description."
+function music -d "Control Music. Use -h or --help for a more detailed description."
if [ (count $argv) -gt 0 ]
set -l opt $argv[1]
switch $opt
- case launch play pause stop rewind resume quit
+ case launch pause stop rewind resume quit
+ case "play"
+ if test (count $argv) -gt 2; and test $argv[2] = playlist
+ set opt "play the playlist named \"$argv[3]\""
+ end
+ case shuffle
+ if
case mute
set opt "set mute to true"
case unmute
@@ -12,9 +18,10 @@ function itunes -d "Control iTunes. Use -h or --help for a more detailed descrip
case vol volume
set opt "set sound volume to $argv[2]"
case "" -h --help
- echo "Usage: itunes