This is an old revision of the document!
PodFetch
PodFetch is a web app that let's you download and play podcasts.
It needs PostgreSQL, even if it doesnt use it, so:
> emerge postgresql
you don't need to run it.
Create user:
> useradd -d /data/daemons/podfetch -m -g media podfetch > su - podfetch > wget https://github.com/SamTV12345/PodFetch/releases/download/<use latest release>/podfetch-linux.zip > unzip podfetch-linux.zip
Move podcast folder, as root:
> mkdir /data/Media/Podcasts > rmdir /data/daemons/podfetch/podcasts > ln -s /data/Media/Podcasts /data/daemons/podfetch/podcasts
Run script:
- podfetch.sh
#!/bin/bash export SERVER_URL=https://casa.gardiol.org/podfetch/ export DATABASE_URL=sqlite:///data/daemons/podfetch/db/podcast.db export REVERSE_PROXY=true export REVERSE_PROXY_HEADER=X-WEBAUTH-USER export REVERSE_PROXY_AUTO_SIGN_UP=true export TELEGRAM_BOT_TOKEN= export TELEGRAM_BOT_CHAT_ID= export TELEGRAM_API_ENABLED=false /data/daemons/podfetch/podfetch_amd64
startup script /etc/local.d/35-podfetch.start:
- 35-podfetch.start
#!/bin/bash /data/daemons/podfetch/podfetch.sh&