|
5 anos atrás | |
---|---|---|
.settings | 8500b2180d Console support WIP! | 5 anos atrás |
components | 07d8342e1d revert external write loop change | 5 anos atrás |
idf-patch | 6364ab5ee9 add IDF patch | 5 anos atrás |
main | 217dd8e5f0 stack & internal memory optimization | 5 anos atrás |
.cproject | 7572c06800 Stabilizations | 5 anos atrás |
.gitattributes | a5b37a13c9 :confetti_ball: Added .gitattributes & .gitignore files | 5 anos atrás |
.gitignore | e9731ee232 tweak BT + first AirPlay commit | 5 anos atrás |
.project | be714988f1 Merge pull request #6 from philippe44/pr/4 | 5 anos atrás |
Makefile | 978afb363c full directory structure | 5 anos atrás |
README.md | 40128ac2b2 update IDF patch | 5 anos atrás |
partitions.csv | 8500b2180d Console support WIP! | 5 anos atrás |
sdkconfig.defaults | d063457616 tweaks | 5 anos atrás |
MOST IMPORTANT: create the right default config file
Once the application is running, under monitor, add autoexec to launch squeezelite at boot
1/ setup WiFi
nvs_set autoexec1 str -v "join <SSID> <password>"
2/ setup squeezelite command line (optional)
nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -m ESP32"
3/ enable autoexec
nvs_set autoexec u8 -v 1
4/ set bluetooth & airplaysink name (if not set in menuconfig)
nvs_set bt_sink_name str -v "" nvs_set airplay_sink_name str -v ""
The "join" and "squeezelite" commands can also be typed at the prompt to start manually. Use "help" to see the list.
The squeezelite options are very similar to the regular Linux ones. Differences are :
- the output is -o [\"BT -n <sinkname>\"] | [I2S]
- if you've compiled with RESAMPLE option, normal soxr options are available using -R [-u <options>]. Note that anything above LQ or MQ will overload the CPU
- if you've used RESAMPLE16, <options> are (b|l|m)[:i], with b = basic linear interpolation, l = 13 taps, m = 21 taps, i = interpolate filter coefficients
To add options that require quotes ("), escape them with \". For example, so use a BT speaker named MySpeaker and resample everything to 44100 (which is needed with Bluetooth) and use 16 bits resample with medium quality, the command line is:
nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'MySpeaker'\" -b 500:2000 -R -u m -Z 192000 -r \"44100-44100\""