| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Wed Oct 17, 2007 8:03 pm Post subject: Ices 0.4 sends invalid titles. |
|
|
I have set up a stream with ices 0.4 and icecast 2.
There seems to be a problem with sending the titles of some songs,
while other songs are sent correctly.
I have checked the files, and they seems to be tagged correctly, so I have no idea what's wrong or how to fix this proble,
example of log file:
| Code: |
13/Oct/2007:00:05:24 +0200|/nonstop|1|Rammstein - Amerika
13/Oct/2007:00:09:12 +0200|/nonstop|1|˙ūA - ˙ūH |
|
|
| Back to top |
|
 |
kozlov
Joined: 26 Sep 2006 Posts: 41 Location: Poland, Gdansk
|
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Oct 20, 2007 10:18 am Post subject: |
|
|
After looking at the files with an hex editor, and looking at the settings in my tagging software (IDv1 charset = Latin1 / IDv2 Chatset = Unicode (UTF-16), and lookig at the id3.c source file, it appears ices 0.4 doesn't support UTF-16 encoded tags.
Since UTF-16 had \0 in it's encoding, and it's processed as a null terminated string.
I think I will hack the code and force it to read the ID3v1 tags for now, but still it doesn't solve the problem that UTF-16 encoded tags are not supported. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Oct 20, 2007 1:58 pm Post subject: |
|
|
With trunk and my branch releases you can specify a charset of utf16 in the <mount> section, that way the metadata is translated to utf8
karl. |
|
| Back to top |
|
 |
btf
Joined: 15 Nov 2007 Posts: 3
|
Posted: Thu Nov 15, 2007 2:11 am Post subject: |
|
|
Have the same problem in ices0 with proper reading titles of ID3 tags
And this seems to have no deal with international letters
buggy title (russian letters in id3v2 tag)
DEBUG: ID3v1: Title: Ты для меня (original new rock)
DEBUG: ID3v1: Artist: Lebedev.TV
DEBUG: ID3v2: version 3.0. Tag size is 1784 bytes.
DEBUG: ID3v2: Title found: яю"K
DEBUG: ID3v2: Artist found: яюL
DEBUG: MPEG-1 layer III, 320 kbps, 44100 Hz, stereo
DEBUG: Ext: 0 Mode_Ext: 0 Copyright: 0 Original: 0
DEBUG: Error Protection: 0 Emphasis: 0 Padding: 1
Playing lebedev_tv_ti_dly_menya.mp3
DEBUG: Updated metadata on /main[autodj] to: яюL - яю"K
Mounted on http://localhost:8000/main[autodj]
DEBUG: Delaying metadata update...
DEBUG: Updated metadata on /main[autodj] to: яюL - яю"K
proper title (have russian letters in id3v2 too):
DEBUG: ID3v1: Title: Город Обмана
DEBUG: ID3v1: Artist: Елка
DEBUG: ID3v2: version 3.0. Tag size is 4086 bytes.
DEBUG: ID3v2: Title found: Город Обмана
DEBUG: ID3v2: Artist found: Елка
DEBUG: Trimmed file to 5316147 bytes
DEBUG: MPEG-1 layer III, 192 kbps, 44100 Hz, j-stereo
DEBUG: Ext: 0 Mode_Ext: 2 Copyright: 0 Original: 1
DEBUG: Error Protection: 0 Emphasis: 0 Padding: 0
Playing Елка_-_02_-_Город_Обмана.mp3
DEBUG: Updated metadata on /main[autodj] to: Елка - Город Обмана
buggy title (have only english letters):
DEBUG: ID3v1: Title: Note To Self #1
DEBUG: ID3v1: Artist: Benjamin Bates
DEBUG: ID3v2: version 3.0. Tag size is 1828 bytes.
DEBUG: ID3v2: Artist found: яюB
DEBUG: ID3v2: Title found: яюN
DEBUG: MPEG-1 layer III, 320 kbps, 44100 Hz, stereo
DEBUG: Ext: 0 Mode_Ext: 0 Copyright: 1 Original: 1
DEBUG: Error Protection: 0 Emphasis: 0 Padding: 0
Playing Benjamin_Bates-Recyclomania-2007/01. Note To Self N1.mp3
DEBUG: Updated metadata on /main[autodj] to: яюB - яюN
All titles in this files handled properly with winamp, foobar and WMP. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Nov 15, 2007 2:19 am Post subject: |
|
|
I can't comment on the ices 0.x handling of ID3 but if ices is sending the characters unaltered then you'll need to specify the character set in icecast as I've already indicated. You haven't said what the character set your system assumes but I suspect that if I connect to the stream then it won't look right here.
karl |
|
| Back to top |
|
 |
btf
Joined: 15 Nov 2007 Posts: 3
|
Posted: Thu Nov 15, 2007 2:47 pm Post subject: |
|
|
We using charset cp1251 in icecast mountpoint (and have the same in tags too). It shows garbage instead of russian letters if any other charset (or none) specified.
But regarding correct titles displaying in icecast, it reports the same "яюB", "яюN" mysterious titles. Our listeners kidding, that they must go and buy an album of great and popular band "яюB", there are so many their tracks on radio =)
And this problem with ices0 only (not icecast) because all other source clients works with russian titles perfectly. |
|
| Back to top |
|
 |
|