{"id":18965565,"url":"https://github.com/celliesprojects/estreamplayer32","last_synced_at":"2025-04-19T12:51:28.548Z","repository":{"id":46143856,"uuid":"261287420","full_name":"CelliesProjects/eStreamPlayer32","owner":"CelliesProjects","description":"An esp32 app to play radio streams and music from a local lamp or llmp server through a i2s DAC. Compiles in the Arduino IDE.","archived":false,"fork":false,"pushed_at":"2023-01-15T10:27:26.000Z","size":4151,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T08:04:36.664Z","etag":null,"topics":["aac-decoder","arduino","arduino-ide","audio-player","dac","esp32","esp32-arduino","espasyncwebserver","icy-streams","m5stack-node","media-player","mp3-decoder","mp3-streaming","playlist","radio-stations","web-app","web-streaming","webradio"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CelliesProjects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-04T20:22:48.000Z","updated_at":"2025-01-30T19:49:14.000Z","dependencies_parsed_at":"2023-02-09T21:45:16.183Z","dependency_job_id":null,"html_url":"https://github.com/CelliesProjects/eStreamPlayer32","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CelliesProjects%2FeStreamPlayer32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CelliesProjects%2FeStreamPlayer32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CelliesProjects%2FeStreamPlayer32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CelliesProjects%2FeStreamPlayer32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CelliesProjects","download_url":"https://codeload.github.com/CelliesProjects/eStreamPlayer32/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249207514,"owners_count":21230076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aac-decoder","arduino","arduino-ide","audio-player","dac","esp32","esp32-arduino","espasyncwebserver","icy-streams","m5stack-node","media-player","mp3-decoder","mp3-streaming","playlist","radio-stations","web-app","web-streaming","webradio"],"created_at":"2024-11-08T14:30:06.677Z","updated_at":"2025-04-19T12:51:28.533Z","avatar_url":"https://github.com/CelliesProjects.png","language":"C","readme":"#  eStreamPlayer32\n\nAn web-based esp32 program to play webradio and mp3/aac files from a lamp or llmp server.\n\n-  Control eStreamPlayer with your phone, pc or tablet.\n-  Play your local files.\n-  Play preset radio stations.\n-  Add new urls and save them to favorites.\n\nSound output comes from an i2s dac.\u003cbr\u003eCurrently \u003cb\u003egeneric i2s dacs\u003c/b\u003e (with `BCK`, `WS` and `DOUT` pins), \u003cb\u003eM5Stack Node\u003c/b\u003e and \u003cb\u003eAI Thinker A1S AudioKit\u003c/b\u003e are supported.\n\nWhen flashed to an M5Stack with the Node base you can see some information on the display.\n\n\n![m5screen](https://user-images.githubusercontent.com/24290108/104571384-4e3fa400-5653-11eb-96ae-2202fb19acbf.png)\n\n###  Limitations\n\n-  The audioI2S library uses a lot of RAM. eStreamPlayer will only function properly on a board with PSRAM.\n\n-  eStreamPlayer is written for playback over http. The esp32 does not speak NFS or SMB which are common ways to share files over a network.\n\u003cbr\u003eInstead eStreamPlayer uses a php script on the server to navigate the music folders. \n\u003cbr\u003eCopy this script to the server to use your music library.\n\u003cbr\u003e**This is totally insecure and should only be used on a LAN!**\n\nBut if you don't have a local music server you can still use eStreamPlayer to tune in to web radio stations and add your own radio stations to presets and favorites.\n\n###  Web-interface screenshots\n\n#### File info overlay\n\n![home](img/overlay.png)\n\n#### LIBRARY tab\n\n![library](img/library.png)\n\n#### WEBRADIO tab\n\n![webradio](img/webradio.png)\n\n#### FAVORITES tab\n\n![favorites](img/favorites.png)\n\n### Setup\n\nUse [the latest ESP32 Arduino Core](https://github.com/espressif/arduino-esp32/releases/latest).\n\n1.  Download the [latest eStreamPlayer release](https://github.com/CelliesProjects/eStreamPlayer32/releases/latest).\n2.  Install the [required libraries](#software-needed) and the drivers for your dac. See [supported hardware](#supported-hardware).\n3.  Copy the php script to your music folder on the server.\n4.  Open the Arduino IDE.\n5.  Select Tools-\u003ePartition Scheme-\u003eNo OTA(2MB APP/2MB FATFS).\n\u003cbr\u003eIf your board does not have that option you can select ESP32 Dev Module in Tools-\u003eBoard.\n6.  Open `system_setup.h` and set your wifi credentials and set `SCRIPT_URL` to the php script location.\n7.  Flash the sketch to your esp32. Set `Tools-\u003eCore Debug Level-\u003eInfo` before you flash so you can grab the ip address from the serial port.\n8.  On first boot or after a flash erase the fatfs has to be formatted. This will take a couple of seconds.\n\u003cbr\u003eFlashing an update will not erase the fatfs data.\n\u003cbr\u003e**Note:** Take care to select the same partition table when updating otherwise the partition will be formatted.\n\u003cbr\u003eYou can monitor the boot progress on the serial port.\n9.  Browse to the ip address shown on the serial port.\n\n### Supported hardware\n\nSelect a board or dac by uncommenting the relevant line in `system_setup.h`.\n\n-  \u003cb\u003eGeneric i2s dac\u003c/b\u003e - Select `GENERIC_I2S_DAC` as board.\u003cbr\u003eFor dacs that only need `BCK`, `WS` and `DOUT` and no driver setup.\u003cbr\u003eDefault pins are `BCK` = 21, `WS` = 26, `DOUT` = 22.\n-  \u003cb\u003eM5 Stack Node\u003c/b\u003e - Select `M5STACK_NODE` to compile for M5Stack Node with `MCLK` on `GPIO0`.\u003cbr\u003eYou need the [wm8978-esp32](https://github.com/CelliesProjects/wm8978-esp32) library for this dac.\n-  \u003cb\u003eA1S Audio Kit\u003c/b\u003e - Select `A1S_AUDIO_KIT` to compile for ESP32-A1S Audio Kit.\u003cbr\u003eYou need the [AC101](https://github.com/Yveaux/AC101) library for this dac.\n\n### Software needed\n\n-  [ESP32-audioI2S](https://github.com/schreibfaul1/ESP32-audioI2S) (GNU General Public License v3.0)\n-  [AsyncTCP](https://github.com/me-no-dev/AsyncTCP) (LGPL-3.0 License)\n-  [ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer) (LGPL-3.0 License)\n-  A [lamp](https://en.wikipedia.org/wiki/LAMP_%28software_bundle%29) or llmp webstack to serve local files.\n\u003cbr\u003eApache2 and lighttpd were tested and should work. The php script should be fairly version agnostic.\n\u003cbr\u003eNote: Mp3 and aac files should have the `Content-Type: audio/mpeg` http headers set or the decoder will not recognise the files.\n\n### Libraries used in the web interface\n\n-  The used icons are from [material.io](https://material.io/tools/icons/?style=baseline) and are [available under Apache2.0 license](https://www.apache.org/licenses/LICENSE-2.0.html).\n-  [Reconnecting WebSocket](https://github.com/joewalnes/reconnecting-websocket) which is [available under MIT licence](https://github.com/joewalnes/reconnecting-websocket/blob/master/LICENSE.txt).\n-  [Google Roboto font](https://fonts.google.com/specimen/Roboto) which is [available under Apache2.0 license](https://www.apache.org/licenses/LICENSE-2.0.html).\n-  [jQuery 3.4.1](https://code.jquery.com/jquery-3.4.1.js) which is [available under MIT license](https://jquery.org/license/).\n\n````\nMIT License\n\nCopyright (c) 2020 Cellie\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n````\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelliesprojects%2Festreamplayer32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcelliesprojects%2Festreamplayer32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelliesprojects%2Festreamplayer32/lists"}