On Thu Jan 01, 2009 at 02:17:57AM -0800, Erik Steffl wrote:
> Kevin Cosgrove wrote:
> > Anyone know of a nice command-line playlist creator? I'm thinking of
> > something like:
> >
> > playlist-creator directory -o directory.m3u
>
> m3u is just a list of files so ls or find should work, e.g.:
>
> find directory -name '*.mp3' > directory.m3u
in ~/.bashrc
alias pl='find -L "`pwd`" -iregex ".*.flac" -o -iregex ".*.mp3" -o -iregex ".*.m4a"|sort> .pls'
then for genres:
alias dub='cd && ma "\(tubby\|scientist\|rac/\|rks/\|jah/\|dub\)"'
alias 313='cd && ma "\(dan.*\(curtin\|bell\)\|chicago\|r_and_s\|metroplex\|kms\|peacefrog\|modell\|deepchord\|acid\|titonton\|tejada\|morgan\|dbx\|moody\|parrish\|ranelin\|red.planet\|martian\|dj.\(assault\|godfather\|bone\)\|terrence\|mark.williams\|suburban\|detroit\|313\)"'
mpl() { m -loop 0 -shuffle -playlist $*;}
ma() { grep -i "$*" .pls > .f && mpl .f;}
alias m=mplayer
etc
>
> erik
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Thu Jan 1 16:15:02 2009
This archive was generated by hypermail 2.1.8 : Thu Jan 01 2009 - 16:15:02 EET