-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: falkTX <[email protected]>
- Loading branch information
Showing
10 changed files
with
70 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v1.14.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
cd $(dirname "${0}")/browsepy | ||
|
||
# setup environment variables | ||
WORKDIR=${WORKDIR:=~/mod-workdir} | ||
|
||
export MOD_USER_FILES_DIR="${WORKDIR}/user-files" | ||
|
||
# if coming through PawPaw, reset PATH | ||
if [ -n "${OLD_PATH}" ]; then | ||
export PATH="${OLD_PATH}" | ||
else | ||
export PATH="~/.local/bin:${PATH}" | ||
fi | ||
|
||
# check for pip3 tool | ||
if ! command -v pip3 >/dev/null; then | ||
echo "pip3 tool not available, cannot continue" | ||
exit 1 | ||
fi | ||
|
||
# install virtualenv as needed | ||
if ! virtualenv --version 2>/dev/null; then | ||
pip3 install virtualenv | ||
fi | ||
|
||
# activate virtualenv | ||
virtualenv browsepy-env | ||
source browsepy-env/bin/activate | ||
|
||
# install required mod-ui dependencies in virtualenv | ||
pip3 install -r requirements.txt | ||
|
||
# create initial directories | ||
mkdir -p "${MOD_USER_FILES_DIR}/Audio Loops" | ||
mkdir -p "${MOD_USER_FILES_DIR}/Audio Recordings" | ||
mkdir -p "${MOD_USER_FILES_DIR}/Audio Samples" | ||
mkdir -p "${MOD_USER_FILES_DIR}/Audio Tracks" | ||
mkdir -p "${MOD_USER_FILES_DIR}/MIDI Clips" | ||
mkdir -p "${MOD_USER_FILES_DIR}/MIDI Songs" | ||
mkdir -p "${MOD_USER_FILES_DIR}/Reverb IRs" | ||
mkdir -p "${MOD_USER_FILES_DIR}/Speaker Cabinets IRs" | ||
mkdir -p "${MOD_USER_FILES_DIR}/Hydrogen Drumkits" | ||
mkdir -p "${MOD_USER_FILES_DIR}/SF2 Instruments" | ||
mkdir -p "${MOD_USER_FILES_DIR}/SFZ Instruments" | ||
mkdir -p "${MOD_USER_FILES_DIR}/Aida DSP Models" | ||
mkdir -p "${MOD_USER_FILES_DIR}/NAM Models" | ||
|
||
# start browsepy inside virtualenv | ||
exec python3 -c "from browsepy.__main__ import main; main()" --directory "${MOD_USER_FILES_DIR}" --upload "${MOD_USER_FILES_DIR}" --removable "${MOD_USER_FILES_DIR}" 127.0.0.1 8081 |
Submodule mod-host
updated
from aac5e5 to f36bce
Submodule mod-sdk
updated
from 3b87dc to ba1e9b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule mod-ui
updated
from 2bb305 to 6baaa3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters