jacksonlcrews / darkice

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

Wrong icecast2 password isn't properly reported #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I try to stream to an Icecast2 server using a wrong password, I get this 
output:

  Using config file: tsn.cfg
  jack_client_new: deprecated
  DarkIce: LameLibEncoder.cpp:75: lame lib opening underlying sink error [0]

I had to strace the process to get the error message, which is: "401 Auth...".  
Correcting the password helped.

It would be nice if the error message was properly reported.  Maybe even a 
suggestion regarding the password if the status code was 401.

Original issue reported on code.google.com by justin.forest on 15 Sep 2011 at 10:58

GoogleCodeExporter commented 9 years ago
I gave it a try. A patch is included. 

Original comment by flip.ro...@gmail.com on 27 Oct 2011 at 3:56

Attachments:

GoogleCodeExporter commented 9 years ago
Applied in r503.

Original comment by rafael2k...@gmail.com on 16 Jan 2012 at 9:00

GoogleCodeExporter commented 9 years ago
This patch also checks for other errors from Icecast and Icecast2. Couldn't do 
the same for Shoutcast.

Original comment by flip.ro...@gmail.com on 18 Jan 2012 at 11:59

Attachments:

GoogleCodeExporter commented 9 years ago
Applied.

Original comment by rafael2k...@gmail.com on 19 Jan 2012 at 1:42