10-07-2022, 12:24 PM
Try the commands below.
Example:
# Supported formats are also printed in the moOde startup log
Code:
moodeutl -f
moodeutl -F
# Help
pi@moode:~ $ moodeutl --help
Usage: moodeutl [OPTION]
Moode utility programs
With no OPTION print the help text and exit.
-a Print features availability
-A [add|rm N] Update features availability
-d Dump session file (requires sudo)
-D [var name] Delete session variable (requires sudo)
-e [filename] Export settings to [filename] or ./moodecfg-<timestamp>.ini
-i Import settings (/boot/moodecfg.ini)
-f Print supported audio formats
-F Print full alsacap info
-l Print moode log
-m Run system monitor
-s Print system info
-c Detect CIFS (SMB) hosts
-C Detect CIFS (SMB) shares [host or ip address]
-N Detect NFS hosts
-M Detect MPD hosts
-o List audio overlays
-p Import playlists
-q Query sql database
-r Restart servers
-R Restart renderer [--bluetooth | --airplay | --spotify | --squeezelite | --roonbridge]
-t Print last 10 lines of moode log and wait
-u Check radio station urls for playability
-U Check station urls, list only unplayable
--btreset Reset Bluetooth to off
--mpdlog Print MPD log
--updlog Print in-place update log
--mooderel Print moOde release
--revision Print hardware revision
--version Print program version
--help Print this help text
Example:
Code:
# Just the bit depths
pi@moode:~ $ moodeutl -f
S16_LE, S24_LE, S32_LE
# Bit depths and sample rates
pi@moode:~ $ moodeutl -F
*** Scanning for playback devices ***
Card 0, ID `BossDAC', name `BossDAC'
Device 0, ID `Boss DAC HiFi [Master] pcm512x-hifi-0', name `Boss DAC HiFi [Master] pcm512x-hifi-0', 1 subdevices (1 available)
2 channels, sampling rate 8000..384000 Hz
Sample formats: S16_LE, S24_LE, S32_LE
Buffer size range from 64 to 131072
Period size range from 32 to 65536
Subdevice 0, name `subdevice #0'
# Supported formats are also printed in the moOde startup log
Code:
pi@moode:~ $ moodeutl -l | grep "Audio formats"
20221006 121251 worker: Audio formats (S16_LE, S24_LE, S32_LE)