The goal of this application is to uniformly encode media libraries to be served through whatever applicable means (Plex / Other). Libraries are independantly configurable which allows you to set quality standards however you would like!
Must be installed or provided to the environment, the application will look for the
binary HandBrakeCLI as indicated by the default install:
sudo apt install handbrake-cliHandbrake must have the scan option (latest versions)
The following database servers are supported:
- MySQL 5.7+
- MariaDB
All configuration is handled via. the .env file, copy the .env.example file and fill it out accordingly
Using the included makefile
make buildOtherwise
VERSION=0.1.0
BUILD=$(shell git rev-parse HEAD)
TARGET=main
LDFLAGS=-ldflags "-X main.Version=$(VERSION) -X main.Build=$(BUILD)"
go build $(LDFLAGS) -o $(TARGET) cmd/medb/main.go- Ensure the binary is executable:
chmod +x main- Run the binary!
./main