ОсновноеRadiotalkПользовательское
Технологии вещания, софт, скрипты
3   •   Посмотреть все темы

liquidsoap

 

6245
Тарас @tarasian666
If you want a cutting-edge version, you can use the mercurial (HG) repository. To get a copy of it, just run:

hg clone **********
After that, you can synchronize your repository using hg pull ; hg update. Once you have an up-to-date working copy, start with a ./bootstrap and follow the usual build instructions.

97
aPhone @aPhone
tarasian666 пишет:

If you want a cutting-edge version, you can use the mercurial (HG) repository. To get a copy of it, just run:

hg clone **********
After that, you can synchronize your repository using hg pull ; hg update. Once you have an up-to-date working copy, start with a ./bootstrap and follow the usual build instructions.


ага. скачал. но теперь при ./configure --disable-camomile
получаю:

****** Configuring ocaml-cry

./configure --with-cry-dir=../ocaml-cry/src --disable-camomile
configure: WARNING: unrecognized options: --with-cry-dir, --disable-camomile
configuring ocaml-cry 0.2.2
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking that calling user is not root... configure: error: configure script must not be run with root user!

6245
Тарас @tarasian666
configure: error: configure script must not be run with root user!

вам словарь дать? ))
кстате правильно сделали, я когда компилил от рута он мне /dev/null перетер на обычный файл и такое началось...

97
aPhone @aPhone
tarasian666 пишет:

configure: error: configure script must not be run with root user!

вам словарь дать? ))
кстате правильно сделали, я когда компилил от рута он мне /dev/null перетер на обычный файл и такое началось...

да не нужен мне словарь)
и так понятно что от рута не выполнять скрипт.. а как тогда еще может быть?
запускаю от пользователя ./configure --disable-camomile
получаю:



-------------------------------------------------------------------------------
| This configure file is provided in order for you to be able to build |
| liquidsoap without having to install all the dependencies. |
| If you want to use the libraries, use the configure of the subdirectories. |
| This script will build liquidsoap with features indicated in PACKAGES. |
| Edit it or build manually if you need something more specific. |
-------------------------------------------------------------------------------


****** Configuring ocaml-cry

./configure --with-cry-dir=../ocaml-cry/src --disable-camomile
configure: WARNING: unrecognized options: --with-cry-dir, --disable-camomile
./configure: line 1521: config.log: Permission denied
./configure: line 1531: config.log: Permission denied

что делать?

6245
Тарас @tarasian666
думай )

97
aPhone @aPhone
tarasian666 пишет:

думай )

ладно ладно.. сделаю я сейчас права на файл лог)))

97
aPhone @aPhone
установил на всю папку и все файлы права 777
далее из под рута выполняю make
получаю:

