Pages

Monday, March 24, 2014

MP3 player

$ find . -name '*.mp3' | sort | while read -r mp3; do echo -e "<h3>$mp3</h3>\n<audio controls src=\"$mp3\"></audio>"; done > index.html; python -m http.server

I tried a few curses based mp3 players for playing back choir practice songs for my wife.


Unfortunately none of the ones I tried were capable of scrubbing a track.


Firefox saves the day.




commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1nTWQfw

No comments:

Post a Comment