This has been working without a problem for quite some time.
If I try this in Developer tools I see that error âFailed to call method playlistâ (and obviously also in the traces) but the action is executed.
I guess I could bypass it by enabling continue on error but I find that not good practice.
Youâre sure that your media_player didnât accidently got renamed to
media_player.bedroom_2 while thereâs the original one besides which got unavailable?
You wonât easily realise that within lyrion itself but if you use that entity in dashboard cards or automations.
I do ask because the error doesnât lead to the point that thereâs typo in the filename or path to the playlist file and I can simply put your lines into
settings>devtools>actions, adjusting the playlist so it points to an existing one here and it works straight.
The recent change was, as part of getting our silver quality, we had to make sure we flag any errors. So, the reason this has started showing up recently is that we now flag the error, rather than it being a new problem. Chances are the error was there before but just hidden.
It means weâre getting an error code back from LMS. Turn on debug logging, run the action, and see what you get in the log, and maybe in the LMS log.
`Yes - since weâre now raising the error, youâd need to mark it to continue on error. I canât be 100% certain of course, but it seems very likely this is the cause of your new issue - i.e. the actual underyling error was there anyway but just not being raised. The next question of course is - whatâs the underlying error⌠Is this error something wrong in the integration, or something with LMS. If you can get the debug logs, we can try and understand where the issue actually lies.
One of the issues now is that you cannot press the off button on the media card unless the track is first stopped. The interface complains âfailed to turn off playerâ.
Is there no possibility to both stop and turn off on receiving turn off?
@wigster I guess thatâs why the HA team want us to raise these errors, so things donât happen in the background. Iâve never seen this one before - it certainly doesnât do it in my setup. So, Iâll need debug logs and Iâm happy to take a look.
I have the same problem: I cannot press the off button on the media card unless the track is first stopped. The interface complains âfailed to turn off playerâ.
2026-04-03 13:07:16.161 INFO (MainThread) [pysqueezebox.server] Query run on unknown player 00:04:20:2a:9b:0d, or invalid command
Lyrion Music Server Log File:
[26-04-03 13:29:55.2047] Slim::Control::Request::execute (1884) Error: While trying to run function coderef [Slim::Control::Commands::powerCommand]: [Modification of a read-only value attempted at /usr/share/perl5/Slim/Utils/Prefs/Base.pm line 122.
]
[26-04-03 13:29:55.2048] Slim::Web::JSONRPC::requestMethod (489) Request failed with error: Bad dispatch!
Thanks @tomber . OK, so thatâs really weird. Weâre just sending âpower 0â, but the LMS thinks something is in a read only state. No idea what might cause that, but throwing the error looks legit - since LMS itself is throwing an error. Iâll ask over in LMS land and see what we can learn.
Iâd just post a question on his thread. Itâs not an issue with the addin/app - itâs a bug in LMS. Typically, I think Phil only updates the stable versions, which is currently 9.1.0, but there may be a way to change to the stable/nightly option to get 9.1.x.
BTW, with the demise of Supervised, it looks like Phil isnât planning to support the addin/app long term, so you might want to consider a different LMS platform at some point.