Closed zoltanszalontay closed 4 years ago
I do not know which stations are still up and runnning, but "icecast.omroep.nl:80/radio1-bb-mp3" should work. You can test if a station is still up by testing it in your Internet browser or by Winamp.
Hi, that one and NAXI plus Gaia from the default radio.ini are working. However, all of my own URL-s fail.
Examples: Klub Radio, Hungary. 3 official URL-s. All fail.
preset = 0 # Start with preset 0 preset_00 = stream.klubradio.hu:8080/bpstream # 2 - Klub Rádió 96kbps preset_01 = stream.klubradio.hu:8080/source # 3 - Klub Rádió 96kbps preset_02 = stream.klubradio.hu:8080/32kbit # 4 - Klub Rádió 32kbps
Log: 10:48:43.752 -> D: New preset/file requested (0/0) from stream.klubradio.hu:8080/source 10:48:43.752 -> D: Connect to new host stream.klubradio.hu:8080/source 10:48:43.793 -> D: Connect to stream.klubradio.hu on port 8080, extension /source 10:48:54.064 -> D: Request stream.klubradio.hu:8080/source failed! 10:49:01.612 -> D: No data input
Chrome plays all of them well. Any idea?
I also tried a lot of other Hungarian URL-s from here. https://github.com/gyarakilaszlo/Radiotray-hu/blob/master/.local/share/radiotray/bookmarks.xml Winamp gives the same URL, Chrome plays them well. Esp-radio says "No data" for these URL-s.
Are you sure you have the right chip in the VS1053 module? is "icecast.omroep.nl:80/radio1-bb-mp3" working?
Nope :-(
14:23:45.653 -> D: Request icecast.omroep.nl:80/radio1-bb-mp3 failed! 14:23:54.428 -> D: No data input
Again, some streams, e.g. "205.164.62.15:10032" are working.
The decoder chip is VS1053B. The PCB looks exactly like the one in your PDF, but green.
I cannot think of anything else, but either a hw (vs1053) or an ESP library problem.
I just recognized that the URL you gave me is identical to the one you gave yesterday. It played yesterday, but not today. Weird.
Strange. Can you try another WiFi network in the neighbourhood?
Sure, I can check that in the evening. Until then, I found that
if ( mp3client->connect ( hostwoext.c_str(), port ) )
in connecttohost() returns 0, even though it splits the URL well:
Connect to icecast.omroep.nl on port 80, extension /radio1-bb-mp3
My wifi should be fine, anyway as a web browser plays this URL well, but anyhow, I'll check it with another.
Well, I connected to my iPhone's hotspot and all station started streaming immediately! Great find!
I just can't imagine what my Asus wifi router filters out. Firewall is enabled, but URL filter, keyword filter and network services aren't.
Never had any problems with accessing any URL-s. And I can stream those stations from a browser on this wifi network.
A got a bit further. DNS name resolution is not working when using my home wifi network. Only stations with IP addresses, like NAXI or GAIA radio work.
However, when connecting to my iPhone's hotspot, name resolution is working.
About my config: DHCP Server is my wifi router. DNS is set to the IP of my Synology NAS, which forwards all requests to 8.8.8.8 (Google). When I use iPhone hotspot, the DNS is external (172.20.10.1).
I suspect this problem is related to LWIP's DNS forwarding, but still investigating.
Glad you found the cause. Maybe the DNS request takes to long going through the NAS software (ad blocking?).
I'll check the timestamp of the name resolution. Also, I am going to set 8.8.8.8 in my DHCP scope. I'll lose the ability to access my local computers by names as I do not use WINS, but that's not a problem. No ad blocking takes place on the server side. My last tip would have been WIFI_STA mode, but that's being used.
Until then, I use IP addresses.
Great piece of software! Thanks!
P.S.: You may close this issue as it is up to the IP stack or my network config. Thx
Got it!
Setting a public DNS Server (e.g. 8.8.8.8) on my router's DHCP scope solved the problem so it was the DNS forwarding initiated by my Synology NAS.
Hi, great project!
I put together a Wemos D1 mini + VS1053 based minimal (headless) config following the 8th page of your PDF. I used your sample station presets, but only highlighted stations 0 and 7, NAXI and GAIA, are streaming. For all others, I get "Request failed" and "No data input" errors and the ESP8266 skips for the next station.
I am using the latest build. Installed yesterday.
According to the log, all other stations send no data:
Any help would be appreciated!
Thanks! Z