build: Reverted python-magic-bin
back to python-magic
.
Added special note for macOS users in README.
This commit is contained in:
parent
6afdc78360
commit
b0542b955e
15
README.md
15
README.md
@ -225,12 +225,23 @@ Exception: Could not find opus library. Make sure it is installed.
|
|||||||
```
|
```
|
||||||
You need to install the opus codec (not embedded in all system): `apt install libopus0`
|
You need to install the opus codec (not embedded in all system): `apt install libopus0`
|
||||||
|
|
||||||
3. If you have a large amount of music files (>1000), it may take some time for the bot to boot, since
|
3. MacOS Users may encounter the following error:
|
||||||
|
```
|
||||||
|
ImportError: failed to find libmagic. Check your installation
|
||||||
|
```
|
||||||
|
This is caused by missing `libmagic` binaries and can be solved by
|
||||||
|
```bash
|
||||||
|
brew install libmagic
|
||||||
|
|
||||||
|
```
|
||||||
|
One may also install `python-magic-bin` instead of `python-magic`.
|
||||||
|
|
||||||
|
5. If you have a large amount of music files (>1000), it may take some time for the bot to boot, since
|
||||||
it will build up the cache for the music library on booting. You may want to disable this auto-scanning by
|
it will build up the cache for the music library on booting. You may want to disable this auto-scanning by
|
||||||
setting ``refresh_cache_on_startup=False`` in `[bot]` section and control the scanning manually by
|
setting ``refresh_cache_on_startup=False`` in `[bot]` section and control the scanning manually by
|
||||||
``!rescan`` command and the *Rescan Files* button on the web interface.
|
``!rescan`` command and the *Rescan Files* button on the web interface.
|
||||||
|
|
||||||
4. Alpine Linux requires some extra dependencies during the installation (in order to compile Pillow):
|
6. Alpine Linux requires some extra dependencies during the installation (in order to compile Pillow):
|
||||||
```
|
```
|
||||||
python3-dev musl-lib libmagic jpeg-dev zlib-dev gcc
|
python3-dev musl-lib libmagic jpeg-dev zlib-dev gcc
|
||||||
```
|
```
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
flask
|
flask
|
||||||
yt-dlp
|
yt-dlp
|
||||||
python-magic-bin
|
python-magic
|
||||||
Pillow
|
Pillow
|
||||||
mutagen
|
mutagen
|
||||||
requests
|
requests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user