Тема: icecast2 + Ices 0.4 снова киррилица
Здравствуйте. Парни вы моя последняя надежда.
Запустил icecast2 + ices 0.4 на VDS (Debian 9) но за место русских символов вижу кракозябры. Знаю что такая тема поднималась много раз, и она даже поднималась мной в 2011 году, но сейчас я перепробовал все варианты:
Писал в конфиг icecast.xml
<mount>
<mount-name>/play</mount-name>
<charset>cp1251</charset>
</mount>
через текстовый редактор менял кодировку с UTF-8 без BOOm на Ansi(CP1251) файла icecast.xml и файла status.xsl
Пытался менять кодировку самих mp3 файлов
find -iname '*.mp3' -print0 | xargs -0 mid3iconv -eCP1251 --remove-v1
Во всех случаях выходят кракозябры (
вот что выдает консоль при работе ices 0.4
DEBUG: Filename cleaned up from [/home/music/Хардкор по-русски.mp3] to [Хардкор по-русски]
DEBUG: ID3v1: Title: ▒▒▒▒▒▒▒ ▒▒-▒▒▒▒▒▒
DEBUG: ID3v1: Artist: ▒▒▒▒▒▒ ▒ ▒▒▒
DEBUG: ID3v2: version 3.0. Tag size is 36279 bytes.
DEBUG: ID3v2: Artist found: Z~▒~{▒ x h▒▒
DEBUG: ID3v2: Title found: ep▒tz~▒~-▒▒▒▒zx
DEBUG: MPEG-1 layer III, 320 kbps, 44100 Hz, j-stereo
DEBUG: Ext: 0 Mode_Ext: 2 Copyright: 0 Original: 1
DEBUG: Error Protection: 0 Emphasis: 0 Padding: 0
Playing /home/music/Хардкор по-русски.mp3
DEBUG: Updated metadata on /play to: Z~▒~{▒ x h▒▒ - ep▒tz~▒~-▒▒▒▒zx
Mounted on http://myhost.ru:8000/play
DEBUG: Delaying metadata update...
DEBUG: Updated metadata on /play to: Z~▒~{▒ x h▒▒ - ep▒tz~▒~-▒▒▒▒zx
конфиг ices play.conf
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices" encoding="cp1251">
<Playlist>
<File>playlist.txt</File>
<Randomize>0</Randomize>
<Type>perl</Type>
<Module>play</Module>
<Crossfade>5</Crossfade>
</Playlist>
<Execution>
<Background>0</Background>
<Verbose>1</Verbose>
<BaseDirectory>/tmp</BaseDirectory>
</Execution>
<Stream>
<Server>
<Hostname>myhost.ru</Hostname>
<Port>8000</Port>
<Password>длинный пароль</Password>
<Protocol>http</Protocol>
</Server>
<Mountpoint>/play</Mountpoint>
<Dumpfile>ices.dump</Dumpfile>
<Name>My Radio</Name>
<Genre>Alternative</Genre>
<Description>Default description</Description>
<URL>http://mysite.ru</URL>
<Public>0</Public>
<Bitrate>128</Bitrate>
<Reencode>1</Reencode>
<!--
<Samplerate>44100</Samplerate>
-->
<Channels>2</Channels>
</Stream>
</ices:Configuration>