| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sun Feb 25, 2007 2:55 pm Post subject: ices2.0.1 - ices.conf - input -> script ? |
|
|
hi
i have a problem with the input type script.
this is my input:
| Code: |
<input>
<module>playlist</module>
<param name="type">script</param>
<param name="program">php /home/player.php</param>
</input>
|
the player.php returns only one line: /home/ogg/file.ogg
the files and paths are correct.
ices disconnected an the logfile means:
| Code: |
[2007-02-25 15:33:05] INFO ices-core/main IceS 2.0.1 started...
[2007-02-25 15:33:05] INFO signals/signal_usr1_handler Metadata update requested
[2007-02-25 15:33:05] EROR playlist-script/playlist_script_get_filename Got newlines instead of filename from program "php /home/player.php"
[2007-02-25 15:33:05] INFO playlist-builtin/playlist_read No more filenames available, end of playlist
[2007-02-25 15:33:05] INFO stream/ices_instance_stream Connected to server: localhost:8666/live.ogg
[2007-02-25 15:33:05] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
[2007-02-25 15:33:05] DBUG reencode/reencode_clear Clearing reencoder
[2007-02-25 15:33:05] DBUG input/input_loop An instance died, removing it
[2007-02-25 15:33:05] DBUG input/input_flush_queue Input queue flush requested
[2007-02-25 15:33:05] INFO input/input_loop All instances removed, shutting down...
[2007-02-25 15:33:05] INFO ices-core/main Shutdown complete
|
i cant find the bug
for the info here my complete ices.conf:
| Code: |
<?xml version="1.0"?>
<ices>
<background>0</background>
<logpath>/home/icecastlogs/ices</logpath>
<logfile>ices.log</logfile>
<loglevel>4</loglevel>
<consolelog>0</consolelog>
<stream>
<metadata>
<name>x</name>
<genre>y</genre>
<description>z</description>
</metadata>
<input>
<module>playlist</module>
<param name="type">script</param>
<param name="program">php /home/player.php</param>
</input>
<instance>
<hostname>localhost</hostname>
<port>8666</port>
<password>xyz</password>
<mount>/live.ogg</mount>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>
<encode>
<nominal-bitrate>64000</nominal-bitrate> <!-- bps. e.g. 64000 for 64 kbps -->
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>
</stream>
</ices>
|
|
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Feb 25, 2007 8:26 pm Post subject: |
|
|
its done
phpcli must be installed.(and check the php.ini for mysql-paths) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group subRebel style by ktauber
|