sspiff / lms-plugin-pyrrha

Pyrrha - Daughter of Pandora
GNU General Public License v2.0
13 stars 4 forks source link

`playingSong` undefined #21

Closed nabertrand closed 5 months ago

nabertrand commented 6 months ago

While steaming music I frequently see this error in server.log:

[24-02-20 22:07:23.9353] Slim::Control::Request::execute (1885) Error: While trying to run function coderef [Slim::Control::Queries::songinfoQuery]: [Can't call method "playingSong" on an undefined value at /usr/share/squeezeboxserver/Plugins/Pyrrha/ProtocolHandler.pm line 170.
]
[24-02-20 22:07:23.9371] Slim::Plugin::CLI::Plugin::cli_process (640) Request [songinfo] failed with error: Bad dispatch!

This occasionally occurs with the official Pandora plugin as well:

[24-02-17 02:09:10.5055] Slim::Control::Request::execute (1885) Error: While trying to run function coderef [Slim::Control::Queries::songinfoQuery]: [Can't call method "playingSong" on an undefined value at /usr/share/perl5/Slim/Plugin/Pandora/ProtocolHandler.pm line 415.
]
[24-02-17 02:09:10.5063] Slim::Plugin::CLI::Plugin::cli_process (640) Request [songinfo] failed with error: Bad dispatch!

I have yet to notice any actual issues while interacting with either plugin, so I'm unsure what is triggering this error.

sspiff commented 6 months ago

I haven't seen this particular error, but I don't use the CLI. Are you using the CLI directly or do you have some other component that uses it?

nabertrand commented 6 months ago

I'm actually not using the CLI as far as I'm aware, so maybe there's some component that shares the CLI code?