Commit Graph

121 Commits

Author SHA1 Message Date
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 7a20cf4b04 Better deploy script. 2019-11-29 05:29:01 +01:00
Fabian Schlenz bbf77c6b1e Added deploy script. 2019-11-28 19:26:35 +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 3b0410f560 Merge branch 'feature-webstreams' 2019-11-28 06:30:16 +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 651843fb06 Webinterface: Fixed usage of filenames as titles. 2019-11-28 06:20:07 +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
Fabian Schlenz 82d8f07eea Player: Only change volume and report a position if we are actually playing something. 2019-11-19 20:48:43 +01:00
Fabian Schlenz 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
Fabian Schlenz 4f9174d362 PlaylistManager: Extracted create_mapping_txt from _save_mapping. 2019-11-19 20:46:54 +01:00
Fabian Schlenz 68ecc05712 Made player and playlist_manager pubilc members of Controller. 2019-11-19 20:46:04 +01:00
Fabian Schlenz 5fad39ee0e Added File System Upload step to installation instructions. 2019-11-19 20:44:03 +01:00
Fabian Schlenz 01f513c97b More typographic fixes. 2019-11-17 19:34:38 +01:00
Fabian Schlenz 3bfbea92d8 Typo. -_- 2019-11-17 19:33:25 +01:00
Fabian Schlenz d818624287 Added much more info to README.md 2019-11-17 19:31:59 +01:00
Fabian Schlenz d92388d11f Add config.h to .gitignore. 2019-11-17 17:39:50 +01:00
Fabian Schlenz 37df309127 Removed MQTT client. Was more or less unused, anyways. 2019-11-17 17:38:41 +01:00
Fabian Schlenz be8a124803 Prepared config.sample.h for making it public. 2019-11-17 17:31:52 +01:00
Fabian Schlenz 104236dd0c Remove old files from .vscode. 2019-11-17 14:27:43 +01:00
Fabian Schlenz e1dd004cf5 Reload folder mappings after modifying a mapping. 2019-11-17 14:26:23 +01:00
Fabian Schlenz b5ec78ab41 When chaging to another track, play it from the beginning. 2019-11-17 14:25:47 +01:00
Fabian Schlenz fff9d9bc61 Small fix. 2019-11-17 14:25:22 +01:00
Fabian Schlenz ef47c771ef You can now get and set the state of all CS pins at once. 2019-11-17 14:24:01 +01:00
Fabian Schlenz 9f442259e9 Worked on the upload stuff. It works, but the SD card seems to die after a few MB... :-/ 2019-11-17 14:23:17 +01:00
Fabian Schlenz 8e5a3195b9 Scrollable modals, working add_mapping feature. 2019-11-17 14:22:22 +01:00
Fabian Schlenz cc4729eb6b Ignore .vscode folder. 2019-11-17 14:21:39 +01:00
Fabian Schlenz f7c4b0d70a Removed timestamp from build_version.sh cause it forced a complete recompile of everything, all the time. 2019-11-17 14:20:55 +01:00
Fabian Schlenz 566068f7cd Increased the SD card speed from 4 MHz to 25 MHz for faster directory reading. 2019-11-17 00:35:55 +01:00
Fabian Schlenz 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. 2019-11-17 00:35:23 +01:00
Fabian Schlenz 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. 2019-11-16 23:03:13 +01:00
Fabian Schlenz 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. 2019-11-14 20:42:02 +01:00
Fabian Schlenz 6e05900b5a More changes for the recording... It's still not working. -_- 2019-11-14 06:50:13 +01:00
Fabian Schlenz 15f6d78128 RFID reading now includes RFID data, enabling you to save additional data (still to come...) to the rfid card. 2019-11-14 06:48:21 +01:00
Fabian Schlenz b32f7d1228 Experimental code to read RFID card data. 2019-11-13 20:14:09 +01:00
Fabian Schlenz 45fef23bad Another try in getting the recording stuff to work... 2019-11-13 20:13:52 +01:00
Fabian Schlenz e20e6b7d3e Added serial command ids; id-to-folder mapping now works. 2019-11-13 06:51:38 +01:00
Fabian Schlenz 0531b599fe Internal changes. 2019-11-13 06:50:29 +01:00
Fabian Schlenz a5751eec79 Merge branch 'master' of https://git.schle.nz/fabian/esmp3 2019-11-12 19:31:31 +01:00
Fabian Schlenz e02b8571f6 Tries to get the recording functionality to work. As of yet it's not working. :-/ 2019-11-12 19:31:26 +01:00
Fabian Schlenz 303a8d3877 Removed old MCP23017 pin definitions. 2019-11-12 19:30:42 +01:00
Fabian Schlenz 6d00474315 ID of album to play now comes from a file ids.txt within the folder. This is as of yet untested. 2019-11-12 19:29:55 +01:00
Fabian Schlenz 46fb4c7615 Modified build_version.sh to also include date and time of the build. 2019-11-12 19:29:03 +01:00