weixin_39625747
weixin_39625747
2020-12-30 13:48

Problem with the name of the station.

I have a problem with the names of radio stations from a certain channel. Namely, if I have such a station URL: preset_02 = gr-relay-4.gaduradio.pl/2 # 2 - Impreza On the display in the name of the station I have only "2", no name "Impreza". Why?

该提问来源于开源项目:Edzelf/ESP32-Radio

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

13条回答

  • weixin_39571749 weixin_39571749 4月前

    The "#" acts as a begin of comment.

    点赞 评论 复制链接分享
  • weixin_39625747 weixin_39625747 4月前

    I know that. But in every streaming name if there is a "/" then the name on the display jumps after this sign. This is how my channel configuration looks like: preset = 11 preset_00 = gr-relay-4.gaduradio.pl/15 # 0 - Dzem preset_02 = gr-relay-4.gaduradio.pl/2 # 2 - Impreza preset_01 = 149.202.75.191:8128 # 1 - Polish Radio London preset_03 = airspectrum.cdnstream1.com:8000/1261_192 # 3 - Magic Oldies Florida preset_05 = us1.internet-radio.com:8105 # 5 - Classic Rock Florida - SHE Radio preset_07 = 205.164.62.15:10032 # 7 - 1.FM - GAIA, 64k preset_08 = stream3.polskieradio.pl:8900 # 8 - Polish Radio 1 preset_09 = stream3.polskieradio.pl:8902 # 9 - Polish Radio 2 preset_10 = stream3.polskieradio.pl:8904 # 10 - Polish Radio 3 preset_11 = stream.open.fm/156 # Classic Rock

    There is a problem with channel name on channels 00, 02, 11. It shows the ending number itself with the name of the streaming instead of the name I entered.

    点赞 评论 复制链接分享
  • weixin_39571749 weixin_39571749 4月前

    gr-relay-4.gaduradio.pl/15 is an "AACP"-stream. This will not work on a VS1053. Same for gr-relay-4.gaduradio.pl/2 and stream.open.fm/156. You can check the stream type in the debug output:

    
    D: Connected to server
    D: Switch to HEADER
    D: Headerline: Content-Type: audio/aacp
    D: audio/aacp seen.
    
    
    点赞 评论 复制链接分享
  • weixin_39625747 weixin_39625747 4月前

    Alright. I have a few other problems with this radio. I do not have VS1053 yet, but when I try to play the station after a while, there is always STOP and the radio switches or tries to switch to the next station, which is not the result of serial communication. D: Create list with acceptable WiFi networks D: Added Livebox-Chimes is list of networks D: Added Livebox-Chimes is list of networks D: Added Livebox-Chimes is list of networks D: End adding networks D: Scan Networks D: Scan completed D: Number of available networks: 4 D: 1 - Livebox-Chimes Signal: -62 dBm, Encryption OPEN, Acceptable D: 2 - Orange_FunSpot Signal: -63 dBm, Encryption OPEN, D: 3 - AI-THINKER_194932 Signal: -81 dBm, Encryption OPEN, D: 4 - DMD_M2_tel.664988756 Signal: -92 dBm, Encryption OPEN, D: End of list D: Command: pin_tft_cs with parameter 15 D: Command: pin_tft_dc with parameter 2 D: Command: preset_00 with parameter 109.206.96.34:8100 D: Command: toneha with parameter 0 D: Command: tonehf with parameter 0 D: Command: Tonel with parameter 0 D: Command: tonelf with parameter 0 D: Command: volume with parameter 0 D: Slow SPI, Testing VS1053 read / write registers ... D: VS1053 not properly installed! D: Connect to WiFi D: Connected to Livebox-Chimes D: IP = 192.168.1.23 D: Start server for commands D: Network found. Starting mqtt and OTA D: MDNS responder started D: Rotary encoder is disabled (-1 / -1 / -1) D: Sync TOD D: Sync TOD, new value is 13:20:53 D: STOP requested D: New preset / file requested (0/0) from 109.206.96.34:8100 D: Connect to new host 109.206.96.34:8100 D: Connect to 109.206.96.34 on port 8100, extension / D: Connected to server D: Duration mp3loop 1 D: Switch to HEADER D: Headerline: icy-name: NAXI LOVE RADIO (NAXI, Belgrade, Serbia, NAXI, Beograd, Srbija) - 128k D: Headerline: icy-genre: Love and Romance D: Headerline: icy-url: http: //www.naxi.rs D: Headerline: content-type: audio / mpeg D: audio / mpeg seen. D: Headerline: icy-pub: 0 D: Headerline: icy-metaint: 8192 D: Headerline: icy-br: 128 D: Switch to DATA, bitrate is 128, metaint is 8192 D: Duration mp3loop 26 D: Metadata block 64 bytes D: Streamtitle found, 57 bytes D: StreamTitle = 'Scorpions - Send Me An Angel'; StreamUrl = ''; D: Duration mp3loop 200 D: STOP requested D: Stopping client D: New preset / file requested (0/0) from 109.206.96.34:8100 D: Connect to new host 109.206.96.34:8100 D: Connect to 109.206.96.34 on port 8100, extension / D: Connected to server D: STOP requested D: Stopping client D: New preset / file requested (0/0) from 109.206.96.34:8100 D: Connect to new host 109.206.96.34:8100 D: Connect to 109.206.96.34 on port 8100, extension / D: Connected to server

    The second problem is restart. The radio always restarts for unknown reasons. Core 1 register dump: PC: 0x4008ed6e PS: 0x00060134 A0: 0x8008def6 A1: 0x3ffc0a70 A2: 0x3ffb7750 A3: 0x3ffb2050 A4: 0x00000001 A5: 0x00000001 A6: 0x00060123 A7: 0x00000000 A8: 0x3ffb2050 A9: 0x3ffb2050 A10: 0x00000018 A11: 0x00000018 A12: 0x00000001 A13: 0x00000001 A14: 0x00060121 A15: 0x00000000 SAR: 0x0000001e EXCCAUSE: 0x00000005 EXCVADDR: 0x00000000 LBEG: 0x4000c2e0 LEND: 0x4000c2f6 LCOUNT: 0xffffffff

    Backtrace: 0x4008ed6e: 0x3ffc0a70 0x4008def3: 0x3ffc0a90 0x4008caa3: 0x3ffc0ab0 0x400846f1: 0x3ffc0af0 0x4012c166: 0x3ffc0b10 0x4012189a: 0x3ffc0b30 0x4008448f: 0x3ffc0b70 0x400e177f: 0x3ffc0b90 0x40081175: 0x3ffc0bb0 0x400811e9: 0x3ffc0bd0 0x400816b1: 0x3ffc0bf0 0x40081dd5: 0x3ffc0c10 0x4000bfed: 0x00000000

    Rebooting ... ets Jun 8 2016 00:22:57 rst: 0xc (SW_CPU_RESET), boot: 0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP: 0xee clk_drv: 0x00, q_drv: 0x00, d_drv: 0x00, cs0_drv: 0x00, hd_drv: 0x00, wp_drv: 0x00 mode: DIO, clock div: 1 load: 0x3fff0018, flax 4 load: 0x3fff001c, linen: 952 load: 0x40078000, linen: 6084 load: 0x40080000, linen: 7936 entry 0x40080310

    After reboot, the radio can never connect to a Wi-Fi network. D: Connect to WiFi D: WiFi Failed! Trying to setup AP with name ESP32Radio and password ESP32Radio. D: IP = 192.168.4.1 D: Start server for commands

    点赞 评论 复制链接分享
  • weixin_39571749 weixin_39571749 4月前

    That's the time-out function kicking in when no data can be decoded.

    点赞 评论 复制链接分享
  • weixin_39625747 weixin_39625747 4月前

    But why can not it decode data? At every station I tried, it's the same. Switch several times and then reboot. And why can not it connect to the WiFi network after reboot?

    点赞 评论 复制链接分享
  • weixin_39571749 weixin_39571749 4月前

    Because you don't have a decoder yet. I don't know why the wifi fails after reboot. Normally there is no need to reboot.

    点赞 评论 复制链接分享
  • weixin_39625747 weixin_39625747 4月前

    Thanks that you have so much patience for me. I will probably have more questions in the future.

    点赞 评论 复制链接分享
  • weixin_39835965 weixin_39835965 4月前

    I have same issue with wifi failed connect after reboot. In my experience, esp still on connected device list while esp on reboot process. I don't know why Acces point not immediately eliminate the connected esp or maybe esp still hold connection with AP and it make conflict on list in AP. My solution is turn off and wait until esp disappear on list, then turn on again.

    点赞 评论 复制链接分享
  • weixin_39625747 weixin_39625747 4月前

    gr-relay-4.gaduradio.pl/15 is an "AACP" -stream. This will not work on a VS1053. Same for gr-relay-4.gaduradio.pl/2 and stream.open.fm/156. You can check the stream type in the debug output:

    D: Connected to server D: Switch to HEADER D: Headerline: Content-Type: audio / aacp D: audio / aacp seen.

    Edzelf, you're not right. I already have the VS1053 decoder and the radio plays the stations as much as possible. And the problem with displaying the station name is still there. Is there any solution to this problem?

    点赞 评论 复制链接分享
  • weixin_39571749 weixin_39571749 4月前

    I'm suprised that aacp is playing after all. The station name is taken from the "icy-name", for "gr-relay-4.gaduradio.pl/2" this is:

    
    D: Headerline: icy-description:Grupa Wirtualna Polska
    D: Headerline: icy-genre:Misc
    D: Headerline: icy-name:2
    

    So the "2" is displayed.

    点赞 评论 复制链接分享
  • weixin_39625747 weixin_39625747 4月前

    Edzelf, is there a chance for the radio to display Polish characters?

    点赞 评论 复制链接分享
  • weixin_39571749 weixin_39571749 4月前

    That's not the plan.

    点赞 评论 复制链接分享

相关推荐