ICY-streamed titles with semicolons do not display properly, Title gets truncated at the first semicolon; apostrophe added |
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.
![]() ![]() |
ICY-streamed titles with semicolons do not display properly, Title gets truncated at the first semicolon; apostrophe added |
Jul 11 2007, 03:10
Post
#1
|
|
|
Group: Members Posts: 581 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? |
|
|
|
Jan 20 2011, 02:52
Post
#2
|
|
|
Group: Members Posts: 581 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 |
|
|
|
Jan 20 2011, 21:36
Post
#3
|
|
![]() Group: Super Moderator Posts: 3267 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.
-------------------- (atrix|(fb2k->e-mu 0404 usb|audio 8 dj))->hd280|jvc ha-fx35-b
|
|
|
|
Jan 20 2011, 23:10
Post
#4
|
|
|
Group: Members Posts: 581 Joined: 12-May 06 From: Colorado, USA Member No.: 30694 |
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 |
|
|
|
Jan 22 2011, 02:36
Post
#5
|
|
![]() Group: Super Moderator Posts: 3267 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.
-------------------- (atrix|(fb2k->e-mu 0404 usb|audio 8 dj))->hd280|jvc ha-fx35-b
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 14:19 |