Here's my full ices config file, minus passwords. 


Code:
--------------------
    <?xml version="1.0"?>
  <ices>
  <!-- run in background  -->
  <background>1</background>
  <!-- where logs go. -->
  <logpath>/home/jukebox/logs</logpath>
  <logfile>ices.log</logfile>
  <!-- size in kilobytes -->
  <logsize>2048</logsize>
  <!-- 1=error, 2=warn, 3=infoa ,4=debug -->
  <loglevel>4</loglevel>
  <!-- logfile is ignored if this is set to 1 -->
  <consolelog>0</consolelog>
  
  <!-- optional filename to write process id to -->
  <pidfile>/home/jukebox/ices.pid</pidfile>
  
  <stream>
  <!-- metadata used for stream listing -->
  <metadata>
  <name>AutoDJ In Effect</name>
  <genre></genre>
  <description>RAD10X Robot</description>
  <url>https://rad10x.com/</url>
  </metadata>
  
  
  <input>
  <module>stdinpcm</module>
  <param name="rate">44100</param>
  <param name="channels">2</param>
  <param name="metadata">1</param>
  <param name="metadatafilename">/home/jukebox/metadata.txt</param>
  </input>
  
  <instance>
  <hostname>radio.rad10x.com</hostname>
  <port>8080</port>
  <password>NoPasswordHere</password>
  <mount>/</mount>
  <yp>0</yp>   <!-- allow stream to be advertised on YP, default 0 -->
  
  <encode>
  <quality>9</quality>
  <!-- <nominal-bitrate>320000</nominal-bitrate> -->
  <samplerate>44100</samplerate>
  <channels>2</channels>
  </encode>
  </instance>
  </stream>
  </ices>
  
--------------------



And Running:


Code:
--------------------
    $  parec -v | ices-2.0.3/src/ices  ices-conf.xml
  Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
channel map 'front-left,front-right'.
  Connection established.
  Stream successfully created.
  Buffer metrics: maxlength=4194304, fragsize=352800
  Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
  Connected to device Radio.monitor (index: 1, suspended: no).
  Time: 14452.230 sec; Latency: -1209014 usec.
  
--------------------


------------------------------------------------------------------------
Matt Drown's Profile: http://forums.slimdevices.com/member.php?userid=69476
View this thread: http://forums.slimdevices.com/showthread.php?t=112809

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to