osx - Is it possible to make mplayer from the command line mimic iTunes search -
i switched mac osx ubuntu , copied of music on had itunes style directory structure , wanted able type like:
$ music abbey road
at command line , hear album on shuffle or equivalently
$ music beatles
and hear of music have artist
i came following zsh function:
function music() { mplayer $home/music/**/*(#i)("$*")*/**/* -shuffle }
the #i here makes case insensitive
Comments
Post a Comment