Simple music streaming sh aliases

Not much to this post but I quite like these aliases I just came up with; incorporating something like this into a single line demonstrates the practical convenience of the command line:

BassDrive:

mpc add http://beezle.streams.bassdrive.com:8765/
    && mpc playlist | wc -l | xargs mpc play

Currently this is the best I have for the other radio station I listen to, BBC Radio 4:

mplayer \"http://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio4/
    radio4_bb_live_eq1_sl0?BBC-UID=044be39365f98aaa88a55ca7f1aa8fc5b3
    569ae000708114d4dfd43698a07e8a&SSO2-UID=\"

If anyone has a better stream URL I’d really appreciate it.

»

One Response to “Simple music streaming sh aliases”

  1. Jonathan says:

    You can remove the ? and everything after it from the Radio 4 URL. (Tested in VLC)