A Discord bot for listening music from a Subsonic server.
Project description
Setup
The only external dependencies needed are:
ffmpeg
.libopus
.
Then just install the bot from PyPI with pipx:
pipx install disopy
Or directy with pip
:
python3 -m pip install disopy
Finally generate a basic config file:
disopy --generate-config
It will be located at ${XDG_CONFIG_DIR}/disopy/config.toml
(in most cases $HOME/.config/disopy/config.toml
), remember to edit it with your configuration values.
Docker
TODO
Running the bot
The bot needs two environment variables:
DISOPY_SUBSONIC_PASSWORD
: The password to be send to the Subsonic REST API.DISOPY_DISCORD_TOKEN
: The token to be used when authenticating to the Discord API.
And then just start the bot!
DISOPY_SUBSONIC_PASSWORD=foo DISOPY_DISCORD_TOKEN=bar disopy
Contributing
If you are interested in fixing bugs or adding new features please check the contributing guide.
Acknowledgements
- Created with :heart: by Jorge "Kutu" Dobón Blanco.
- JmTexas19: Creator of Subrift, project forked that served as a base for Disopy.
- iGieri: Fix issue #1.
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
File details
Details for the file disopy-1.1.0.tar.gz
.
File metadata
- Download URL: disopy-1.1.0.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f8f82238a35bcefe9da02445e4850958cb73bd6994062d56679336801e12e30 |
|
MD5 | fbf368df959d83617693907abaffd2ab |
|
BLAKE2b-256 | e4fcddff33ddfdadee941261b202240a3d2e57a74175d0a7a178e71475bbd14b |
Provenance
The following attestation bundles were made for disopy-1.1.0.tar.gz
:
Publisher:
publish.yml
on kutu-dev/disopy
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
disopy-1.1.0.tar.gz
- Subject digest:
4f8f82238a35bcefe9da02445e4850958cb73bd6994062d56679336801e12e30
- Sigstore transparency entry: 145715575
- Sigstore integration time:
- Predicate type:
File details
Details for the file disopy-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: disopy-1.1.0-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be785d4e81f38572100652d6d5d40fb38233223f6cd03f7c4cc4fd3f13ac199a |
|
MD5 | 09e8f84c3ba51cf358117030b6eff5ef |
|
BLAKE2b-256 | e59b28a3565bfcf37d7d744150be764d2bb993d806e330bc4e84bc710deb51ef |
Provenance
The following attestation bundles were made for disopy-1.1.0-py3-none-any.whl
:
Publisher:
publish.yml
on kutu-dev/disopy
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
disopy-1.1.0-py3-none-any.whl
- Subject digest:
be785d4e81f38572100652d6d5d40fb38233223f6cd03f7c4cc4fd3f13ac199a
- Sigstore transparency entry: 145715582
- Sigstore integration time:
- Predicate type: