| Server IP : 85.112.90.236 / Your IP : 192.168.1.26 Web Server : Apache System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64 User : ftechme ( 1002) PHP Version : 8.2.32 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/wireplumber/scripts/ |
Upload File : |
-- WirePlumber
--
-- Copyright © 2023 Collabora Ltd.
--
-- SPDX-License-Identifier: MIT
--
-- Provides the default metadata object
Script.async_activation = true
-- note that args is a WpSpaJson
local args = ...
args = args:parse(1)
local metadata_name = args["metadata.name"]
log = Log.open_topic ("s-metadata")
log:info ("creating metadata object: " .. metadata_name)
impl_metadata = ImplMetadata (metadata_name)
impl_metadata:activate (Features.ALL, function (m, e)
if e then
Script:finish_activation_with_error (
"failed to activate the ".. metadata_name .." metadata: " .. tostring (e))
else
Script:finish_activation ()
end
end)