Re: [Alsa-user] how to detect activity or non activity on soundcard

2012-03-25 Thread Robert Bude
Thanks Torsten for your very good and exact answer i now use parallel to the preshutdownscript of mythtv your script in an light edited style if silence is detected your script kills vlc, mythtvfrontend and rhytmbox instances. Then my existing preshutdown script returns 0 so the

[Alsa-user] how to detect activity or non activity on soundcard

2012-03-23 Thread Robert Bude
hi everybody, at home i have a mythbuntu media pc. it will shutdown if no tv recording is sheduled and no user programs like mediaplayers webbrowsers and so on open. this works with an preshutdown script which simply checks if one of the programs i define is still active. this works very good.