https://github.com/marvin1099/pipewiresaveload
Python script to save and load your pipewire wires also some search functions are included that can be used for automation.
https://github.com/marvin1099/pipewiresaveload
cli connection links linux load pipewire python save
Last synced: about 1 month ago
JSON representation
Python script to save and load your pipewire wires also some search functions are included that can be used for automation.
- Host: GitHub
- URL: https://github.com/marvin1099/pipewiresaveload
- Owner: marvin1099
- License: agpl-3.0
- Created: 2023-03-25T10:42:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T09:24:27.000Z (9 months ago)
- Last Synced: 2024-09-20T21:24:30.682Z (9 months ago)
- Topics: cli, connection, links, linux, load, pipewire, python, save
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PipewireSaveLoad
Python script to save and load your pipewire wires.
Also a search function is included since its nice to have.
Also keep in mind the current version is only compatible with configs created at 0.3.2 or higher.
I want to say I used AI a lot for to make this script,
this is just one of these set it and forget it scripts.## Download
Go To:
Main Repo: https://codeberg.org/marvin1099/Pipewire-save-load/releases
Backup Repo: https://github.com/marvin1099/Pipewire-save-load/releases
Then download the pipewire-script.py file and run it with the desired options## Extra Info
Since i have removed the replace commands,
your old config my not work with v0.5
to make shure it works load the config with v0.4,
then save with version v0.5
versions before v0.3.2 are not compatible with,
with v0.3.2 and above.## Usage
usage: pipewire-script.py [-h] [-s] [-l] [-d {links,ports,nodes}] [-k] [-i]
[-q QUERY] [-v VALUE] [-o OUTPUT] [-c CONFIG]Manage PipeWire connections.
options:
-h, --help show this help message and exit
-s, --save Save wires
-l, --load Load wires
-d {links,ports,nodes}, --data {links,ports,nodes}
Select data type (links, ports, nodes) for searching and listing
-k, --keys Print all keys of data
-i, --list List all items of data
-q QUERY, --query QUERY
Search key
-v VALUE, --value VALUE
Search value
-o OUTPUT, --output OUTPUT
Output key for the search
-c CONFIG, --config CONFIG
Config file to use (default: pipewirewires.conf)