jacksonlcrews / darkice

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

DarkIce can't stream to Shoutcast DNAS v2, perhaps bad ICY protocol ? #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DarkIce error message :

Using config file: /etc/darkice.cfg
Using JACK audio server as input device.
Using POSIX real-time scheduling, priority 4
Registering as JACK client darktest
failed to write to ring ruffer
540672 bytes transfered to the encoders
DarkIce: TcpSocket.cpp:394: send error [32]

ShoutCast log :

2012-07-03 10:50:53 msg:[SRC 127.0.0.1:43615 sid=1] SHOUTcast 1 source 
connection.
2012-07-03 10:50:53 msg:[SRC 127.0.0.1:43615 sid=1] connection rejected. Bad 
icy header string [icy-name:]

DarkIce Config file :

[general]
duration        = 0         # duration of encoding, in seconds. 0 means forever
bufferSecs      = 5         # size of internal slip buffer, in seconds
reconnect       = yes       # reconnect to the server(s) if disconnected
[input]
device          = jack_auto # OSS DSP soundcard device for the audio input
sampleRate      = 44100     # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample   = 16        # bits per sample. try 16
channel         = 2         # channels. 1 = mono, 2 = stereo
[shoutcast-0]
format          = mp3
bitrateMode     = cbr
bitrate         = 128
quality         = 1.0
server          = 127.0.0.1
port            = 8001
password        = mypassword
sampleRate      = 44100
channel         = 2
name            = La Grosse Tambouille
url             = http://www.lagrossetambouille.com
genre           = Eclectik
public          = yes

System : Ubuntu 12.04

Original issue reported on code.google.com by MrChrisC...@gmail.com on 3 Jul 2012 at 9:11

GoogleCodeExporter commented 9 years ago
I have fixed this issue. A patch is attached.

Original comment by valter.s...@gmail.com on 19 Dec 2012 at 12:52

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, valter! Worked like charm, you made my day!

A true Internet hero.

Original comment by morten.b...@gmail.com on 23 Jan 2013 at 10:31

GoogleCodeExporter commented 9 years ago
Thanks for the fix, but how can i apply the patch?

Original comment by martijnd...@gmail.com on 25 Feb 2013 at 2:20

GoogleCodeExporter commented 9 years ago
Should I apply this patch?
Can you people please test if trunk still has the problem?

Original comment by rafael2k...@gmail.com on 18 May 2013 at 6:37

GoogleCodeExporter commented 9 years ago
This issue has been fixed by commit r508 (like #76).

PS: Bonjour la Grosse Tambouille ;)

Original comment by alban.pe...@gmail.com on 18 May 2013 at 7:31