View Single Post
Old 9th August 2011, 00:31   #7
Junior Member
Join Date: Aug 2004
Posts: 18
There is a bug when using this build and Shoutcast 2 clients together, but there are several variables I am not sure of - but I can tell you this for sure.

If you use ices0.4 (which uses the Shoutcast 1 protocol) as the Source, and stream a song with UTF8 tags to DNAS 2, if you have a Shoutcast 2 Client two things happen:

1. The artist/title display is messed up
2. When the client disconnects, DNAS crashes.
DNAS debug log:
2011-08-09 00:28:53 I msg:[DST sid=1] SHOUTcast 2 client connection accepted. WinampMPEG/5.62, Ultravox/2.1
2011-08-09 00:28:53 D msg:state_InitiateStream
2011-08-09 00:28:53 D msg:resetReadPtr readPtr=97116 amt=4103
2011-08-09 00:28:53 D msg:state_InitiateStream sending metadata Z9<?xml version="1.0" encoding="UTF-8" ?>
<TIT2>¸ýqÎD (·ë¯íüÉ{1) - HVn^kHð~ØÏ [blame user]</TIT2>

2011-08-09 00:28:53 D msg:state_SendCachedMetadata
terminate called after throwing an instance of '2011-08-09 00:29:00 E msg:[DST sid=1] Socket error while waiting to send data. err=Broken pipe(32)
2011-08-09 00:29:00 D msg:[THREADRUNNER] Removing protocol_shoutcast2Client from thread 0
2011-08-09 00:29:00 D msg:~protocol_shoutcast2Client
2011-08-09 00:29:00 I msg:[DST sid=1] SHOUTcast 2 client connection closed (7 seconds) [Bytes: 114884] Agent: `WinampMPEG/5.62, Ultravox/2.1'
2011-08-09 00:29:00 D msg:[STATS] System wide client total now 0
what(): XML parser error: not well-formed (invalid token) at line 3
A Shoutcast 1 client (Foobar in this case) doesn't crash on disconnect, but the artist/title display is also messed up.

Also, if the Source is the Transcoder (build 51 tested), DNAS doesn't crash on either version client. (but the tags are messed up)

Last edited by DaWolfey; 9th August 2011 at 00:56. Reason: more info
DaWolfey is offline