bpa wrote:
> Why not just send a command to Zero to shut down ? Something like the
> execute Plugin (it may need to be revived form somewhere) sending a
> commanfd to Zero which is "listening" using netcat.
>
This would be a way, but not a fully automatic one. I even found a
(German language) 'How-to'
(https://blog.natenom.com/2015/09/raspberry-pi-automatisch-herunterfahren-durch-spielen-einer-bestimmten-datei-in-mpd/)
that explaines how playing a prepared mp3 file (extra information in the
meta data) in MPD can be used to shutdown the raspi. But what I was
looking for was a fully automatic way - you put the record to play, go
to the place where you are listening and can forget about shutting down
the Raspi - until you need it again perhaps two weeks later.
> I don't know the command chain your are using but if there is a pipe
> betweebn apps with the audio data - you can use tee in berween to so
> that you canmonitor the stream.
I simply direct LMS (via iPeng) to a special m3u-playlist stored in LMS'
playlist folder that directs to the Icecast stream on the phono Raspi
("IP-ADDRESS"):
Code:
--------------------
#CURTRACK 0
#EXTM3U
#EXTURL:http://IP-ADDRESS:8000/phono
#EXTINF:-1,Phono
http://IP-ADDRESS:8000/phono
--------------------
> There is also a way with Alsa using a specific "device" that monitors an
> audio sources - which is what waveinput usually does by copying to LMS
> the audio that is sent to PC speaker. Again details will depend on your
> setup.
I understood that it's dsnoop that allows two simultaneous recordings
from the same capture device (which is what I would need to go the sox
way). But I get the same "busy" message using dsnoop instead of hw:1,0
PCP (always latest version) on RasPi 3 with PhatDac (player & server)
PCP on several RasPis 2 +3
2 Airplay speakers (Sony SA-NS510) integrated via Airplay Bridge Plugin
------------------------------------------------------------------------
streampunk's Profile: http://forums.slimdevices.com/member.php?userid=66210
View this thread: http://forums.slimdevices.com/showthread.php?t=49584
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins