ESP32-Radio icon indicating copy to clipboard operation
ESP32-Radio copied to clipboard

next station dosn't work

Open student1704 opened this issue 6 years ago • 12 comments

student1704 avatar Nov 10 '18 16:11 student1704

It is not possible to switch the station with the web-keys PREV and NEXT in radio mode. The same with encoder. But to switch with the "drop down list" works properly. Version from Oct. 4,

student1704 avatar Nov 10 '18 17:11 student1704

Show me your debug log.

Edzelf avatar Nov 10 '18 18:11 Edzelf

here it is! faulty logs with encoder and web keys and a good one created with drop down list. debugLog20181111.txt

student1704 avatar Nov 11 '18 09:11 student1704

No, I want to see the logs during startup.

Edzelf avatar Nov 11 '18 10:11 Edzelf

here it is! I detected: Pin 35 is used for IR (which is not connected) and ENC. But that should not be a problem , or? BR

StartupLog20181111.txt

student1704 avatar Nov 11 '18 11:11 student1704

Yes, thera are conflicting settings in your preferences for pin 35. Remove the setting for IR.

Edzelf avatar Nov 11 '18 12:11 Edzelf

I did. But without success.

student1704 avatar Nov 13 '18 09:11 student1704

I am having the same problem. The reason is that your (and my) stations are provided as m3u playlists. As I understand the code it tries to play the next track from that m3u playlist (but there is no next track) instead of changing to the next preset. You could add playlist_num = 0 ; after ini_block.newpreset += ivalue ; However if there would be a playlist with multiple tracks you wouldn't be able to switch between those.

fletsche avatar Jan 28 '19 23:01 fletsche

Same for me. The issue comes up with *.m3u stations only. If you select a *m3u station you can change station with "Preset:" list in Web-interface only. :-( Most of my favorite stations are listed as *.m3u. You can reproduce it for example with: mp3-live.swr.de/swr1bw_m.m3u

p1mike avatar Sep 20 '19 19:09 p1mike

Try "swr-swr1-bw.cast.addradio.de/swr/swr1/bw/mp3/128/stream.mp3" instead.

Edzelf avatar Sep 24 '19 11:09 Edzelf

Try "swr-swr1-bw.cast.addradio.de/swr/swr1/bw/mp3/128/stream.mp3" instead.

Thank you for this hint. For now I'm already using the content of the m3u file or the resolved station like "http://swr-edge-2023.dus-lg.cdn.addradio.net/swr/swr1/bw/mp3/128/stream.mp3". But in the past, they have changed the link and I got silence some days later. :-(

If it's to difficult to take a one-song-list.m3u list as a station instead of playlist so it's ok for me.

Thank you for this great project and also for your fast answer

p1mike avatar Sep 26 '19 11:09 p1mike

Unfortunately this is still an issue when using m3u files. :-(

breti avatar Aug 29 '21 12:08 breti