Python implementation of Source Live Audio Mixer
Project description
PySLAM
CSGO implemenation of SLAM, written in python.
The binaries pyslam and pyslam-ytdl are provided.
pyslam-ytdl will download songs into mp3 format from YouTube to the configured music directory.
Configuration
Configuration location
The configuration file location respects XDG, and will try the following paths, in this order:
$XDG_CONFIG_HOME/slam.yaml$XDG_CONFIG_HOME/slam.yml$XDG_CONFIG_HOME/slam/slam.yaml$XDG_CONFIG_HOME/slam/slam.yml$XDG_CONFIG_HOME/slam/config.yaml$XDG_CONFIG_HOME/slam/config.yml
NOTE:
$XDG_CONFIG_HOMEwill default to$HOME/.configon most systems.- PySLAM uses a lazy match. This means the first file from the above list which exists will be used.
Example configuration
---
# Key which will be bound to play music
# If not specified, will default to mouse3
bindkey: KP_END
# Path in which music will be stored
# If not specified, will default to $XDG_DATA_HOME/slam/music
# NOTE: In older versions, a key named 'paths' which accepted a list was used
# This is now deprecated.
music:
path: /home/alex/Documents/slam
csgo:
# Path to game folder
# This value is mandatory
game: /opt/games/steamapps/common/Counter-Strike Global Offensive
# List of paths to which the pyslam.cfg file will be written
# If unspecified, will write to csgo/cfg folder under the game folder specified above
# i.e. in this config: /opt/games/steamapps/common/Counter-Strike Global Offensive/csgo/cfg
user_profile:
- /opt/games/steamapps/common/Counter-Strike Global Offensive/csgo/cfg
Command-line parameters
The following parameters are present:
| Argument | Short argument | Explanation | Default | Example |
|---|---|---|---|---|
--config |
-c |
Override config path | None |
PySLAM -c /etc/pyslam.yaml |
--printdir |
-D |
Print music directory as configured | False |
PySLAM -D |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PySLAM-1.2.1.tar.gz.
File metadata
- Download URL: PySLAM-1.2.1.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa645ada76b68fc6ac62fb31d4ebcb561a7afe0ef23301557f6205341355dfea
|
|
| MD5 |
d98de76c76c892afc617a3002d4f44d6
|
|
| BLAKE2b-256 |
0534d351eb3fc9f77d156429ca1862fd8e64bd590b0c560ee9079986dcd593e6
|
File details
Details for the file PySLAM-1.2.1-py3-none-any.whl.
File metadata
- Download URL: PySLAM-1.2.1-py3-none-any.whl
- Upload date:
- Size: 30.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
005d75bc5b604496460b242991965a03b35ff4e94573c4395ac96008cb5321d7
|
|
| MD5 |
1de6f7b839ce82c280099236204e6aac
|
|
| BLAKE2b-256 |
a94a1d50b6004b45d8bc5af5a58989a9edaffd322d6af4f5ebdab46f05be9d84
|