Thank you for your donation!


Upcoming moOde 6.4.0 update
#21
(11-09-2019, 10:34 AM)tristanc Wrote:
(11-04-2019, 02:06 PM)Tim Curtis Wrote: One new feature added :-)
Code:
- NEW: Option to wake the display when audio starts playing

Tim - how has this been implemented? Is it a watch script for the mpd status changing or something being added when play is clicked etc?

If it's a watch script I could move my amp control script from 'external' and bolt it on to the internal moode one. Rather than running two.

Tristan

Answering my own question I see it's a watch script monitoring the hw_params file. So this should work with AirPlay.

How about adding a GPIO input field and toggling the GPIO value along in a similar manner to the display? Call it "Amp control" or "Relay Control" with its own selector, just like the wake display option?

Although I see an issue with this - the "sleep 6" means your amp would switch off after ~6 seconds on hitting pause - which wouldn't be ideal and changing 6 to 120 would impact on the rest of moode. Hmm. Hopefully two processes reading the hw_params file won't impact anything.
Reply
#22
It's implemented in watchdog.sh within its 6 second polling loop. It's checking ALSA hw_params.
https://github.com/moode-player/moode/bl...atchdog.sh

-Tim
Reply
#23
Hi,

Just a brief update on upcoming 6.4.0 release.

- Staying with kernel 4.19.79 due to an issue in 4.19.80 and higher
- Shairport-sync bumped to 3.3.5 w/MQTT support
- MPD bumped to 0.21.16
- XFS file system supported in USB auto-mounter
- More minor bug fixes

Code:
########################################################
//
// 6.4.0 2019-MM-DD
//
########################################################

New features

- NEW: Option to wake display when audio starts playing

Updates

- UPD: Bump to Linux kernel 4.19.79 build #1273
- UPD: Bump to Bluez-alsa 2.0.0
- UPD: Bump to alsa-capabilities 2.0.1
- UPD: Bump to MPD 0.21.16
- UPD: Bump to shairport-sync 3.3.5 w/mqtt support
- UPD: Deprecate MPD 0.20.23 and make 0.21.16 the default
- UPD: Tag View album list gets same grouping as Album View
- UPD: Hide quick jump index if grouping albums by year
- UPD: Quick jump to artist if grouping by Artist
- UPD: Add network interface info to Moode log
- UPD: Add max ALSA volume setting to Audio Config
- UPD: Add HifiBerry DAC/DAC+ Zero to audio device table
- UPD: Add option -F to moodeutl to print sample rates
- UPD: Add eye icon for show/hide password plaintext
- UPD: Add XFS filesystem support to udisks-glue
- UPD: Add hdmi_blanking=1 to /boot/config.txt
- UPD: Improve Gpio-buttons Python 2/3 compatibility
- UPD: Add xfsprogs package for xfs file system support

Radio stations

- UPD: Playable URL for Jazz24

Bug fixes

- FIX: Pi-4B / Allo Katana driver load failure
- FIX: JSON encode fail in genLibrary() if bad UTF-8 chars
- FIX: Wrong symbol code used for microseconds in html Sysinfo
- FIX: Swap file not disabled during build
- FIX: PSK not generated when password contains certain chars
- FIX: Date parsing in function genLibraryUTF8Rep()
- FIX: Line wrap in Library Tag and Album views
- FIX: Time knob counter left position and radio badge width
- FIX: Airplay settings section of Sysinfo

-Tim
Reply


Forum Jump: