Old 15th February 2012, 14:02   #1
Benoker
Junior Member
 
Join Date: Feb 2012
Posts: 2
Artwork and DSP

More out of curiosity than any real goal, I tried to write my own SHOUTcast server. After all the protocol is officially available. Everything worked smoothly until I tried to relay some artwork, and my server said that the protocol was corrupted.

Then I tried to use DSP (v2.2.3), Winamp and sc_serv to send some artwork along the stream. But unfortunately my listening Winamp did not show any images either.

Now I don't know if I just programmed a bug, but the fact that the official tools did not work looks very strange to me. Can someone confirm that my setup of sending artwork along "Winamp -> DSP -> sc_serv -> Winamp" does/does not work?


And if anyone reads this that knows the code of the DSP: for my server it looks as if partitioned cacheable meta data is not split correctly, the message does not end with a 0x0, but with some random value.

PHP Code:
// Index: Dec Hex

75190  0x5a
752
0  0x0
753
65  0x41
754
1  0x1
755
63  0x3f
756
243  0xf3
Ultravox Header
, class=CACHEABLE_BINARY_METADATA (0x4), type=ALBUM_ART_PNG (0x101), payload-length=16371beginning
757
0  0x0        // 1. byte
758200  0xc8   // 2. byte
7590  0x0        // 3. byte
7602  0x2
761
0  0x0
762
1  0x1
763
137  0x89
764
80  0x50
...
17124227  0xe3
17125
252  0xfc
17126
47  0x2f    
17127
145  0x91  // 16371. byte     <-- Last byte of the payload
17128221  0xdd  // 16372. byte     <----------- Message end, this one should be 0 ****************************************************************************************************************************************
Ultravox Header, class=CACHEABLE_BINARY_METADATA (0x4), type=ALBUM_ART_PNG (0x101), payload-length=16371payload was 16371
  
** ERRORmessage not ended properly **
1712990  0x5a
17130
0  0x0
17131
112  0x70
17132
0  0x0
17133
2  0x2
17134
137  0x89
Ultravox Header
, class=DATA (0x7), type=DATA_MP3 (0x0), payload-length=649beginning
17135
52  0x34
17136
65  0x41 
Benoker is offline   Reply With Quote
Old 15th February 2012, 15:12   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
nothing currently displays the artwork (as i've not implemented the support in Winamp yet) and the functionality in the Source DSP is currently classed as broken since it causes other issues with the stream (occasional skipping and dropping of the connection).

-daz
DrO is offline   Reply With Quote
Old 16th February 2012, 08:07   #3
Benoker
Junior Member
 
Join Date: Feb 2012
Posts: 2
Well. that is sad, it would be a cool feature. But thanks for the info anyway, you have any idea if/when this will be implemented?

Regards
Beni
Benoker is offline   Reply With Quote
Old 16th February 2012, 09:59   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
there is no eta and it purely comes down to whenever i get time allocated to work on adding it in and fixing the support in the official tools (as my current work is not on the tools at all and doesn't look like changing from that for a while to come).

since only the DSP had some support (which is essentially broken) and sc_trans hasn't made it to getting the support needed to handle and relay on the albumart (along with the DJ metadata people want it to relay), which is why the feature hasn't been pushed, especially when there's nothing which will show it (and obviously needs the support in the tools to be completed so it's then possible to test it properly in Winamp as a start).

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump