18 May '13 - 09:49 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Feature Request for BassEnc: Shoutcast 2 protocol support  (Read 1134 times)
MB_SOFT
Posts: 246


« on: 6 May '11 - 17:37 »
Reply with quoteQuote

Hi Ian,

just a suggestion for the future of BassEnc, would it be nice if you can add support for Shoutcast 2 protocol.

http://wiki.winamp.com/wiki/SHOUTcast_2_%28Ultravox_2.1%29_Protocol_Details#Overview
Logged
Chris
Posts: 1500


« Reply #1 on: 6 May '11 - 20:16 »
Reply with quoteQuote

Yep it would be nice.....if possible
Chris
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #2 on: 9 May '11 - 13:36 »
Reply with quoteQuote

Here's something to try...

   www.un4seen.com/stuff/bassenc.dll

To use the Shoutcast 2 protocol, the stream id needs to be added to the BASS_Encode_CastInit "server" parameter ("address:port,sid"). A username can optionally also be included in the "pass" parameter ("username:password"). BASS_Encode_CastSetTitle is supported as usual but the "title" should be in UTF-8 form, and "url" is unused.

This stuff hasn't been tested much yet, so please report how you get on with it.
Logged
fmcoder
Posts: 386


« Reply #3 on: 23 Nov '11 - 10:55 »
Reply with quoteQuote

Just tested it. Seems working fine, thanks!
Except for BASS_Encode_CastSetTitle doesn't work with international UTF-8 characters.
The server gives no error, but characters are not displayed correctly.
Could you check it please?
Here is the call:
BASS_Encode_CastSetTitle(hEncoder, PAnsiChar(AnsitoUTF8(U)), nil);
This works for Icecast server which also works with UTF8 text, but not for Shoutcast2.

UPD: sorry for bothering, the wrong text is in the Shoutcast log, but players display it fine Smiley
« Last Edit: 23 Nov '11 - 11:00 by fmcoder » Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines