IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
ICY-streamed titles with semicolons do not display properly, Title gets truncated at the first semicolon; apostrophe added
mjb2006
post Jul 11 2007, 03:10
Post #1





Group: Members
Posts: 814
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



When playing a SHOUTcast HTTP stream, titles containing semicolons are mangled: an apostrophe is added to the beginning of the title, and everything from the first semicolon and beyond is missing.

The problem does not occur when playing static files.

This is with foobar2000 0.9.4.3 on Win2K SP4.

Is this the correct forum in which to report this bug?
Go to the top of the page
+Quote Post
mjb2006
post Jan 20 2011, 02:52
Post #2





Group: Members
Posts: 814
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



This bug persists in foobar2000 1.1 on WinXP.

Also, when a semicolon isn't present, the way the stream title metadata is parsed by foobar2000 seems to be roughly this: everything before the first dash is trimmed of (leading and?) trailing whitespace and goes into %artist%, and the rest is trimmed of leading (and trailing?) whitespace and goes into %title%. In Feb. 2009 I reported that this wasn't ideal because titles typically come through as "artist - title", where artist can have dashes in it. So for example "A-Ha - Take On Me" gets parsed as %artist% "A" and %title% "Ha - Take On Me".

Is it possible to get this behavior changed?

(While you're in there...In that same thread, users lamented the lack of metadata field for accessing the Icy-Name value, which typically has the station name. This value goes into %title% but gets overwritten by in-stream titles. Any chance that could be addressed?)

Thanks

This post has been edited by mjb2006: Jan 20 2011, 03:17
Go to the top of the page
+Quote Post
Canar
post Jan 20 2011, 21:36
Post #3





Group: Super Moderator
Posts: 3368
Joined: 26-July 02
From: princegeorge.ca
Member No.: 2796



Are you certain this is a foobar2000 bug? Some of the "problems" you're describing sound more like problems on the encoding/streaming end, not the playback end.


--------------------
You cannot ABX the rustling of jimmies.
No mouse? No problem.
Go to the top of the page
+Quote Post
mjb2006
post Jan 20 2011, 23:10
Post #4





Group: Members
Posts: 814
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



QUOTE (Canar @ Jan 20 2011, 13:36) *
Are you certain this is a foobar2000 bug? Some of the "problems" you're describing sound more like problems on the encoding/streaming end, not the playback end.

Yes, I am sure. I captured the raw stream to a file and I looked at it in a hex editor. Here are some examples of actual metadata in the stream:

CODE
StreamTitle='A-Ha - Take On Me';StreamURL='';

This is parsed as
%artist% = A
%title% = Ha - Take On Me

CODE
StreamTitle='Nina Simone - Black is the Color of My True Love's Hair [1964 NY session; stereo]';StreamURL='';

This is parsed as
%artist% = 'Nina Simone
%title% = Black is the Color of My True Love's Hair [1964 NY session

StreamURL is normally an empty string. I'm not sure how to get it to be anything different. I don't think it matters.

The station name and URL are only sent in the icy-name and icy-url headers at the beginning of the response:
CODE
ICY 200 OK
icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.8<BR>
icy-name:Edited for Privacy
icy-genre:
icy-url:http://edited.for/privacy/
content-type:audio/aacp
icy-pub:0
icy-metaint:8192
icy-br:128
Go to the top of the page
+Quote Post
Canar
post Jan 22 2011, 02:36
Post #5





Group: Super Moderator
Posts: 3368
Joined: 26-July 02
From: princegeorge.ca
Member No.: 2796



Acknowledged and added to known problems. Might be changed for next release. Thanks for the detailed report.


--------------------
You cannot ABX the rustling of jimmies.
No mouse? No problem.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st October 2014 - 15:48