Replies: 1 comment 18 replies
-
I'd recommend you ask this question in the forums, as there are many more users participating in discussions. You could look at the web UI, what is being sent when you install a plugin through it. What's the larger context of your plan? Are you trying to deploy to a larger number of systems? |
Beta Was this translation helpful? Give feedback.
18 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to create an Ansible tool for deploying LMS. This ideally not only installs the LMS instance, but also automatically installs Plugins and configures LMS as well as the Plugins. So far the CLI seems to be the best approach to configure. What I however failed to achieve is, installing Plugins.
I do not want to follow this here: https://forums.slimdevices.com/forum/user-forums/logitech-media-server/105068-manually-installing-plugin-zips/page3
because the Plugins are not "natively" installed through the PluginManager. In the Extension Plugin I have found the "appsquery" CLI. This seems to call appsQuery, which in turn calls "_appsQueryCB" which then finally calls findUpdates. So there seems to be a way through the CLI to achieve this.
I have added Logging-Output in my local code to Plugin/Extenions/Plugin.pm and tried to figure out what to enter on the CLI. However I am stuck now, as it seems there needs to be an "arg" parameter and its content needs to be a HASH. The command-Parsing in Request.pm however only converts the CLI-string into an array. Anyone here that knows how this CLI-command works or was supposed to work?
Example: Set logging for Extension-Plugin (and CLI-Plugin) to Debug and enter:
appsquery args:something
This will through an error in the log.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions