|
%!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.settings | 4a4614951e Include memory fixes from main branch | %!s(int64=5) %!d(string=hai) anos |
components | 5e34f65e5e autoexec config settings working (#10) | %!s(int64=5) %!d(string=hai) anos |
idf-patch | c44c31f6d4 i2s ... | %!s(int64=5) %!d(string=hai) anos |
main | 5e34f65e5e autoexec config settings working (#10) | %!s(int64=5) %!d(string=hai) anos |
.cproject | 4a4614951e Include memory fixes from main branch | %!s(int64=5) %!d(string=hai) anos |
.gitattributes | a5b37a13c9 :confetti_ball: Added .gitattributes & .gitignore files | %!s(int64=5) %!d(string=hai) anos |
.gitignore | 6e7793a756 initial work on a wifi/http configuration module | %!s(int64=5) %!d(string=hai) anos |
.gitmodules | 6e7793a756 initial work on a wifi/http configuration module | %!s(int64=5) %!d(string=hai) anos |
.project | be714988f1 Merge pull request #6 from philippe44/pr/4 | %!s(int64=5) %!d(string=hai) anos |
Makefile | 6e7793a756 initial work on a wifi/http configuration module | %!s(int64=5) %!d(string=hai) anos |
README.md | 6e7793a756 initial work on a wifi/http configuration module | %!s(int64=5) %!d(string=hai) anos |
partitions.csv | daeb4dcd11 move to Apple alac decoder, update partition size | %!s(int64=5) %!d(string=hai) anos |
sdkconfig.defaults | 4e8abb2954 default config change | %!s(int64=5) %!d(string=hai) anos |
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
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\""