Re: [dwm] Console Music poll: cmus/moc/mpd

From: carmen <__AT_whats-your.name>
Date: Wed, 24 Oct 2007 19:27:02 -0700

alias m=mplayer
mpl() { m -loop 0 -shuffle -playlist $*;}
mpo() { m -playlist $*;}
alias mp='mpl .pls'
alias 313='cd /m && ma
"\(dan.*\(curtin\|bell\)\|chicago\|r_and_s\|metroplex\|kms\|modell\|deepchord\|acid\|titonton\|tejada\|morgan\|dbx\|moody\|parrish\|ranelin\|red.planet\|martian\|dj.\(assault\|godfather\|bone\)\|suburban\|detroit\|313\)"'
ma() { grep -i "$*" .pls > .f && mpl .f;}
ms() { grep -i "$*" .pls > .f && mpo .f;}
ra() { m `s=^$*=;grep $s ~/.radio|sed -e s/$s//`;}
alias pl='find . -iregex ".*.flac" -o -iregex ".*.mp3" -o -iregex ".*.m4a"|sort> .pls'

run 'pl' in music dir after new files created..

mp is totally random, 'ma something' for shuffle keyword match, 'ms something' for match played in order..

~/.radio has entries like

k=http://sc1.abacast.com:8240
n=http://s1.streaming.novanet.fr:80/radionova
b=http://wbgo.streamguys.net:80/
m=http://headphones.mit.edu:8000/
j=http://netcast.kfjc.org:8976/
p=http://66.134.90.174:8080
z=http://amber.streamguys.com:4860/
f=http://216.118.106.243/
r=http://typhoon.exequo.org:8000/rinseradio
d=http://radio.dubstep.fm:8000
res=http://212.23.57.33:8010
s=http://scanner.irational.org:8000/scanner

'ra z' to play..

any good way to shorten that cray grep to something more readable w/o using a temp file?

On Wed Oct 24, 2007 at 01:02:02PM +0200, Tube wrote:
> On Tue, Oct 02, 2007 at 03:15:33PM -0400, Ross Palmer Mohn wrote:
> > I've been working with cmus lately and am beginning to like. I'd like
> > to take an informal poll of what console music people use and why.
>
> i used mocp a long time, switched over to cmus and then again back to
> mocp. the cool thing about mocp that i need -- and why i switched back --
> at the moment is that i can remotely control the player (mocp -P for
> pausing and so on). cmus is very nice because of its vim-style but also
> a little bit overfeatured IMHO.
>
> tube
> --
> tube_AT_count0.net
> http://count0.net
Received on Thu Oct 25 2007 - 04:29:39 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:02:03 UTC