Commit Graph

90 Commits

Author SHA1 Message Date
f73d45404f Merge branch 'develop' 2019-11-30 00:06:56 +01:00
ecc7c46b8d Playlist: Restrict RSS feeds to the newest 20 entries. Keep them in the correct order, starting with the last (newest) one. 2019-11-29 21:25:17 +01:00
0dd5937707 Player: Prevent overflows in vol_up() and vol_down(). 2019-11-29 21:24:41 +01:00
547080acf5 Main: Fix WiFi connection stuff for multiple WiFis. 2019-11-29 21:24:10 +01:00
d3c699aefa Webinterface: Typo fix. 2019-11-29 21:23:38 +01:00
a8d19cd6e1 HTTPClientWrapper: Initialize buffer variables. D'Oh. 2019-11-29 21:23:01 +01:00
38d48ab0e4 Controller: Only read sector 1 from RFID cards. That's big enough and much faster. 2019-11-29 21:22:35 +01:00
51bef05465 Fixed advent mode and persistence stuff. 2019-11-29 21:20:19 +01:00
4eef69516e Made TRACE a bit less talkative. 2019-11-29 21:18:28 +01:00
9175193b67 Disabled the custom partitioning stuff because the ESP32 entered a boot loop after flashing it. So we are back at ~85% memory used... 2019-11-29 21:16:10 +01:00
65118fbc42 Play position in stuff like podcasts can now be permanently persisted. 2019-11-29 17:41:16 +01:00
076f0e9dfd Changed the baud rate of the serial port to 115200 to match the ESP32 boot loader. 2019-11-29 06:14:45 +01:00
571e969bc4 deploy.sh: Show last tags. 2019-11-29 06:13:16 +01:00
8e15f87cd3 Moved index.html from SPIFFS to program memory. Removed dependencies to SPIFFS. Also, we can use a different partition scheme with much more program space instead of reserving some of it for SPIFFS. 2019-11-29 06:10:17 +01:00
dd9e1538c8 Playlist: More defensive proramming for when trying to play an empty playlist. 2019-11-29 05:52:00 +01:00
001e275131 Include information about versions and WiFi connection to controller's json. 2019-11-29 05:46:26 +01:00
196021bef5 Try to (re)connect to WiFi every 5 minutes. (Only when not playing at the moment.) 2019-11-29 05:45:21 +01:00
63b9616677 Removed "redefined macro" warnings from MFRC522 library. 2019-11-29 05:36:59 +01:00
d4c9a6d582 Documented API commands. 2019-11-29 05:36:22 +01:00
5fe66fdaef Added a command update to run the update check. 2019-11-29 05:35:47 +01:00
6445dc0fb8 Unly call Updater on startup if the SPIFFS needs an update. 2019-11-29 05:32:22 +01:00
7a20cf4b04 Better deploy script. 2019-11-29 05:29:01 +01:00
bbf77c6b1e Added deploy script. 2019-11-28 19:26:35 +01:00
b805d1b183 Updater: Better flow for performing updates; added MD5 validation. 2019-11-28 06:48:16 +01:00
07b1ea3a5c Added Updater to automatically perform OTA updates without user interaction. 2019-11-28 06:42:30 +01:00
3b0410f560 Merge branch 'feature-webstreams' 2019-11-28 06:30:16 +01:00
8f19b990ff PlaylistManager: Only search for folders, don't try it with webstreams. 2019-11-28 06:29:51 +01:00
519ac0e3bd Playlist: Album title now gets handled better. 2019-11-28 06:20:57 +01:00
651843fb06 Webinterface: Fixed usage of filenames as titles. 2019-11-28 06:20:07 +01:00
fcbbdce118 Playlist: Initialization of PlaylistEntries now uses designators. 2019-11-28 06:19:11 +01:00
6f8683ba9d WIP: Lots of streaming stuff 2019-11-27 06:51:20 +01:00
710b8a2cdc Add UserAgent, remove superfluous form of location mapping. 2019-11-20 06:17:18 +01:00
b989784fb9 You can now also play MP3s streamed from the internet. (Very rough & wonky code. More or less proof-of-concept right now.) 2019-11-20 06:13:15 +01:00
94489618ca Moved reading of SD card data into a dedicated class DataSource. 2019-11-20 05:04:27 +01:00
82d8f07eea Player: Only change volume and report a position if we are actually playing something. 2019-11-19 20:48:43 +01:00
20041dd483 Extended http_server to provide new endpoints:
/_mapping.txt, /player.json, /playlist_manager.json, /controller.json and /position.json to get the matching data as well as /cmd to send commands to.
2019-11-19 20:48:11 +01:00
4f9174d362 PlaylistManager: Extracted create_mapping_txt from _save_mapping. 2019-11-19 20:46:54 +01:00
68ecc05712 Made player and playlist_manager pubilc members of Controller. 2019-11-19 20:46:04 +01:00
5fad39ee0e Added File System Upload step to installation instructions. 2019-11-19 20:44:03 +01:00
01f513c97b More typographic fixes. 2019-11-17 19:34:38 +01:00
3bfbea92d8 Typo. -_- 2019-11-17 19:33:25 +01:00
d818624287 Added much more info to README.md 2019-11-17 19:31:59 +01:00
d92388d11f Add config.h to .gitignore. 2019-11-17 17:39:50 +01:00
37df309127 Removed MQTT client. Was more or less unused, anyways. 2019-11-17 17:38:41 +01:00
be8a124803 Prepared config.sample.h for making it public. 2019-11-17 17:31:52 +01:00
104236dd0c Remove old files from .vscode. 2019-11-17 14:27:43 +01:00
e1dd004cf5 Reload folder mappings after modifying a mapping. 2019-11-17 14:26:23 +01:00
b5ec78ab41 When chaging to another track, play it from the beginning. 2019-11-17 14:25:47 +01:00
fff9d9bc61 Small fix. 2019-11-17 14:25:22 +01:00
ef47c771ef You can now get and set the state of all CS pins at once. 2019-11-17 14:24:01 +01:00