add double dot sys path to conf

This commit is contained in:
Clxud 2023-02-28 16:31:58 +00:00
parent c7da354d68
commit 90f9242ddb
7 changed files with 59 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
# Sphinx build info version 1 # Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: b8a410346a150a438a6445a71b9379ec config: 0b739fcaef66703cf1454de38e053a4a
tags: 645f666f9bcd5a90fca523b33c5a78b7 tags: 645f666f9bcd5a90fca523b33c5a78b7

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -14,6 +14,8 @@ import os
import sys import sys
from typing import Any, Dict from typing import Any, Dict
sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------

View File

@ -404,6 +404,61 @@ await Player.add_filter(
After running this function, you should see your currently playing track sound different depending on the filter you chose. After running this function, you should see your currently playing track sound different depending on the filter you chose.
### Removing a filter
To remove a filter, we need to use `Player.remove_filter()`
```py
await Player.remove_filter(...)
```
After you have initialized your function, we need to fill in the proper parameters:
:::{list-table}
:header-rows: 1
* - Name
- Type
- Description
* - `filter`
- `Filter`
- The filter to remove
* - `fast_apply`
- `bool`
- If set to `True`, the specified filter will be removed (almost) instantly if a song is playing. Default value is `False`.
:::
After you set those parameters, your function should look something like this:
```py
await Player.remove_filter(
filter=<your filter object here>,
fast_apply=<True/False>
)
```
After running this function, you should see your currently playing track sound different depending on the filter you chose to remove.
### Resetting all filters
To reset all filters, we need to use `Player.reset_filters()`
```py
await Player.reset_filters()
```