Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
973 stars 229 forks source link

SD CARD MP3 file name #379

Open maba64 opened 3 years ago

maba64 commented 3 years ago

Helle Edzelf the mp3 filename (SD Card) is not shown on the display

in the radio mode it is displayed correctly

thank you for your feedback Markus

13:27:57.874 -> ets Jun 8 2016 00:22:57 13:27:57.874 -> 13:27:57.874 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 13:27:57.874 -> configsip: 0, SPIWP:0xee 13:27:57.874 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 13:27:57.874 -> mode:DIO, clock div:1 13:27:57.874 -> load:0x3fff0018,len:4 13:27:57.874 -> load:0x3fff001c,len:1216 13:27:57.874 -> ho 0 tail 12 room 4 13:27:57.874 -> load:0x40078000,len:9720 13:27:57.874 -> ho 0 tail 12 room 4 13:27:57.874 -> load:0x40080400,len:6352 13:27:57.874 -> entry 0x400806b8 13:27:58.249 -> 13:27:58.249 -> D: Starting ESP32-radio running on CPU 1 at 240 MHz. Version Thu, 17 Sep 2020 12:50:00 GMT. Free memory 293736 13:27:58.249 -> D: Display type is BLUETFT 13:27:58.249 -> D: Partition nvs found, 20480 bytes 13:27:58.249 -> D: Read 46 keys from NVS 13:27:58.249 -> D: pin_ir set to 35 13:27:58.249 -> D: pin_enc_clk set to 25 13:27:58.249 -> D: pin_enc_dt set to 26 13:27:58.249 -> D: pin_enc_sw set to 27 13:27:58.249 -> D: pin_tft_cs set to 15 13:27:58.249 -> D: pin_tft_dc set to 2 13:27:58.249 -> D: pin_tft_scl set to -1 13:27:58.249 -> D: pin_tft_sda set to -1 13:27:58.249 -> D: pin_tft_bl set to -1 13:27:58.249 -> D: pin_tft_blx set to -1 13:27:58.249 -> D: pin_sd_cs set to 22 13:27:58.249 -> D: pin_ch376_cs set to -1 13:27:58.249 -> D: pin_ch376_int set to -1 13:27:58.249 -> D: pin_vs_cs set to 5 13:27:58.249 -> D: pin_vs_dcs set to 32 13:27:58.249 -> D: pin_vs_dreq set to 4 13:27:58.249 -> D: pin_shutdown set to -1 13:27:58.249 -> D: pin_shutdownx set to -1 13:27:58.249 -> D: pin_spi_sck set to 18 13:27:58.249 -> D: pin_spi_miso set to 19 13:27:58.249 -> D: pin_spi_mosi set to 23 13:27:58.249 -> D: GPIO0 is HIGH 13:27:58.249 -> D: GPIO2 is LOW, probably no PULL-UP 13:27:58.296 -> D: GPIO4 is HIGH 13:27:58.296 -> D: GPIO5 is HIGH 13:27:58.296 -> D: GPIO12 is HIGH 13:27:58.296 -> D: GPIO13 is HIGH 13:27:58.296 -> D: GPIO14 is HIGH 13:27:58.343 -> D: GPIO15 is HIGH 13:27:58.343 -> D: GPIO16 is HIGH 13:27:58.343 -> D: GPIO17 is HIGH 13:27:58.343 -> D: GPIO18 is HIGH 13:27:58.343 -> D: GPIO19 is HIGH 13:27:58.390 -> D: GPIO21 is HIGH 13:27:58.390 -> D: GPIO22 is HIGH 13:27:58.390 -> D: GPIO23 is HIGH 13:27:58.390 -> D: GPIO25 is HIGH 13:27:58.437 -> D: GPIO26 is LOW, probably no PULL-UP 13:27:58.437 -> D: GPIO27 is HIGH 13:27:58.437 -> D: GPIO32 is HIGH 13:27:58.437 -> D: GPIO33 is HIGH 13:27:58.437 -> D: GPIO34 is LOW, probably no PULL-UP 13:27:58.484 -> D: GPIO35 is HIGH 13:27:58.484 -> D: GPIO39 is LOW, probably no PULL-UP 13:27:58.484 -> D: gpio_00 will execute uppreset = 1 13:27:58.484 -> D: gpio_12 will execute upvolume = 2 13:27:58.484 -> D: gpio_13 will execute downvolume = 2 13:27:58.484 -> D: Enable pin 35 for IR 13:27:58.484 -> D: Start display 13:27:59.281 -> D: Locate mp3 files on SD, may take a while... 13:27:59.281 -> D: SD directory is / 13:27:59.281 -> D: SD directory is /System Volume Information 13:27:59.468 -> D: 8 tracks on SD 13:27:59.515 -> D: Create list with acceptable WiFi networks 13:27:59.515 -> D: Added chrott to list of networks 13:27:59.515 -> D: Added chrott_2GEXT to list of networks 13:27:59.515 -> D: End adding networks 13:28:00.546 -> D: Scan Networks 13:28:02.515 -> D: Scan completed 13:28:02.515 -> D: Number of available networks: 6 13:28:02.515 -> D: 1 - chrott Signal: -67 dBm, Encryption WPA2_PSK, Acceptable 13:28:02.515 -> D: 2 - ROBA Signal: -67 dBm, Encryption WPA2_PSK, 13:28:02.515 -> D: 3 - chrott_2GEXT Signal: -80 dBm, Encryption WPA2_PSK, Acceptable 13:28:02.515 -> D: 4 - DIRECT-55-HP OfficeJet Pro 7720 Signal: -91 dBm, Encryption WPA2_PSK, 13:28:02.515 -> D: 5 - Die Krasse Signal: -93 dBm, Encryption WPA2_PSK, 13:28:02.515 -> D: 6 - Die Krasse.guest Signal: -94 dBm, Encryption WPA2_PSK, 13:28:02.562 -> D: End of list 13:28:02.562 -> D: Command: bat0 with parameter 2178 13:28:02.562 -> D: Command: bat100 with parameter 3256 13:28:02.562 -> D: Command: clk_dst with parameter 1 13:28:02.562 -> D: Command: clk_offset with parameter 1 13:28:02.562 -> D: Command: clk_server with parameter pool.ntp.org 13:28:02.562 -> D: Command: fs with parameter SD 13:28:02.562 -> D: Command: gpio_00 with parameter uppreset = 1 13:28:02.562 -> D: Command: gpio_12 with parameter upvolume = 2 13:28:02.562 -> D: Command: gpio_13 with parameter downvolume = 2 13:28:02.562 -> D: Command: ir_40bf with parameter upvolume = 2 13:28:02.562 -> D: Command: ir_c03f with parameter downvolume = 2 13:28:02.609 -> D: Command: mqttbroker with parameter none 13:28:02.609 -> D: Command: mqttpasswd with parameter *** 13:28:02.609 -> D: Command: mqttport with parameter 1883 13:28:02.609 -> D: Command: mqttprefix with parameter none 13:28:02.609 -> D: Command: mqttuser with parameter none 13:28:02.609 -> D: Command: pin_enc_clk with parameter 25 13:28:02.609 -> D: Command: pin_enc_dt with parameter 26 13:28:02.609 -> D: Command: pin_enc_sw with parameter 27 13:28:02.609 -> D: Command: pin_ir with parameter 35 13:28:02.609 -> D: Command: pin_sd_cs with parameter 22 13:28:02.609 -> D: Command: pin_tft_cs with parameter 15 13:28:02.609 -> D: Command: pin_tft_dc with parameter 2 13:28:02.655 -> D: Command: pin_vs_cs with parameter 5 13:28:02.655 -> D: Command: pin_vs_dcs with parameter 32 13:28:02.655 -> D: Command: pin_vs_dreq with parameter 4 13:28:02.655 -> D: Command: preset with parameter 7 13:28:02.655 -> D: Command: preset_00 with parameter 109.206.96.34:8100 13:28:02.655 -> D: Command: preset_01 with parameter airspectrum.cdnstream1.com:8114/1648_128 13:28:02.655 -> D: Command: preset_02 with parameter us2.internet-radio.com:8050 13:28:02.655 -> D: Command: preset_03 with parameter airspectrum.cdnstream1.com:8000/1261_192 13:28:02.655 -> D: Command: preset_04 with parameter airspectrum.cdnstream1.com:8008/1604_128 13:28:02.702 -> D: Command: preset_05 with parameter us1.internet-radio.com:8105 13:28:02.702 -> D: Command: preset_06 with parameter icecast.omroep.nl:80/radio1-bb-mp3 13:28:02.702 -> D: Command: preset_07 with parameter 205.164.62.15:10032 13:28:02.702 -> D: Command: preset_08 with parameter skonto.ls.lv:8002/mp3 13:28:02.702 -> D: Command: preset_09 with parameter 94.23.66.155:8106 13:28:02.702 -> D: Command: preset_10 with parameter ihr/IHR_IEDM 13:28:02.702 -> D: Command: preset_11 with parameter ihr/IHR_TRAN 13:28:02.702 -> D: Command: toneha with parameter 0 13:28:02.702 -> D: Command: tonehf with parameter 0 13:28:02.702 -> D: Command: tonela with parameter 0 13:28:02.702 -> D: Command: tonelf with parameter 0 13:28:02.702 -> D: Command: volume with parameter 96 13:28:02.796 -> D: Slow SPI, Testing VS1053 read/write registers... 13:28:03.030 -> D: Fast SPI, Testing VS1053 read/write registers again... 13:28:04.202 -> D: endFillByte is 0 13:28:04.343 -> D: Connect to WiFi 13:28:07.952 -> D: Connected to chrott 13:28:07.952 -> D: IP = 192.168.1.123 13:28:10.952 -> D: Start server for commands 13:28:10.952 -> D: Network found. Starting mqtt and OTA 13:28:10.952 -> D: MDNS responder started 13:28:11.983 -> D: Rotary encoder is enabled 13:28:11.983 -> D: Sync TOD 13:28:12.030 -> D: Sync TOD, new value is 13:28:12 13:28:12.030 -> D: STOP requested 13:28:12.030 -> D: New preset/file requested (7/0) from 205.164.62.15:10032 13:28:12.030 -> D: Connect to new host 205.164.62.15:10032 13:28:12.030 -> D: Connect to 205.164.62.15 on port 10032, extension / 13:28:12.030 -> D: Connected to server 13:28:12.077 -> D: Song stopped correctly after 0 msec 13:28:12.077 -> D: Duration mp3loop 1 13:28:12.733 -> D: Switch to HEADER 13:28:12.733 -> D: Headerline: icy-br: 192 13:28:12.733 -> D: Headerline: icy-pub: 1 13:28:12.733 -> D: Headerline: icy-description: 1.FM - Radio Gaia 13:28:12.733 -> D: Headerline: icy-url: http://1.fm 13:28:12.733 -> D: Headerline: Instance-id: 2381cbf39ec112e5629155afec9eb5f2 13:28:12.733 -> D: Headerline: Cache-Control: no-cache 13:28:12.733 -> D: Headerline: Server: AIS Streaming Server 8.4.1 13:28:12.733 -> D: Headerline: icy-genre: Chill 13:28:12.733 -> D: Headerline: Expires: Mon, 26 Jul 1997 05:00:00 GMT 13:28:12.733 -> D: Headerline: icy-metaint: 8192 13:28:12.733 -> D: Headerline: Pragma: no-cache 13:28:12.733 -> D: Headerline: icy-name: 1.FM - Radio Gaia 13:28:12.733 -> D: Headerline: Connection: close 13:28:12.733 -> D: Headerline: Content-Type: audio/mpeg 13:28:12.733 -> D: audio/mpeg seen. 13:28:12.733 -> D: Switch to DATA, bitrate is 192, metaint is 8192 13:28:12.733 -> D: Duration mp3loop 47 13:28:13.108 -> D: Metadata block 48 bytes 13:28:13.108 -> D: Streamtitle found, 42 bytes 13:28:13.108 -> D: StreamTitle='PAUL ADAMS - NEW BEGINNINGS'; 13:28:17.609 -> D: Command client available 13:28:17.609 -> D: handlehttp started 13:28:17.609 -> D: Filename is: mp3play.html 13:28:17.609 -> D: Start file reply for mp3play.html 13:28:17.609 -> D: FileRequest received mp3play.html 13:28:17.609 -> D: Length of page is 3187 13:28:17.609 -> D: Response send 13:28:17.609 -> D: Command client available 13:28:17.609 -> D: handlehttp started 13:28:17.656 -> D: Filename is: radio.css 13:28:17.656 -> D: Start file reply for radio.css 13:28:17.656 -> D: FileRequest received radio.css 13:28:17.656 -> D: Length of page is 2060 13:28:17.656 -> D: Response send 13:28:17.749 -> D: Command client available 13:28:17.749 -> D: handlehttp started 13:28:17.749 -> D: Get command is: mp3list 13:28:17.749 -> D: Send reply for mp3list 13:28:17.749 -> D: SD directory is / 13:28:17.749 -> D: SD directory is /System Volume Information 13:28:17.796 -> D: STOP requested 13:28:17.796 -> D: Stopping client 13:28:18.406 -> D: Song stopped correctly after 20 msec 13:28:18.546 -> D: 8 tracks on local drive 13:28:22.484 -> D: Command client available 13:28:22.484 -> D: handlehttp started 13:28:22.531 -> D: Get command is: mp3track=2,0,0,0Good%20Job.mp33,0,0,0Let's%20Stay%20Together.mp34,0,0,0MEER%20SCHAFFED%20DAS.mp35,0,0,0Nomadi.mp36,0,0,0I%20don't%20w 13:28:22.531 -> D: Send reply for mp3track=2,0,0,0Good%20Job.mp33,0,0,0Let's%20Stay%20Together.mp34,0,0,0MEER%20SCHAFFED%20DAS.mp35,0,0,0Nomadi.mp36,0,0,0I%20don't%20wa 13:28:22.531 -> D: Command: mp3track with parameter 2,0,0,0Good%20Job.mp33,0,0,0Let's%20Stay%20Together.mp34,0,0,0MEER%20SCHAFFED%20DAS.mp35,0,0,0Nomadi.mp36,0,0,0I%20d 13:28:22.531 -> D: getSDfilename requested node ID is 2,0,0,0Good%20Job.mp33,0,0,0Let's%20Stay%20Together.mp34,0,0,0MEER%20SCHAFFED%20DAS.mp35,0,0,0Nomadi.mp36,0,0,0I%2 13:28:22.577 -> D: Selected file is localhost/Good Job.mp3 13:28:22.577 -> D: Found ID3 info 13:28:22.624 -> D: Duration mp3loop 63 13:28:23.749 -> D: Command client available 13:28:23.749 -> D: handlehttp started 13:28:23.749 -> D: Get command is: status 13:28:23.749 -> D: Send reply for status 13:28:23.749 -> D: Command: status with parameter 0 13:28:29.093 -> D: Command client available 13:28:29.093 -> D: handlehttp started 13:28:29.093 -> D: Get command is: status 13:28:29.093 -> D: Send reply for status 13:28:29.093 -> D: Command: status with parameter 0 13:28:33.171 -> D: Command client available 13:28:33.171 -> D: handlehttp started 13:28:33.171 -> D: Get command is: uppreset=1 13:28:33.218 -> D: Send reply for uppreset=1 13:28:33.218 -> D: Command: uppreset with parameter 1 13:28:33.218 -> D: SD_currentnode is 2,0,0,0Good%20Job.mp33,0,0,0Let's%20Stay%20Together.mp34,0,0,0MEER%20SCHAFFED%20DAS.mp35,0,0,0Nomadi.mp36,0,0,0I%20don't%20wanna%20 13:28:33.218 -> D: getSDfilename requested node ID is 2,0,0,0 13:28:33.218 -> D: Selected file is localhost/Good Job.mp3 13:28:33.218 -> D: STOP requested 13:28:33.218 -> D: Found ID3 info 13:28:33.358 -> D: Song stopped correctly after 0 msec 13:28:33.358 -> D: Duration mp3loop 139 13:28:33.874 -> D: Duration mp3loop 372 13:28:33.968 -> D: Command client available 13:28:33.968 -> D: handlehttp started 13:28:34.015 -> D: Get command is: status 13:28:34.015 -> D: Send reply for status 13:28:34.015 -> D: Command: status with parameter 0 13:28:38.468 -> D: Command client available 13:28:38.468 -> D: handlehttp started 13:28:38.468 -> D: Get command is: uppreset=1 13:28:38.514 -> D: Send reply for uppreset=1 13:28:38.514 -> D: Command: uppreset with parameter 1 13:28:38.514 -> D: SD_currentnode is 2,0,0,0, delta is 1 13:28:38.514 -> D: getSDfilename requested node ID is 3,0,0,0 13:28:38.514 -> D: Selected file is localhost/Let's Stay Together.mp3 13:28:38.514 -> D: STOP requested 13:28:38.514 -> D: Found ID3 info 13:28:38.655 -> D: Song stopped correctly after 0 msec 13:28:39.171 -> D: Duration mp3loop 403 13:28:39.311 -> D: Command client available 13:28:39.311 -> D: handlehttp started 13:28:39.311 -> D: Get command is: status 13:28:39.358 -> D: Send reply for status 13:28:39.358 -> D: Command: status with parameter 0 13:28:43.811 -> D: Command client available 13:28:43.811 -> D: handlehttp started 13:28:43.811 -> D: Get command is: status 13:28:43.858 -> D: Send reply for status 13:28:43.858 -> D: Command: status with parameter 0 13:28:48.733 -> D: Command client available 13:28:48.733 -> D: handlehttp started 13:28:48.733 -> D: Get command is: status 13:28:48.780 -> D: Send reply for status 13:28:48.780 -> D: Command: status with parameter 0 13:28:54.066 -> D: Command client available 13:28:54.066 -> D: handlehttp started 13:28:54.066 -> D: Get command is: status 13:28:54.066 -> D: Send reply for status 13:28:54.066 -> D: Command: status with parameter 0 13:28:58.954 -> D: Command client available 13:28:58.954 -> D: handlehttp started 13:28:58.954 -> D: Get command is: status 13:28:59.001 -> D: Send reply for status 13:28:59.001 -> D: Command: status with parameter 0 13:29:03.876 -> D: Command client available 13:29:03.876 -> D: handlehttp started 13:29:03.876 -> D: Get command is: status 13:29:03.922 -> D: Send reply for status 13:29:03.922 -> D: Command: status with parameter 0 13:29:08.797 -> D: Command client available 13:29:08.797 -> D: handlehttp started 13:29:08.797 -> D: Get command is: status 13:29:08.797 -> D: Send reply for status 13:29:08.797 -> D: Command: status with parameter 0