Comments (3)
Th next release of Esp-radio will have the presets in a ".ini" file instead of EEPROM and will allow long lines. For now you may change the following:
Change line 165 to:
#define EENUM 32
Change line 166 to
#define EESIZ 128
Change line 236 to:
"Stations from remote control NEW", // Reserved entry
Be sure that the number of station in "hostlist" is less than 32.
from esp-radio.
Thx, these defines I already changed and wonder why the debug printout already shows a to short url...
Now I changed line 170 to:
#define DEBUG_BUFFER_SIZE 128
But my mistake / problem was the missing (default) Port in the URL which I now correct manually:
1live.akacast.akamaistream.net**:80**/7/706/119434/v1/gnl.akacast.akamaistream.net/1live
Problems may come if the stream is redirected like:
http://opml.radiotime.com:80/Tune.ashx?id=s8254&formats=mp3 --> http://am.audio1.fr.ipercast.net/deluxemusic.tv/radio_web/mp3
D: Song stopped correctly after 10 msec
D: Connect to new host
D: Stop client
D: EEprom entry is opml.radiotime.com:80/Tune.ashx?id=s8254&formats=mp3
D: Slash in station
D: Connect to preset 9, host opml.radiotime.com on port 80, extension /Tune.ashx?id=s8254&formats=mp3
D: Connected to server
D: HTTP/1.1 200 OK
D: Cache-Control: private
D: Content-Type: audio/x-mpegurl; charset=utf-8
D: Server: Microsoft-IIS/8.5
D: X-AspNet-Version: 4.0.30319
D: Date: Mon, 03 Oct 2016 07:49:01 GMT
D: Content-Length: 62
D: Connection: close
D:
D: http://am.audio1.fr.ipercast.net/deluxemusic.tv/radio_web/mp3
D: No data input
D: No data input
D: Trying other station...
or another example for redirect:
D: Command: station with parameter 2.18.214.238:80/7/706/119434/v1/gnl.akacast.akamaistream.net/1live?akacasthops=1 converted to 2
D: Song stopped correctly after 10 msec
D: Connect to new host
D: Stop client
D: EEprom entry is 2.18.214.238:80/7/706/119434/v1/gnl.akacast.akamaistream.net/1live?akacasthops=1
D: Slash in station
D: Connect to preset 11, host 2.18.214.238 on port 80, extension /7/706/119434/v1/gnl.akacast.akamaistream.net/1live?akacasthops=1
D: Connected to server
D: HTTP/1.0 302 Found
D: Location: http://2.18.214.244/7/706/119434/v1/gnl.akacast.akamaistream.net/1live?akacasthops=2
D:
D: No data input
D: No data input
D: Trying other station...
With the other radio station I get some Metainformation but the stream is only printed to serial port:
D: Song stopped correctly after 10 msec
D: Connect to new host
D: Stop client
D: EEprom entry is 1live.akacast.akamaistream.net:80/7/706/119434/v1/gnl.akacast.akamaistream.net/1live
D: Slash in station
D: Connect to preset 8, host 1live.akacast.akamaistream.net on port 80, extension /7/706/119434/v1/gnl.akacast.akamaistream.net/1l
D: Connected to server
D: HTTP/1.0 200 OK
D: Content-Type: audio/mpeg
D: icy-description:Westdeutscher Rundfunk Koeln
D: icy-genre:WDR
D: icy-name:1Live, Westdeutscher Rundfunk Koeln
D: icy-pub:1
D: icy-url:http://www.1live.de
D: Server: Akacast 1.0
D: Cache-Control: no-cache
D: icy-metaint:16000
D:
D: ����+�#n
D: -uXBGu�aY=��SF>zr�t|"?n-4 ��)�E�T��=���tt7uGhR|OK�A�8&�G!4-1��>%J-
eV�},~LQ/ ~��udw'aO>�%S=�N�?o=:)f�t&X><���zA &%>�nB3zX�
D: o �" l96'��J��]Z�s(*�� DIxF
D: n�a�Y}Gz�`�j�[�H\Gz%&]
D: qa{�lsr,I�4�JZU n:���� }U&80E( {�,H6{�xG3x�AL\d1�Bz_$A�D!^�
from esp-radio.
The new version that allows longer station URLs is ready!
from esp-radio.
Related Issues (20)
- Migrate to Platformio HOT 1
- Newbie needing help with TFT colours and fonts HOT 6
- another compilation problem HOT 1
- I2C LCD 2004 support
- Chunked m3u playlist
- "Test" command crash if the stream is stopped (i.e. when mp3client == NULL)
- Display with driver ST7735 V2. 0 HOT 2
- Cannot connect to home wifi HOT 5
- Setting up the 128x160 display HOT 5
- Issues with radio station HOT 2
- Feature request: Redirect for stream URl
- Stations with redirect will not work when SPIRAM enabled HOT 7
- Playlist m3u next - prev function (similar to esp32 radio) HOT 1
- Can't upload data to ESP8266 HOT 1
- Extremely Low Volume Audio Levels
- list of ip addresses for streaming radio stations and other sources
- No Longer Connects To WiFi HOT 1
- The board keeps restarting, instead of the website only "sorry" appears HOT 4
- Play / Pause function on physical button
- Buttons favorit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-radio.