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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -