mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-25 10:13:33 +02:00
run file for python virtual env
This commit is contained in:
parent
8bc6e8e01d
commit
3b4ad62c34
2 changed files with 15 additions and 0 deletions
|
@ -19,6 +19,9 @@ Dependencies:
|
|||
Python dependencies:
|
||||
```pip install -r requirements.txt```
|
||||
Optional: brotli
|
||||
|
||||
For virtual env just type (ofc after install mpv, fzf, python3):
|
||||
`./run`
|
||||
|
||||
### About cache folder
|
||||
funkwlmpv has to cache tracks before playing (default disabled "enable_persistent_cache"). Cache is persistent and you should manage it manually because the (script/program) can't clean it automatically.
|
||||
|
|
12
run
Executable file
12
run
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -d env_fw ]; then
|
||||
python3 -m venv env_fw
|
||||
. env_fw/bin/activate
|
||||
pip3 install -r requirements.txt || pip install -r requirements.txt || exit 1
|
||||
./funkwlmpv
|
||||
else
|
||||
. env_fw/bin/activate
|
||||
./funkwlmpv
|
||||
fi
|
||||
|
Loading…
Reference in a new issue