Hi aid,
since I spend some hours to get it working I'll try to help you.

maybe you can post your darkice.cfg?

>Do i need to set the device in darkice.cfg - device = hw:IQaudIOCODEC ?

I use device = hw:nameOfYourDevice, the explicit name you'll find with cat /proc/asound/cards (the one in [], as it is). This prevents darkice not to find it if the system decides to change hw:0 to hw:1 for example.

>everytime I try and edit darkice.cfg, the system resets the file. where can i make this change if in fact it needs to be set?

I noticed the same. I use darkice -c /RelPathToACopyOfYour/darkice.cfg and it doesn't overwrite it.

rph-r

Le 06.05.20 à 15:12, aid a écrit :
Hi folks,

trying to set up an iqaudio Pi-CodecZero as described by Udo some days ago. Device seems to be loaded with lsmod | grep iqaudio and is seen at arecord -l

On boot, the pi zero starts up, I can see streambox.local, then the stream comes up, is clikable on the map, but fails after a few min. is there another step required for the darkice.cfg that needs to be set? Do i need to set the device in darkice.cfg - device = hw:IQaudIOCODEC ? 

everytime I try and edit darkice.cfg, the system resets the file. where can i make this change if in fact it needs to be set?

I get a 404 on http://locus.creacast.com:9001/cork_st._luke_s.ogg which seems to suggest a darkice misconfig...  

* streambox-darkice.service - Locusonus Streambox Live Stream
     Loaded: loaded (/usr/lib/systemd/system/streambox-darkice.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2020-05-06 12:59:10 UTC; 434ms ago
    Process: 4950 ExecStartPre=/home/locusonus/bin/audio.sh --setup (code=exited, status=0/SUCCESS)
    Process: 4961 ExecStartPost=/usr/bin/sleep 7 (code=exited, status=0/SUCCESS)
   Main PID: 4960 (darkice.sh)
      Tasks: 3 (limit: 987)
     Memory: 1.4M
     CGroup: /system.slice/streambox-darkice.service
             |-4960 /usr/bin/sh /home/locusonus/bin/darkice.sh
             `-4977 /usr/bin/darkice -c /boot/darkice.cfg

May 06 12:59:02 streambox systemd[1]: Starting Locusonus Streambox Live Stream...
May 06 12:59:03 streambox darkice.sh[4960]: Local ip address: 192.168.1.79
May 06 12:59:03 streambox darkice.sh[4960]: Download darkice config for 'oootinistream'
May 06 12:59:03 streambox darkice.sh[4964]: [159B blob data]
May 06 12:59:03 streambox darkice.sh[4977]: DarkIce 1.2 live audio streamer, http://code.google.com/p/darkice/
May 06 12:59:03 streambox darkice.sh[4977]: Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
May 06 12:59:03 streambox darkice.sh[4977]: Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
May 06 12:59:03 streambox darkice.sh[4977]: This is free software, and you are welcome to redistribute it
May 06 12:59:03 streambox darkice.sh[4977]: under the terms of The GNU General Public License version 3 or
May 06 12:59:03 streambox darkice.sh[4977]: any later version.
May 06 12:59:03 streambox darkice.sh[4977]: Using config file: /boot/darkice.cfg
May 06 12:59:03 streambox darkice.sh[4977]: Using ALSA DSP input device: plughw:0,0
May 06 12:59:03 streambox darkice.sh[4977]: Using POSIX real-time scheduling, priority 3
May 06 12:59:10 streambox systemd[1]: Started Locusonus Streambox Live Stream.


* streambox-darkice.service - Locusonus Streambox Live Stream
     Loaded: loaded (/usr/lib/systemd/system/streambox-darkice.service; enabled; vendor preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2020-05-06 13:04:17 UTC; 6s ago
    Process: 5493 ExecStartPre=/home/locusonus/bin/audio.sh --setup (code=exited, status=0/SUCCESS)
    Process: 5503 ExecStart=/home/locusonus/bin/darkice.sh (code=exited, status=255/EXCEPTION)
    Process: 5504 ExecStartPost=/usr/bin/sleep 7 (code=exited, status=0/SUCCESS)
   Main PID: 5503 (code=exited, status=255/EXCEPTION)


_______________________________________________
Locustream / Locus Sonus Streaming Project
http://locusonus.org/
To unsubscribe, send a message to 	locustream-request@nujus.net with unsubscribe in the subject or the message
http://nujus.net/cgi-bin/mailman/listinfo/locustream
_______________________________________________