Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
wireplumber /
scripts /
node /
Delete
Unzip
Name
Size
Permission
Date
Action
audio-group.lua
6.54
KB
-rw-r--r--
2025-10-10 14:43
create-item.lua
5.79
KB
-rw-r--r--
2025-10-10 14:43
filter-forward-format.lua
3.6
KB
-rw-r--r--
2025-10-10 14:43
software-dsp.lua
2.86
KB
-rw-r--r--
2025-10-10 14:43
state-stream.lua
13.75
KB
-rw-r--r--
2025-10-10 14:43
suspend-node.lua
1.86
KB
-rw-r--r--
2025-10-10 14:43
Save
Rename
-- WirePlumber -- -- Copyright © 2021 Collabora Ltd. -- @author George Kiagiadakis <george.kiagiadakis@collabora.com> -- -- SPDX-License-Identifier: MIT log = Log.open_topic ("s-node") sources = {} SimpleEventHook { name = "node/suspend-node", interests = { EventInterest { Constraint { "event.type", "=", "node-state-changed" }, Constraint { "media.class", "matches", "Audio/*" }, }, EventInterest { Constraint { "event.type", "=", "node-state-changed" }, Constraint { "media.class", "matches", "Video/*" }, }, }, execute = function (event) local node = event:get_subject () local new_state = event:get_properties ()["event.subject.new-state"] log:debug (node, "changed state to " .. new_state) -- Always clear the current source if any local id = node["bound-id"] if sources[id] then sources[id]:destroy() sources[id] = nil end -- Add a timeout source if idle for at least 5 seconds if new_state == "idle" or new_state == "error" then -- honor "session.suspend-timeout-seconds" if specified local timeout = tonumber(node.properties["session.suspend-timeout-seconds"]) or 5 if timeout == 0 then return end -- add idle timeout; multiply by 1000, timeout_add() expects ms sources[id] = Core.timeout_add(timeout * 1000, function() -- Suspend the node -- but check first if the node still exists if (node:get_active_features() & Feature.Proxy.BOUND) ~= 0 then log:info(node, "was idle for a while; suspending ...") node:send_command("Suspend") end -- Unref the source sources[id] = nil -- false (== G_SOURCE_REMOVE) destroys the source so that this -- function does not get fired again after 5 seconds return false end) end end }:register ()