OCAMLOPT -c outputs/icecast2.ml
OCAMLOPT -c outputs/graphics_out.ml
File "outputs/graphics_out.ml", line 35, characters 4-23:
Error: Unbound value Graphics.open_graph
make[3]: *** [outputs/graphics_out.cmx] Ошибка 2
make[3]: Leaving directory `/usr/src/savonet/liquidsoap/src'
make[2]: *** [all-auto-ocaml-prog] Ошибка 2
make[2]: Leaving directory `/usr/src/savonet/liquidsoap/src'
make[1]: *** [all-subdirs] Ошибка 2
make[1]: Leaving directory `/usr/src/savonet/liquidsoap'
make: *** [all] Ошибка 1

97
aPhone @aPhone
сам нахожу проблемы, сам решаю))
собираем супа с параметрами:

./configure --disable-camomile --disable-graphics

97
aPhone @aPhone
ура) установил

liquidsoap --version
Liquidsoap 1.0.0+scm (default@c4b973e71263:20120323:152438)
Copyright (c) 2003-2011 Savonet team
Liquidsoap is open-source software, released under GNU General Public License.
See <**********> for more information.

при первом вылете тогда отпишусь тут. Спасибо большое за помощь! :)

97
aPhone @aPhone
не прошло и суток и снова та же самая проблема. вылетел суп

вот логи:


tail /tmp/liquidsoap.log
2012/03/23 21:58:37 [quota_4674:3] Switch to switch_4672 with forgetful transition.
2012/03/23 21:58:43 [src_4708:3] New metadata chunk: ? -- h.
2012/03/23 22:01:54 [new:3] Loading playlist...
2012/03/23 22:01:54 [new:3] Playlist is a directory.
2012/03/23 22:01:54 [decoder:3] Method "MP3" accepted "/home/belradio/win/radio/new/Steff Da Campo, Rutger Van Gelder vs. Madison Avenue - Who The Hell Are Wasted (Relanium Bootleg).mp3".
2012/03/23 22:01:54 [new:3] Successfully loaded a playlist of 116 tracks.
2012/03/23 22:02:05 [new:3] Finished with "/home/belradio/win/radio/new/\208\146\208\184\208\186\209\130\208\190\209\128 \208\166\208\190\208\185 \226\128\147 \208\159\208\176\209\135\208\186\208\176 \208\161\208\184\208\179\208\176\209\128\208\181\209\130 (MMx Studio Remix).mp3".
2012/03/23 22:02:05 [new:3] Prepared "/home/belradio/win/radio/new/Steff Da Campo, Rutger Van Gelder vs. Madison Avenue - Who The Hell Are Wasted (Relanium Bootleg).mp3" (RID 5).
2012/03/23 22:02:11 [src_4708:3] New metadata chunk: ? -- Steff Da Campo, Rutger Van Gelder vs. Madison Avenue - Who The Hell Are Wasted (Relanium Bootleg).
2012/03/23 22:08:02 [decoder:3] Method "MP3" accepted "/home/belradio/win/radio/new/Don Omar \226\128\147 Ella Ella (Mickey Martini,DJ Johnny Clash & Adrenalin Life Remix 2012).mp3".

что сейчас не так может быть?

6245
Тарас @tarasian666
странно.. получается упал после того как перегрузил плейлист?

97
aPhone @aPhone
не знаю после чего. вот еще один лог, снова суп упал. Эта версия даже как то чаще падает что ли

tail /tmp/liquidsoap.log
2012/03/24 02:16:50 [stderr:3] TagLib: MPEG::Header::parse() -- Invalid sample rate.
2012/03/24 02:16:55 [jingles:3] Finished with "/home/belradio/win/radio/jingles/3_3.mp3".
2012/03/24 02:16:55 [jingles:3] Prepared "/home/belradio/win/radio/jingles/4_3.mp3" (RID 11).
2012/03/24 02:16:55 [quota_4674:3] Switch to switch_4672 with forgetful transition.
2012/03/24 02:16:56 [src_4708:3] New metadata chunk: ? -- Dj Nejtrino - Dj Nejtrino & DJ Baur Mash Up - White Horse Cult.
2012/03/24 02:20:49 [decoder:3] Method "MP3" accepted "/home/belradio/win/radio/new/Lady Gaga \226\128\147 Marry The Night (DJ Alfred Remix).mp3".
2012/03/24 02:20:54 [new:3] Finished with "/home/belradio/win/radio/new/Dj Nejtrino & DJ Baur Mash Up - White Horse Cult.mp3".
2012/03/24 02:20:54 [new:3] Prepared "/home/belradio/win/radio/new/Lady Gaga \226\128\147 Marry The Night (DJ Alfred Remix).mp3" (RID 9).
2012/03/24 02:20:55 [src_4708:3] New metadata chunk: ? -- Unknown.
2012/03/24 02:26:23 [decoder:3] Method "MP3" accepted "/home/belradio/win/radio/new/Don Omar \226\128\147 Ella Ella (Mickey Martini,DJ Johnny Clash & Adrenalin Life Remix 2012).mp3".

Отредактировано aPhone - 24.03.2012
97
aPhone @aPhone
заметил, что трек в двух логах последний это:
2012/03/24 02:26:23 [decoder:3] Method "MP3" accepted "/home/belradio/win/radio/new/Don Omar \226\128\147 Ella Ella (Mickey Martini,DJ Johnny Clash & Adrenalin Life Remix 2012).mp3".

Может с ним что не так? Можете глянуть я его выложил:
**********

6245
Тарас @tarasian666
да что на него глядеть, проще попробовать убрать его с плейлиста

223
Игорь @devilben
aPhone почему бы не попробовать убрать пути на кириллице к плейлистам?

97
aPhone @aPhone
devilben пишет:

aPhone почему бы не попробовать убрать пути на кириллице к плейлистам?

дак их нету. кирилиица только в названиях файлов присутствует, и то 1 на 1000
а вот Don Omar \226\128\147 Ella
\226\128\147 это знак "-" почему его суп так распознает, я не знаю


tarasian666
ну дык уберу я этот файл, а проблема то останется. Я думаю не в нем же дело?


П.С.
вот мои пути:

jingles = playlist(reload=3600, mode='random', '/home/belradio/win/radio/jingles')
reklama = playlist(reload=600, mode='random', '/home/belradio/win/radio/reklama')
new = playlist(reload=600, mode='random', '/home/belradio/win/radio/new')
komer = playlist(reload=600, mode='random', '/home/belradio/win/radio/komer')

все на латинице, кириллицей и не пахнет :)

Отредактировано aPhone - 24.03.2012
6245
Тарас @tarasian666
может это не просто знак " - " а возможно вот такой " — " что имеет совсем другой код
у меня все " - " заспознает нормально
еще возможно установленя какая то другая кодировка диска при монтировании

97
aPhone @aPhone
действительно знак "–" а не "-" как я говорил. диск маунтится командой запущенной из крона:

/sbin/mount.ntfs-3g /dev/sda2 /home/belradio/win/ -o rw,noexec,nosuid,nodev,users,umask=0

какая кодировка тут?



П.С. другим в помощь:
символ на другой поможет команда:
prename 's/–/-/g' *.mp3

Отредактировано aPhone - 24.03.2012
6245
Тарас @tarasian666
0_о зачем маунтить из крона ?
для этого есть fstab

97
aPhone @aPhone
tarasian666 пишет:

0_о зачем маунтить из крона ?
для этого есть fstab


сорри, затупил. У меня как раз оттуда и маунтится:

UUID=A4B8B843B8B815B0 /home/belradio/win/ ntfs-3g users,defaults,umask=0 0 0