Commit Graph

89 Commits

Author SHA1 Message Date
Fabian Schlenz 913a64d465 Die Position in einer Playlist beilbt beibehalten, solange die Papabox nicht neu gestartet wird. 2022-08-25 14:52:12 +02:00
Fabian Schlenz b2cf9d6277 Systeminfos werden via mp3-Dateien in /system abgespielt. 2022-08-25 14:51:18 +02:00
Fabian Schlenz 076a6993c7 FTP-Server for managing the contents of the sd card. 2022-08-25 14:48:25 +02:00
Fabian Schlenz 13e62fea19 Shuffle the playlist before playing if "[random]" is in the rfid data. 2022-08-22 13:59:00 +02:00
Fabian Schlenz 15a65f7391 Added reaing of RFID contents. 2022-08-22 13:58:22 +02:00
Fabian Schlenz b9df55012f Better handling of eof_mp3 events: Keep playing as long as there is data remaining. 2022-08-22 13:57:46 +02:00
Fabian Schlenz fb6b5bced6 Test for button press every 50ms. That's more than enough. 2022-08-22 13:56:43 +02:00
Fabian Schlenz 7dcb0cb673 Allocate a bigger (30KByte) Buffer for Audio. 2022-08-22 08:52:09 +02:00
Fabian Schlenz cf433a48b2 Support for http(s) links in _mapping.txt 2022-08-22 08:51:19 +02:00
Fabian Schlenz 9a39b00a65 Lautstärke-Änderungen in 2er-Schritten. 2022-08-21 17:42:58 +02:00
Fabian Schlenz aed9c416bf Standard-Lautstärke 12 statt 3. 2022-08-21 17:40:50 +02:00
Fabian Schlenz 2908d23e60 Alten Code gelöscht. 2022-08-21 17:40:32 +02:00
Fabian Schlenz 3272921db2 Daten von RFID-Karten (versuchen zu) lesen. 2022-08-21 17:40:22 +02:00
Fabian Schlenz 6ddf1efd62 Prevent playing prev_track if there are no tracks. 2022-08-21 15:27:00 +02:00
Fabian Schlenz 45dfe0cfe0 Don't read all dirs at startup. 2022-08-21 15:26:29 +02:00
Fabian Schlenz 4840c150c2 Button handling implemented. 2022-08-21 14:00:52 +02:00
Fabian Schlenz 9c31f70c57 It's working more or less... 2022-08-21 11:37:42 +02:00
Fabian Schlenz 978b25c34d Started rewrite for using an I2S amplifier with less unnecessary features. 2022-08-19 10:37:03 +02:00
Fabian Schlenz dcca828197 Kleine Verbesserungen. 2022-08-18 16:38:07 +02:00
Fabian Schlenz fa208858d9 Webinterface: Added an overlay to display when the websocket isn't connected. 2019-12-04 05:59:52 +01:00
Fabian Schlenz 6d452ecbc0 Added tracing stuff to RSSParser. 2019-12-04 05:58:25 +01:00
Fabian Schlenz 23fbddb055 TinyXML is broken, but I couldn't find an alternative nor fix it. So the code now is pretty hack-y to work around the bugs. 2019-12-04 05:57:58 +01:00
Fabian Schlenz fe2a209e44 Debug and Trace modes can now be (de)activated via API commands and are persisted across reboots. 2019-11-30 13:53:50 +01:00
Fabian Schlenz 82905a8cdd Fixed M3U parser for last lines ending without a newline. 2019-11-30 13:38:34 +01:00
Fabian Schlenz 3751904cb4 Start with speakers off. 2019-11-30 13:37:35 +01:00
Fabian Schlenz 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
Fabian Schlenz 0dd5937707 Player: Prevent overflows in vol_up() and vol_down(). 2019-11-29 21:24:41 +01:00
Fabian Schlenz 547080acf5 Main: Fix WiFi connection stuff for multiple WiFis. 2019-11-29 21:24:10 +01:00
Fabian Schlenz d3c699aefa Webinterface: Typo fix. 2019-11-29 21:23:38 +01:00
Fabian Schlenz a8d19cd6e1 HTTPClientWrapper: Initialize buffer variables. D'Oh. 2019-11-29 21:23:01 +01:00
Fabian Schlenz 38d48ab0e4 Controller: Only read sector 1 from RFID cards. That's big enough and much faster. 2019-11-29 21:22:35 +01:00
Fabian Schlenz 51bef05465 Fixed advent mode and persistence stuff. 2019-11-29 21:20:19 +01:00
Fabian Schlenz 4eef69516e Made TRACE a bit less talkative. 2019-11-29 21:18:28 +01:00
Fabian Schlenz 65118fbc42 Play position in stuff like podcasts can now be permanently persisted. 2019-11-29 17:41:16 +01:00
Fabian Schlenz 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
Fabian Schlenz 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
Fabian Schlenz dd9e1538c8 Playlist: More defensive proramming for when trying to play an empty playlist. 2019-11-29 05:52:00 +01:00
Fabian Schlenz 001e275131 Include information about versions and WiFi connection to controller's json. 2019-11-29 05:46:26 +01:00
Fabian Schlenz 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
Fabian Schlenz 5fe66fdaef Added a command `update` to run the update check. 2019-11-29 05:35:47 +01:00
Fabian Schlenz 6445dc0fb8 Unly call Updater on startup if the SPIFFS needs an update. 2019-11-29 05:32:22 +01:00
Fabian Schlenz b805d1b183 Updater: Better flow for performing updates; added MD5 validation. 2019-11-28 06:48:16 +01:00
Fabian Schlenz 07b1ea3a5c Added Updater to automatically perform OTA updates without user interaction. 2019-11-28 06:42:30 +01:00
Fabian Schlenz 8f19b990ff PlaylistManager: Only search for folders, don't try it with webstreams. 2019-11-28 06:29:51 +01:00
Fabian Schlenz 519ac0e3bd Playlist: Album title now gets handled better. 2019-11-28 06:20:57 +01:00
Fabian Schlenz fcbbdce118 Playlist: Initialization of PlaylistEntries now uses designators. 2019-11-28 06:19:11 +01:00
Fabian Schlenz 6f8683ba9d WIP: Lots of streaming stuff 2019-11-27 06:51:20 +01:00
Fabian Schlenz 710b8a2cdc Add UserAgent, remove superfluous form of location mapping. 2019-11-20 06:17:18 +01:00
Fabian Schlenz 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
Fabian Schlenz 94489618ca Moved reading of SD card data into a dedicated class DataSource. 2019-11-20 05:04:27 +01:00