Go to file
2023-11-09 14:58:04 +01:00
.run init 2023-11-09 14:21:44 +01:00
.vscode init 2023-11-09 14:21:44 +01:00
Alpine Alpine packaging 2023-11-09 14:58:04 +01:00
src/nextcast init 2023-11-09 14:21:44 +01:00
.gitignore init 2023-11-09 14:21:44 +01:00
pyproject.toml Alpine packaging 2023-11-09 14:58:04 +01:00
README.md Alpine packaging 2023-11-09 14:58:04 +01:00
requirements.txt init 2023-11-09 14:21:44 +01:00
setup.cfg Alpine packaging 2023-11-09 14:58:04 +01:00
shell.nix init 2023-11-09 14:21:44 +01:00

NextCast

With nix-shell:

export PYTHONPATH="$${PYTHONPATH:-}:src"
nix-shell --run './src/nextcast/app_resume_playback.py'
nix-shell --run './src/nextcast/app_play_episode.py'

With apk (on Alpine or PostmarketOS):

sudo apk add mpv libmediainfo ncurses
sudo apk add py3-pip
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
. venv/bin/activate
export PYTHONPATH="$${PYTHONPATH:-}:src"
./src/nextcast/app_resume_playback.py
./src/nextcast/app_play_episode.py

Alpine Packaging

pmbootstrap newapkbuild py3-nextcast -y -l MIT
cat ~/.local/var/pmbootstrap/cache_git/pmaports/main/py3-nextcast/APKBUILD
cp Alpine/APKGBUILD ~/.local/var/pmbootstrap/cache_git/pmaports/main/py3-nextcast/APKBUILD
pmbootstrap apkbuild_parse py3-nextcast
pmbootstrap checksum py3-nextcast
pmbootstrap build py3-nextcast