baldram / ESP_VS1053_Library

A library for VS1053 MP3 Codec Breakout adapted for Espressif ESP8266 and ESP32 boards.
https://platformio.org/lib/show/1744/ESP_VS1053_Library
GNU General Public License v3.0
114 stars 36 forks source link

stream local content #55

Closed trombose009 closed 4 years ago

trombose009 commented 4 years ago

Hello,

first of all, I know the original edzelf esp-radio. But I am not able to go through the code and understand it. Your two examples are working well. Especially the webradio example.

My question is: Does anyone know an example where it is shown how you can stream oder just play content from your own LAN? for example with such a streaming address: \192.168.1.1\mediaserver\music\title01.mp3

greetings SVen

baldram commented 4 years ago

Hi @trombose009, and thank you for using the library. Please don't forget to leave a star if you like it ;-)

This question is a little bit not connected with the VS1053 library itself as its task is to send data to the device. How the data is getting, it's the other case. In Esp-radio it's happening probably in connecttofile(). Please also have a look at smart-pod mentioned in my README.md, maybe there is something interesting if about this topic.

I googled for some article with examples here, but I'm not sure whether SPIFFS.open() supports what you need. But for instance, if you create a local FTP server, you can connect to this. I see some randomly googled solution here or here.

I don't have any ready idea for you, and maybe someone else can help here?

What I could advise, I would look at examples of implementing "Samba client" or "SMB client" for ESP devices. I'm guessing only, seeing this \ in the path you showed, that we talk about the local Windows server or at least Samba server.

Does it help in any way?

Regards, Marcin

baldram commented 4 years ago

No response from @trombose009 . I'm closing the issue. It's connected in general with Arduino programming. Hope the hints were useful.