sle118 / squeezelite-esp32

ESP32 Music streaming based on Squeezelite, with support for multi-room sync, AirPlay, Bluetooth, Hardware buttons, display and more
1.26k stars 115 forks source link

Plugin: cant access SqueezeESP32 settings #442

Closed mockerl closed 1 month ago

mockerl commented 2 months ago

To help us resolve your issue as quickly as possible, please follow these guidelines when submitting an issue. Providing all the necessary information will save both your time and ours.

Describe the bug

When trying to access the plugin-settings via the player-tab an error is logged and the site dosen't change. the following error is logged:

[24-08-25 22:41:13.5165] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't locate object method "send_equalizer" via package "Slim::Player::SqueezePlay" at /config/cache/InstalledPlugins/Plugins/SqueezeESP32/Plugin.pm line 34.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x55d8554a4918)

[24-08-25 22:42:28.0046] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't locate object method "hasLED" via package "Slim::Player::SqueezePlay" at /config/cache/InstalledPlugins/Plugins/SqueezeESP32/PlayerSettings.pm line 108.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x55d8519645a0)

Preliminary Information

  1. Firmware Version: fw: I2S-4MFlash-1673, mode: Squeezelite-ESP32
  2. Plugin Version: v0.600

Hardware Details

Please describe your hardware setup:

NVS Settings


{
  "a2dp_ctmt": "1000",
  "a2dp_ctrld": "500",
  "a2dp_dev_name": "squeezelite-kitchen",
  "a2dp_sink_name": "SMSL BT4.2",
  "a2dp_spin": "0000",
  "actrls_config": "",
  "airplay_name": "squeezelite-kitchen",
  "airplay_port": "5000",
  "ap_channel": "1",
  "ap_ip_address": "192.168.4.1",
  "ap_ip_gateway": "192.168.4.1",
  "ap_ip_netmask": "255.255.255.0",
  "ap_pwd": "squeezelite",
  "ap_ssid": "squeezelite-kitchen",
  "autoexec": "1",
  "autoexec1": "squeezelite  -o i2s  -s  192.168.88.11 -b  500:2000 -C  30 -d  all=info  -n \"kitchen\" -Z 192000 -r \"44100-44100\"",
  "bat_config": "",
  "bt_name": "squeezelite-kitchen",
  "bt_sink_pin": "1234",
  "bt_sink_volume": "127",
  "bypass_wm": "0",
  "cspot_config": "{\t\"deviceName\":\t\"squeezelite-kitchen\",\t\"bitrate\":\t160}",
  "dac_config": "model=I2S,bck=33,ws=25,do=32,mute=14:0",
  "dac_controlset": "",
  "dhcp_tmout": "8",
  "display_config": "",
  "enable_airplay": "N",
  "enable_bt_sink": "N",
  "enable_cspot": "N",
  "equalizer": "0,0,0,0,0,0,0,0,0,0",
  "eth_config": "",
  "ethtmout": "8",
  "gpio_exp_config": "",
  "host_name": "squeezelite-kitchen",
  "i2c_config": "",
  "jack_mutes_amp": "n",
  "led_brightness": "",
  "led_vu_config": "",
  "lms_ctrls_raw": "n",
  "loudness": "0",
  "metadata_config": "",
  "model_config": "",
  "ota_erase_blk": "249856",
  "ota_prio": "6",
  "ota_stack": "10240",
  "pollmin": "15",
  "pollmx": "600",
  "rel_api": "https://api.github.com/repos/sle118/squeezelite-esp32/releases",
  "release_url": "CONFIG_SQUEEZELITE_ESP32_RELEASE_URL",
  "rotary_config": "",
  "set_GPIO": "",
  "sleep_config": "",
  "spdif_config": "",
  "spi_config": "",
  "stats": "N",
  "target": "",
  "telnet_block": "500",
  "telnet_buffer": "40000",
  "telnet_enable": "N"
}

Logs


=== START OF LOG ===
[24-08-25 22:41:13.5165] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't locate object method "send_equalizer" via package "Slim::Player::SqueezePlay" at /config/cache/InstalledPlugins/Plugins/SqueezeESP32/Plugin.pm line 34.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x55d8554a4918)

[24-08-25 22:42:28.0046] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't locate object method "hasLED" via package "Slim::Player::SqueezePlay" at /config/cache/InstalledPlugins/Plugins/SqueezeESP32/PlayerSettings.pm line 108.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x55d8519645a0)

Issue Description

  1. Observed Behavior: When trying to access the plugin-settings an error is logged
  2. Expected Behavior: i would expect the SqueezeESP32 settings to open
  3. Steps to Reproduce: install plugin and try to access it via the player tab
mockerl commented 1 month ago

Today I have updated everything to the newest versions and everything seems to work as expected. Therefore I will close this issue. Thanks for your continued development!