Commit Graph

29 Commits

Author SHA1 Message Date
Fabian Schlenz 0dd5937707 Player: Prevent overflows in vol_up() and vol_down(). 2019-11-29 21:24:41 +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 dd9e1538c8 Playlist: More defensive proramming for when trying to play an empty playlist. 2019-11-29 05:52:00 +01:00
Fabian Schlenz 6f8683ba9d WIP: Lots of streaming stuff 2019-11-27 06:51:20 +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 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 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 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 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 48c93ed043 Added recording mode to detect volumes. 2019-11-11 17:40:47 +01:00
Fabian Schlenz 2d1f049444 Changed from ESP8266 to ESP32. Works much better.
HTTP server is disabled (for now).
2019-11-11 05:32:41 +01:00
Fabian Schlenz c313f6eb72 Changed from MCP23S17 to MCP23017. Lots of changes.
Doesn't really work because of timing stuff.
2019-11-10 14:45:33 +01:00
Fabian Schlenz 5f682c303f Added MQTT client, better speaker handling, fixed bug in FTP server, ... 2019-08-14 21:01:01 +02:00
Fabian Schlenz dcbb42f5ef Add code for switching the speaker respective their amps on or off. 2019-08-14 06:36:26 +02:00
Fabian Schlenz 4d59c66354 Format changes. 2019-08-13 06:16:08 +02:00
Fabian Schlenz 25fa963752 Added sleep mode for VS1053, HTTP server, tar upload, JSON status, RFID card removal debouncing, ... 2019-08-12 20:15:00 +02:00
Fabian Schlenz b5c29eaa38 Skip ID3 tags. They can get quite large... 2019-08-12 06:20:38 +02:00
Fabian Schlenz f29e38160a Added MCP23S17 support as well as changed some pins and added more de-bouncing for the buttons. 2019-08-11 17:15:22 +02:00
Fabian Schlenz 842d7becf0 You can now have INFO output, but not DEBUG output. Added support for commands via Serial. 2019-08-09 06:27:33 +02:00
Fabian Schlenz 417421ae31 Fixed RFID scanning and implemented calling actions on Player. 2019-08-08 06:49:35 +02:00
Fabian Schlenz 393db24175 Do RFID scans only at specified intervals. System sounds are now supported, as well as more sound formats (.ogg, .mp4...). 2019-08-08 05:31:27 +02:00
Fabian Schlenz 815f11591c Playing and controlling MP3s works great. \o/ 2019-08-06 20:50:11 +02:00
Fabian Schlenz fcf0e8b7d3 Intermediary commit. Nothing's working, everything is broken. Let's start over now... 2019-08-04 13:42:07 +02:00