use mpg123 to play streams that require authorization
April 14th, 2007 by Lawrence David
i’ve been having a devil of a time getting mpg123 to play a password protected internet stream (their man page isn’t very clear on what needs to be done). here’s the form to use:
mpg123 -u user:password http://user:password@server/stream.mp3
note that the user/password has to be specified in the address too!