Commit Graph

  • ab51af637e Merge branch 'feature/rewrite-i2s' master fabian 2022-08-25 14:53:43 +02:00
  • 913a64d465 Die Position in einer Playlist beilbt beibehalten, solange die Papabox nicht neu gestartet wird. fabian 2022-08-25 14:52:12 +02:00
  • b2cf9d6277 Systeminfos werden via mp3-Dateien in /system abgespielt. fabian 2022-08-25 14:51:18 +02:00
  • 076a6993c7 FTP-Server for managing the contents of the sd card. fabian 2022-08-25 14:48:25 +02:00
  • 13e62fea19 Shuffle the playlist before playing if "[random]" is in the rfid data. fabian 2022-08-22 13:59:00 +02:00
  • 15a65f7391 Added reaing of RFID contents. fabian 2022-08-22 13:58:22 +02:00
  • b9df55012f Better handling of eof_mp3 events: Keep playing as long as there is data remaining. fabian 2022-08-22 13:57:20 +02:00
  • fb6b5bced6 Test for button press every 50ms. That's more than enough. fabian 2022-08-22 13:56:43 +02:00
  • 3718f45983 Loglevel up to full debugging. ;-) fabian 2022-08-22 13:55:57 +02:00
  • 7dcb0cb673 Allocate a bigger (30KByte) Buffer for Audio. fabian 2022-08-22 08:52:09 +02:00
  • 6989248970 Less debugging messages. fabian 2022-08-22 08:51:29 +02:00
  • cf433a48b2 Support for http(s) links in _mapping.txt fabian 2022-08-22 08:51:19 +02:00
  • 9a39b00a65 Lautstärke-Änderungen in 2er-Schritten. fabian 2022-08-21 17:42:58 +02:00
  • aed9c416bf Standard-Lautstärke 12 statt 3. fabian 2022-08-21 17:40:50 +02:00
  • 2908d23e60 Alten Code gelöscht. fabian 2022-08-21 17:40:32 +02:00
  • 3272921db2 Daten von RFID-Karten (versuchen zu) lesen. fabian 2022-08-21 17:40:22 +02:00
  • 6ddf1efd62 Prevent playing prev_track if there are no tracks. fabian 2022-08-21 15:27:00 +02:00
  • 45dfe0cfe0 Don't read all dirs at startup. fabian 2022-08-21 15:26:29 +02:00
  • 4840c150c2 Button handling implemented. fabian 2022-08-21 14:00:52 +02:00
  • 9c31f70c57 It's working more or less... fabian 2022-08-21 11:37:42 +02:00
  • 978b25c34d Started rewrite for using an I2S amplifier with less unnecessary features. fabian 2022-08-19 10:37:03 +02:00
  • dcca828197 Kleine Verbesserungen. fabian 2022-08-18 16:38:07 +02:00
  • 1bb358c961 Merge branch 'develop' of https://git.schle.nz/fabian/esmp3 into develop develop fabian 2022-08-18 13:25:01 +02:00
  • 12a8391cd7 Multiple old changes. fabian 2022-08-18 13:24:52 +02:00
  • b6dc04920a Merge branch 'develop' of https://git.schle.nz/fabian/esmp3 into develop fabian 2019-12-07 11:25:38 +01:00
  • aca1736201 Playlist: RSS feeds can happen with MIME type "application/xml". fabian 2019-12-07 11:23:44 +01:00
  • fdf986a61e Playlist: Fixed missing include. fabian 2019-12-04 06:22:42 +01:00
  • 5c0822b704 Re-Added 'Added an overlay to display when the websocket isn't connected.' Don't know what happened there... fabian 2019-12-04 06:21:38 +01:00
  • fad4f2c707 Webinterface: index.html and timezones.json are now saved to the Flash as GZIP compressed binary data. Compression happens on-the-fly during pio run. fabian 2019-12-04 06:13:07 +01:00
  • 84530f76fd DataSources: Implemented ID3 tag skipping for HTTPSDataSources. fabian 2019-12-04 06:07:20 +01:00
  • fa208858d9 Webinterface: Added an overlay to display when the websocket isn't connected. fabian 2019-12-04 05:59:52 +01:00
  • 6d452ecbc0 Added tracing stuff to RSSParser. fabian 2019-12-04 05:58:25 +01:00
  • 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. fabian 2019-12-04 05:57:58 +01:00
  • fe2a209e44 Debug and Trace modes can now be (de)activated via API commands and are persisted across reboots. fabian 2019-11-30 13:53:50 +01:00
  • 82905a8cdd Fixed M3U parser for last lines ending without a newline. fabian 2019-11-30 13:38:34 +01:00
  • 3751904cb4 Start with speakers off. fabian 2019-11-30 13:37:35 +01:00
  • bcf7625285 deploy.sh: Fix calculation error. fabian 2019-11-30 00:14:02 +01:00
  • 4a3e79f02e Added empty (for now) update.manifest. fabian 2019-11-30 00:12:02 +01:00
  • 68e1073858 Deploy.sh: Don't show the commands being executed. fabian 2019-11-30 00:09:36 +01:00
  • f73d45404f Merge branch 'develop' fabian 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. fabian 2019-11-29 21:25:17 +01:00
  • 0dd5937707 Player: Prevent overflows in vol_up() and vol_down(). fabian 2019-11-29 21:24:41 +01:00
  • 547080acf5 Main: Fix WiFi connection stuff for multiple WiFis. fabian 2019-11-29 21:24:10 +01:00
  • d3c699aefa Webinterface: Typo fix. fabian 2019-11-29 21:23:38 +01:00
  • a8d19cd6e1 HTTPClientWrapper: Initialize buffer variables. D'Oh. fabian 2019-11-29 21:23:01 +01:00
  • 38d48ab0e4 Controller: Only read sector 1 from RFID cards. That's big enough and much faster. fabian 2019-11-29 21:22:35 +01:00
  • 51bef05465 Fixed advent mode and persistence stuff. fabian 2019-11-29 21:20:19 +01:00
  • 4eef69516e Made TRACE a bit less talkative. fabian 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... fabian 2019-11-29 21:16:10 +01:00
  • 65118fbc42 Play position in stuff like podcasts can now be permanently persisted. fabian 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. fabian 2019-11-29 06:14:45 +01:00
  • 571e969bc4 deploy.sh: Show last tags. fabian 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. fabian 2019-11-29 06:10:17 +01:00
  • dd9e1538c8 Playlist: More defensive proramming for when trying to play an empty playlist. fabian 2019-11-29 05:52:00 +01:00
  • 001e275131 Include information about versions and WiFi connection to controller's json. fabian 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.) fabian 2019-11-29 05:45:21 +01:00
  • 63b9616677 Removed "redefined macro" warnings from MFRC522 library. fabian 2019-11-29 05:36:59 +01:00
  • d4c9a6d582 Documented API commands. fabian 2019-11-29 05:36:22 +01:00
  • 5fe66fdaef Added a command update to run the update check. fabian 2019-11-29 05:35:47 +01:00
  • 6445dc0fb8 Unly call Updater on startup if the SPIFFS needs an update. fabian 2019-11-29 05:32:22 +01:00
  • 7a20cf4b04 Better deploy script. fabian 2019-11-29 05:29:01 +01:00
  • bbf77c6b1e Added deploy script. fabian 2019-11-28 19:26:35 +01:00
  • b805d1b183 Updater: Better flow for performing updates; added MD5 validation. fabian 2019-11-28 06:48:16 +01:00
  • 07b1ea3a5c Added Updater to automatically perform OTA updates without user interaction. fabian 2019-11-28 06:42:30 +01:00
  • 3b0410f560 Merge branch 'feature-webstreams' fabian 2019-11-28 11:10:49 +01:00
  • 8f19b990ff PlaylistManager: Only search for folders, don't try it with webstreams. feature-webstreams fabian 2019-11-28 06:29:51 +01:00
  • 519ac0e3bd Playlist: Album title now gets handled better. fabian 2019-11-28 06:20:57 +01:00
  • 651843fb06 Webinterface: Fixed usage of filenames as titles. fabian 2019-11-28 06:20:07 +01:00
  • fcbbdce118 Playlist: Initialization of PlaylistEntries now uses designators. fabian 2019-11-28 06:19:11 +01:00
  • 6f8683ba9d WIP: Lots of streaming stuff fabian 2019-11-27 06:51:20 +01:00
  • 710b8a2cdc Add UserAgent, remove superfluous form of location mapping. fabian 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.) fabian 2019-11-20 06:13:15 +01:00
  • 94489618ca Moved reading of SD card data into a dedicated class DataSource. fabian 2019-11-20 05:04:27 +01:00
  • 82d8f07eea Player: Only change volume and report a position if we are actually playing something. fabian 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. fabian 2019-11-19 20:48:11 +01:00
  • 4f9174d362 PlaylistManager: Extracted create_mapping_txt from _save_mapping. fabian 2019-11-19 20:46:54 +01:00
  • 68ecc05712 Made player and playlist_manager pubilc members of Controller. fabian 2019-11-19 20:46:04 +01:00
  • 5fad39ee0e Added File System Upload step to installation instructions. fabian 2019-11-19 20:44:03 +01:00
  • 01f513c97b More typographic fixes. fabian 2019-11-17 19:34:38 +01:00
  • 3bfbea92d8 Typo. -_- fabian 2019-11-17 19:33:25 +01:00
  • d818624287 Added much more info to README.md fabian 2019-11-17 19:31:59 +01:00
  • d92388d11f Add config.h to .gitignore. fabian 2019-11-17 17:39:50 +01:00
  • 37df309127 Removed MQTT client. Was more or less unused, anyways. fabian 2019-11-17 17:38:41 +01:00
  • be8a124803 Prepared config.sample.h for making it public. fabian 2019-11-17 17:31:52 +01:00
  • 104236dd0c Remove old files from .vscode. fabian 2019-11-17 14:27:43 +01:00
  • e1dd004cf5 Reload folder mappings after modifying a mapping. fabian 2019-11-17 14:26:23 +01:00
  • b5ec78ab41 When chaging to another track, play it from the beginning. fabian 2019-11-17 14:25:47 +01:00
  • fff9d9bc61 Small fix. fabian 2019-11-17 14:25:22 +01:00
  • ef47c771ef You can now get and set the state of all CS pins at once. fabian 2019-11-17 14:24:01 +01:00
  • 9f442259e9 Worked on the upload stuff. It works, but the SD card seems to die after a few MB... :-/ fabian 2019-11-17 14:23:17 +01:00
  • 8e5a3195b9 Scrollable modals, working add_mapping feature. fabian 2019-11-17 14:22:22 +01:00
  • cc4729eb6b Ignore .vscode folder. fabian 2019-11-17 14:21:39 +01:00
  • f7c4b0d70a Removed timestamp from build_version.sh cause it forced a complete recompile of everything, all the time. fabian 2019-11-17 14:20:55 +01:00
  • 566068f7cd Increased the SD card speed from 4 MHz to 25 MHz for faster directory reading. fabian 2019-11-17 00:35:55 +01:00
  • 5c15a7d4cb index.html is now served from SPIFFS. You can add rfid tag -> folder mappings via the webinterface. And I've added the missing controller json data messages. fabian 2019-11-17 00:35:23 +01:00
  • b9a4770ff2 Massive changes. Added a quite nice webinterface with live data using WebSockets. Removed the FTP server (wasn't that useful anyways). JSON creating using ArduinoJson instead of String concatenation. Ans, and, and. fabian 2019-11-16 23:03:13 +01:00
  • e471a57578 Changed the playing code to use Playlists managed by a PlaylistManager. This allows you to have randomized playlists and stuff. Also, you can now access special functions via the contents of RFID tags. See the README for a list of available modes. fabian 2019-11-14 20:42:02 +01:00
  • 6e05900b5a More changes for the recording... It's still not working. -_- fabian 2019-11-14 06:50:13 +01:00
  • 15f6d78128 RFID reading now includes RFID data, enabling you to save additional data (still to come...) to the rfid card. fabian 2019-11-14 06:48:21 +01:00
  • b32f7d1228 Experimental code to read RFID card data. fabian 2019-11-13 20:14:09 +01:00