George Kiagiadakis
905636dc8d
lua/api: improve getting optional Interest arguments
...
Add the ability to construct an Interest argument without
using the Interest keyword, so instead of:
om:lookup(Interest { type = "session" })
we can now write:
om:lookup { type = "session" }
... and also remove lookup_filtered from ObjectManager
2021-03-02 13:11:54 +02:00
Julian Bouzas
6c2bfea55b
scripts: policy-endpoints: add move and follow options
...
If 'move' is set to true, endpoints will be moved to the new target when the
metadata 'target.node' key is present. If 'follow' is set to true, endpoints
will be moved to the newly changed default device automatically.
2021-03-01 15:36:28 -05:00
George Kiagiadakis
24a260030b
scripts/access: update access scripts to call update_permissions() cleanly
...
and fix some coding style issues
2021-02-18 16:53:41 +02:00
George Kiagiadakis
98151fdb69
monitor-alsa: fix node description on strange embedded devices
...
Ensure that no part of the description string is empty, otherwise fall back
Fix logic with dev and/or subdev being 0
2021-02-18 10:23:07 +02:00
George Kiagiadakis
beb9902589
suspend-node: honor "session.suspend-timeout-seconds"
...
6079830591
2021-02-18 09:15:24 +02:00
George Kiagiadakis
20c7733640
monitors: sanitize node descriptions too
...
aea79cd79c
2021-02-18 09:02:41 +02:00
George Kiagiadakis
115c9c3e4f
monitors: drop the monitor- prefix from the filenames and s/bluez5/bluez/
2021-02-15 19:55:06 +02:00
George Kiagiadakis
1d40e7713f
config: load reserve-device only if alsa.reserve is true
...
and also make the default of alsa.reserve to be false, for easier scripting
2021-02-15 19:43:07 +02:00
George Kiagiadakis
4538d43bcb
monitor-bluez: fix source priority assignment
...
pipewire/pipewire!456
2021-02-15 19:24:42 +02:00
George Kiagiadakis
4ae15a14ac
monitors: sanitize node names to match media-session's behavior
2021-02-15 19:18:07 +02:00
George Kiagiadakis
73a07d0097
monitor-alsa: sync logic, properties and configuration with media-session
2021-02-15 18:49:57 +02:00
George Kiagiadakis
100e6dc360
monitor-v4l2: copy properties and rules logic from media-session
2021-02-15 14:43:18 +02:00
George Kiagiadakis
d9bf776cb8
monitor-bluez: copy all properties and the rules functionality from media-session
2021-02-13 11:55:00 +02:00
Julian Bouzas
b1e1e5ced0
scripts: add portal access script
...
Includes a plugin to handle the portal permission store dbus interface
2021-02-12 14:28:45 -05:00
Julian Bouzas
fdc8053d9f
scripts: add flatpak access lua script
...
Replaces old module-client-permissions module
2021-02-12 14:28:38 -05:00
George Kiagiadakis
d94b0a2f0c
scripts: add suspend-node.lua to replace m-node-suspension
...
... plus the necessary API for it to work
2021-02-05 12:03:07 +02:00
George Kiagiadakis
7ca6717ff9
create-endpoint.lua: fix some issues
2021-02-05 11:58:53 +02:00
George Kiagiadakis
2efa85e3fd
create-endpoint.lua: fix indentation
2021-02-05 11:33:15 +02:00
George Kiagiadakis
2142fffc0e
monitor-alsa: simplify reserve-device connection logic
...
Because of the new design of the daemon and the async activation of plugins,
the reserve-device plugin connects to d-bus before monitor-alsa is executed
and therefore there is no need to wait for the connection
2021-02-03 17:16:51 +02:00
George Kiagiadakis
88f59f07cb
monitor-alsa: receive script configuration from config.lua
2021-02-03 17:16:51 +02:00
George Kiagiadakis
c00a706998
scripts: add static-sessions.lua
...
Replaces the old create-session wireplumber.conf commands
2021-02-03 17:16:51 +02:00
George Kiagiadakis
e52bd4468d
src: move scripts to their own directory, install in $prefix/share/
2021-02-03 17:16:51 +02:00