| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sun Jan 01, 2006 9:44 pm Post subject: A little problem with stream-name and song title |
|
|
I'm currently using shoutcast to broadcast my stream and considering for changing to icecast server (Win32).
I have tested and it is very great.
but there're some little problems here.
I have defined mount specific setting..
| Code: |
<mount>
<mount-name>/live</mount-name>
<password>hackme</password>
<burst-size>65536</burst-size>
<fallback-mount>/jingle.mp3</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<stream-name>Test</stream-name>
<stream-description>Test Icecast</stream-description>
<stream-url>radio.in.th</stream-url>
<no-yp>1</no-yp>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount> |
I use SAM2 to broadcast MP3Pro stream to the server. it work fine
when I browse the web to http://localhost:8000/status.xsl
the status page show these infos
which is show stream name and stream description correctly.
then I use winamp with MP3Pro plugin to play it. It seems stream name isn't overriden by the mount setting.
My Winamp still show the stream name that specified in SAM2.
and there's another problem, I think you might noticed that.
Current song info look weird in status page but it is shown correctly in Winamp.
Maybe problem with Unicode?
I will switch to Icecast as soon as these little problems are fixed.
I will look forward to it.
Regards. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Jan 01, 2006 10:58 pm Post subject: |
|
|
Those stream settings are currently only for the stream directory not for overriding the headers sent by the source client/relay, it's something that can be done later. The odd characters in the player is probably down to a unicode mismatch, icecast takes UTF8 but what there is for the shoutcast metadata spec doesn't say anything about non-ascii chars so it will be dependent on the charset in use.
karl |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Jan 01, 2006 11:53 pm Post subject: |
|
|
Thanks for the answer
This problem doesnt occur at the player client, as you can see song title is shown correctly in Winamp.
The song title is in ASCII (but in Thai font). I'm wonder why the player can show it correctly.
I really need title info in stat to work.
I want to show current playing song in my webpage so I have to grab it via HTTP.
If it depends on charset, then how can I solve this?
I use SAM2 as source client.
Thanks  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Jan 02, 2006 1:40 am Post subject: |
|
|
If it was ascii then you would not have those odd characters in the web page. I would verify what is actually after the "03 - ". Maybe post the url so I can test it in xmms
karl. |
|
| Back to top |
|
 |
|