philippe44
51761d0890
Merge pull request #96 from michaelherger/firmware-proxy
...
Don't filter by HTTP verb - older firmwares are using GET rather than HEAD
2021-04-26 22:34:47 -07:00
Michael Herger
5c56abfe75
Don't filter by HTTP verb - older firmwares are using GET rather than HEAD
2021-04-27 07:31:24 +02:00
philippe44
9ac7c5bbeb
Merge pull request #95 from michaelherger/firmware-proxy
...
Fix backwards compatibility with "older" firmwares
2021-04-26 22:09:05 -07:00
Michael Herger
be28555a40
Fix backwards compatibility with "older" firmwares checking for the -99 magic number, rather than check.bin
2021-04-27 07:06:47 +02:00
Philippe G
1d32479bc4
less verbose
2021-04-25 22:29:41 -07:00
philippe44
c83ddc4adc
Merge pull request #90 from michaelherger/firmware-proxy
...
Firmware proxy
2021-04-25 22:12:15 -07:00
Michael Herger
5a7cf9b8fe
Merge commit '387276f2f33a0fb9dde01434387aac9cdc9a8472' into firmware-proxy
...
# Conflicts:
# components/wifi-manager/webapp/webapp.cmake
# components/wifi-manager/webapp/webpack.c
# components/wifi-manager/webapp/webpack.h
# components/wifi-manager/webapp/webpack/dist/index.html
# components/wifi-manager/webapp/webpack/dist/index.html.br
# components/wifi-manager/webapp/webpack/dist/index.html.gz
# components/wifi-manager/webapp/webpack/dist/js/index.18c3b7.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/index.abeafc.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/index.cf3fe8.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/node-modules.18c3b7.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/node-modules.abeafc.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/node-modules.cf3fe8.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/node-modules.cf3fe8.bundle.js.br
# components/wifi-manager/webapp/webpack/dist/js/node-modules.cf3fe8.bundle.js.gz
# components/wifi-manager/webapp/webpack/dist/js/runtime.18c3b7.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/runtime.18c3b7.bundle.js.br
# components/wifi-manager/webapp/webpack/dist/js/runtime.18c3b7.bundle.js.gz
# components/wifi-manager/webapp/webpack/dist/js/runtime.abeafc.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/runtime.abeafc.bundle.js.br
# components/wifi-manager/webapp/webpack/dist/js/runtime.abeafc.bundle.js.gz
# components/wifi-manager/webapp/webpack/dist/js/runtime.cf3fe8.bundle.js
# components/wifi-manager/webapp/webpack/dist/js/runtime.cf3fe8.bundle.js.br
# components/wifi-manager/webapp/webpack/dist/js/runtime.cf3fe8.bundle.js.gz
2021-04-26 07:04:53 +02:00
Michael Herger
190326726c
Add firmware upload handler to SqueezeESP32 plugin
...
* upload firmware image: `curl -vF 'data=@./someFirmwareImage.bin' http://localhost:9000/plugins/SqueezeESP32/firmware/upload ` (or the JS equivalent, using multipart form data
* receive response: `{"url":"http://192.168.0.63:9000/plugins/SqueezeESP32/firmware/squeezelite-esp32-upload-b0w7mn.bin ", "size":2463375}`
* install firmware from temporary URL returned
* uploads are removed after 15 minutes or upon LMS restart
2021-04-25 01:26:10 +02:00
Sébastien
387276f2f3
adjust artifact prefix
2021-04-21 14:42:54 -04:00
Sébastien
87b8c46263
drum roll. V1 release
I2S-4MFlash.16.665.master-cmake
SqueezeAmp.16.665.master-cmake
I2S-4MFlash.32.665.master-cmake
ESP32-A1S.16.665.master-cmake
ESP32-A1S.32.665.master-cmake
SqueezeAmp.32.665.master-cmake
2021-04-21 14:06:16 -04:00
Sebastien
d7aef11856
Merge remote-tracking branch 'origin/master-cmake' into master-cmake
2021-04-21 14:01:27 -04:00
Sebastien
be842d235d
update to version 1
2021-04-21 14:01:23 -04:00
Philippe G
d49ad66177
version 1
2021-04-21 10:55:46 -07:00
Sebastien
ca28669b0a
Merge remote-tracking branch 'origin/master-cmake' into master-cmake
2021-04-21 13:27:36 -04:00
Sebastien
45f480d948
NVS ui fine-tuning, site icon now works
2021-04-21 13:27:32 -04:00
Philippe G
852e312879
Correct AAC handling of different AOT
2021-04-20 19:38:01 -07:00
Philippe G
c79cf5b58f
more AAC SBR combinations
2021-04-19 22:47:35 -07:00
Michael Herger
1a4a8ba559
Allow firmware installation from LMS' player settings page
2021-04-17 19:09:31 +02:00
Michael Herger
7ad39a02f5
Extend firmware download handler to serve locally built custom firmware, too.
...
Just save it as `squeezelite-esp32-custom.bin` in the firmware update folder (LMS Cache/updates) and paste http://yourlms:9000/plugins/SqueezeESP32/firmware/custom.bin in the firmware URL box.
2021-04-17 07:19:04 +02:00
Michael Herger
f96d06912f
Fix LMS plugin availability check. As I removed the download by ID, this needs a tweak on the UI/JS side.
2021-04-17 06:32:09 +02:00
Michael Herger
36571d3dad
Improve firmware download proxy
...
* initialize firmware pre-fetching when a player connects
* get firmware based on the player's version string as returned by `status.json`
* keep firmware file per platform/branch/resolution combination to support different squeezelite-ESP32 players in an installation
* remove handler to get firmware by numeric ID rather than filename
2021-04-17 06:27:25 +02:00
Michael Herger
b075bbaea3
Add link to the ESP32 WiFi Manager to the settings page in LMS.
2021-04-17 06:27:25 +02:00
Philippe G
ec7982dbfc
Merge branch 'master-cmake' of https://github.com/sle118/squeezelite-esp32 into master-cmake
2021-04-16 11:44:44 -07:00
Philippe G
afd76bdfbb
do not fail when external dac has no I2C!
2021-04-16 11:43:02 -07:00
philippe44
89ecd19d32
Update README.md
2021-04-15 15:56:34 -07:00
Philippe G
8904ec1afd
remove extra bt_sink NVS initialization
2021-04-14 23:56:25 -07:00
Sebastien
5120029643
Firmware update improvements - include webpack build files
2021-04-14 21:09:45 -04:00
Sebastien
4a529d6fbd
Firmware update UI revamp with support for local proxy
2021-04-14 18:16:18 -04:00
Sebastien
afe697e4b1
Merge remote-tracking branch 'origin/master-cmake' into master-cmake
2021-04-14 18:15:38 -04:00
Philippe G
879b1f9107
handle abs & local BT volume - release
I2S-4MFlash.16.654.master-cmake
ESP32-A1S.16.654.master-cmake
ESP32-A1S.32.654.master-cmake
SqueezeAmp.16.654.master-cmake
I2S-4MFlash.32.654.master-cmake
SqueezeAmp.32.654.master-cmake
2021-04-13 18:04:23 -07:00
Sebastien
5a7d4fd535
Merge remote-tracking branch 'origin/master-cmake' into master-cmake
2021-04-12 12:12:00 -04:00
Sebastien
d61c650f39
UI change of the update mechanism
2021-04-12 12:11:54 -04:00
Philippe G
f096ee269e
clean TAS57xx - release
SqueezeAmp.32.653.master-cmake
I2S-4MFlash.16.653.master-cmake
ESP32-A1S.16.653.master-cmake
ESP32-A1S.32.653.master-cmake
SqueezeAmp.16.653.master-cmake
I2S-4MFlash.32.653.master-cmake
2021-04-10 12:44:04 -07:00
Philippe G
0610e1a2bc
include wm8978 - release
I2S-4MFlash.32.652.master-cmake
SqueezeAmp.32.652.master-cmake
ESP32-A1S.16.652.master-cmake
I2S-4MFlash.16.652.master-cmake
SqueezeAmp.16.652.master-cmake
ESP32-A1S.32.652.master-cmake
2021-04-10 11:57:05 -07:00
philippe44
68db286777
Merge pull request #89 from wizmo2/wm8978
...
Add support for WM8978 i2c dac
2021-04-10 11:50:59 -07:00
Wizmo2
5075878f05
Updates to driver for rebase
2021-04-10 08:59:45 -04:00
Wizmo2
d965187d2c
Merge branch 'wm8978' of https://github.com/wizmo2/squeezelite-esp32 into wm8978
2021-04-10 08:44:49 -04:00
wizmo2
e25b098678
Update wm8978.c
2021-04-10 08:44:13 -04:00
Wizmo2
a3b23bffc2
Config changes for WM8978 support
2021-04-10 08:44:13 -04:00
Wizmo2
dbc7a6b14e
Add support for WM8978 i2c dac
2021-04-10 08:44:13 -04:00
Sebastien
a105f7fd99
Merge remote-tracking branch 'origin/master-cmake' into master-cmake
2021-04-09 13:45:59 -04:00
Philippe G
1b39a4f7c9
DAC refactoring
2021-04-08 21:37:24 -07:00
Philippe G
cac6306a04
activate SBR mode in AAC
2021-04-07 00:45:21 -07:00
Wizmo2
749d71a36f
Merge branch 'wm8978' of https://github.com/wizmo2/squeezelite-esp32 into wm8978
2021-04-06 11:15:45 -04:00
wizmo2
4d40355d5c
Update wm8978.c
2021-04-06 11:14:21 -04:00
Wizmo2
c311faa90f
Config changes for WM8978 support
2021-04-05 21:39:16 -04:00
Wizmo2
0821551a2f
Add support for WM8978 i2c dac
2021-04-05 14:34:38 -04:00
Philippe G
3a2bfe470f
show absolute battery level
2021-04-04 16:06:31 -07:00
Philippe G
f6b55c5ac9
voltage
2021-04-04 15:45:22 -07:00
Michael Herger
f9e97036cf
Firmware proxy ( #88 )
...
* Add support for a firmware download proxy. This should help in situations where the player's firmware can't handle https correctly.
Two possibilities:
* full path to image: http://yourlms:9000/plugins/SqueezeESP32/firmware/ESP32-A1S.32.634.master-cmake/squeezelite-esp32-master-cmake-ESP32-A1S-32-V0.634.bin
* use Github's asset ID: http://yourlms:9000/plugins/SqueezeESP32/firmware/34298863
The former is more prone to issues related to the path. A change in the schema could break the matching regex.
The latter is simpler to use if you know the ID. But the ID is not easily available to the user. And it requires one more lookup in the plugin to get from the ID to the download path.
* Add support for proxying firmware downloads through LMS
* add magic asset ID -99 to allow the front-end to check whether the plugin does support download proxying
* web manager is expecting `lms_port` and `lms_ip` in `status.json`. If that's available, check whether plugin does support firmware downloading. If that's the case, download firmwares through LMS
* plugin would cache firmware images. In case of multiple images the file would be served directly from LMS.
* Add firmware pre-caching
* keep track of the most recently requested firmware build type
* poll Github for releases every ~6h
* download new firmware file for the same player model used before
Factor out firmware handling code to its own module.
Co-authored-by: Michael Herger <michael@herger.net >
2021-04-04 13:02:12 -04:00