| Server IP : 104.21.84.107 / Your IP : 104.23.197.209 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /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)