Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Title streaming for relays on KH29

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Thu Jan 27, 2011 7:21 am    Post subject: Title streaming for relays on KH29 Reply with quote

Just to let you know that the title streaming for relayed streams is incorrect. There's a weird character added at the end, example:

Code:
DJ SAVA, RALUKA - I LIKE THE TRUMPET (RADIO EDIT)'m


(notice the 'm after the song)
And there's nothing specific in the logs.
KarlH, can you look into this?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Jan 27, 2011 2:01 pm    Post subject: Reply with quote

Can you show me what appears in the error log (level 4) when this sort of thing occurs, or send me the url to relay to try here. It's not something I've seen in the tests, but it may depend on what appears on the metadata from the master.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Thu Jan 27, 2011 3:12 pm    Post subject: Reply with quote

It's not from the source, as far as I know it uses standard Icecast 2.3.2, the same thing happens if I relay shoutcast streams that have title streaming in it. This happens on Win32 version. I've put the loggging level to 4 and will paste some info from the logs in a short while.

I can't provide direct link to the stream, because it's limited and you probably won't connect if I give you the link.
Back to top
View user's profile Send private message
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Thu Jan 27, 2011 3:34 pm    Post subject: Reply with quote

LOGS:

access.log:

Code:

87.64.xx.xx - - [27/Jan/2011:17:21:50 +0200] "GET /antibiotic HTTP/1.0" 200 1419096 "-" "PSP-InternetRadioPlayer/1.00" 83
78.36.xx.xx - - [27/Jan/2011:17:21:59 +0200] "GET /extra HTTP/1.1" 200 385445 "-" "BASS/2.4" 14
89.25.xx.xx - - [27/Jan/2011:17:22:01 +0200] "GET /extra HTTP/1.0" 200 1180772 "-" "WinampMPEG/5.1" 59
68.55.xx.xx - - [27/Jan/2011:17:22:09 +0200] "GET /antibiotic HTTP/1.0" 200 175067 "-" "PSP-InternetRadioPlayer/1.00" 6
66.249.xx.xx - - [27/Jan/2011:17:22:44 +0200] "GET /mixbg.xspf HTTP/1.1" 200 544 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 0
95.154.xx.xx - source [27/Jan/2011:17:23:02 +0200] "GET /admin/metadata HTTP/1.0" 200 184 "-" "Mozilla/3.0 (compatible)" 0


error.log:

Code:

[2011-01-27  17:28:12] DBUG stats/ update "global" connections (6627)
[2011-01-27  17:28:12] DBUG client/ Added 1 pending clients to 00B9FF00
[2011-01-27  17:28:12] DBUG connection/ start with /admin/stats.xml
[2011-01-27  17:28:12] DBUG stats/ update "global" client_connections (6465)
[2011-01-27  17:28:12] INFO admin/ processing file stats.xml
[2011-01-27  17:28:12] WARN  xmlEscapeEntities : char out of range
[2011-01-27  17:28:12] WARN  xmlEscapeEntities : char out of range
[2011-01-27  17:28:12] DBUG client/ 00B9FF00 now has 55 clients
[2011-01-27  17:28:15] DBUG stats/ update "global" outgoing_kbitrate (6069)
[2011-01-27  17:28:15] DBUG format-mp3/ found title hit radioto na bg.01'
[2011-01-27  17:28:15] DBUG stats/ update "/cyberfolk" title (hit radioto na bg.01')
[2011-01-27  17:28:15] DBUG stats/ update "/cyberfolk" metadata_url (&artist=&title=Ti%20Izbirash&album=&duration=&songtype=&overlay=&buycd=&website=&picture=')
[2011-01-27  17:28:15] DBUG format-mp3/ shoutcast metadata block setup with StreamTitle='hit radioto na bg.01'';StreamUrl='&artist=&title=Ti%20Izbirash&alb...
[2011-01-27  17:28:15] DBUG flv/ 8 array elements
[2011-01-27  17:28:15] DBUG stats/ update "/cyberfolk" metadata_updated (Thu, 27 Jan 2011 17:28:15)
[2011-01-27  17:28:15] DBUG stats/ update "/cyberfolk" yp_currently_playing (hit radioto na bg.01')
[2011-01-27  17:28:15] DBUG yp/ YP touch at http://dir.xiph.org/cgi-bin/yp-cgi succeeded
[2011-01-27  17:28:16] DBUG stats/ update "/cyberfolk" outgoing_kbitrate (0)
[2011-01-27  17:28:16] DBUG stats/ update "/cyberfolk" incoming_bitrate (129003)
[2011-01-27  17:28:16] DBUG stats/ update "/cyberfolk" total_bytes_read (477341004)
[2011-01-27  17:28:16] DBUG stats/ update "/cyberfolk" total_bytes_sent (177939456)
[2011-01-27  17:28:16] DBUG stats/ update "/cyberfolk" total_mbytes_sent (169)
[2011-01-27  17:28:16] DBUG stats/ update "/cyberfolk" connected (29823)
[2011-01-27  17:28:16] DBUG stats/ update "global" stream_kbytes_read (3700388)
[2011-01-27  17:28:16] DBUG format-mp3/ found title Ti Izbirash'S
[2011-01-27  17:28:16] DBUG format-mp3/ found url &artist=&title=Ti%20Izbirash&album=&duration=&songtype=&overlay=&buycd=&website=&picture='
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 28, 2011 3:41 am    Post subject: Reply with quote

This looks to be a win32 specific bug, a function not working as it should. will have to work around it.

Can those seeing this issue try the following build and let me know how it works out?

www.xiphicecast.webspace.virginmedia.com/icecast2_win32_v2.3.2-kh29.1_setup.exe

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Fri Jan 28, 2011 4:45 pm    Post subject: Reply with quote

Just to report another bug for win32:



Notice the missing info about the IP's listening and the user-agent....
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 28, 2011 6:11 pm    Post subject: Reply with quote

If that is a custom page then I did change the case of some of the listener stats back to the same as 2.3.2 as some centovacast users were having trouble. It's not major, just the useragent to UserAgent, ip to IP and connected to Connected. You do not need to restart icecast for that change.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Fri Jan 28, 2011 7:37 pm    Post subject: Reply with quote

karlH wrote:
If that is a custom page then I did change the case of some of the listener stats back to the same as 2.3.2 as some centovacast users were having trouble. It's not major, just the useragent to UserAgent, ip to IP and connected to Connected. You do not need to restart icecast for that change.

karl.


This is the same page from kh28 just updated to kh29.1 and got this issue.... I will update production servers around 4AM GMT+2 because it's a bad idea to kick out the listeners....
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 28, 2011 8:03 pm    Post subject: Reply with quote

That's why. The internal xml stats names were reverted back to the 2.3.2 style, inconsistent really but there were several reports of people using the kh binary with 2.3.2 pages in centovacast and breaking so I have reverted the internal names back to the original (case) and fixed the xsl to match but in your case you kept the kh28 or earlier xsl page and that misses the stats and appears blank.

As I said before, a change in the xsl file won't affect icecast, a simple copy/paste of the xsl should suffice (you can get it from http://svn.xiph.org/icecast/branches/kh/icecast/admin/listclients.xsl), no need to touch the running instance as icecast just reloads it when requested.

What I am interested in, is whether the metadata issue has gone

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Fri Jan 28, 2011 10:04 pm    Post subject: Reply with quote

karlH wrote:
That's why. ...

karl.


Done, I fixed it quite a while ago. I'm not that stupid (yet) Very Happy
The test kh29.1 is running fine on TEST, I'll put it on PRODUCTION in a few hours Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber