Thread: Bash for playing directories full of music
i've been trying , trying figure out problem, have music in subdirectories due large amount or how have sorted or anything.
if process file names , remove spaces , special characters, works. don't want this.
go the directory want and:
this command start playing first piece goes strange behavior, skipping , jumping in file.code:find . -type f -iname "*flac" | sort | while read filen; echo "$filen" | mplayer; done
i've tried:
this 1 doesn't work @ allcode:mplayer `find . -type f -iname "*mp3" | sort`
works fine except playlist isn't sorted based on filename.code:find . -type f -iname "*flac" -exec mplayer
ideas?
interesting. i've used similar 'find' commands , didn't have issues mplayer, don't once start playback. appear fine me, i've never sorted output.
have tried put intermediate output file , using feed mplayeroption?code:mplayer -playlist
or turning aroundcode:find . -type f -iname "*mp3" | sort | mplayer -
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Bash for playing directories full of music
Ubuntu
Comments
Post a Comment