24 lines
590 B
Python
Executable File
24 lines
590 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
DVD/Blu-ray ripper using HandBrakeCLI with scene-style naming.
|
|
|
|
Scans a disc, selects the best audio & subtitle track per language
|
|
(passthrough), encodes with H.265/H.264/AV1 (auto-selecting HW
|
|
acceleration), and generates an NFO file via pymediainfo.
|
|
|
|
Usage:
|
|
python ripper.py --imdb tt6977338
|
|
python ripper.py --name 'Game Night' --year 2018
|
|
python ripper.py --codec av1 --quality 30
|
|
python ripper.py --scan-only
|
|
python ripper.py --list
|
|
"""
|
|
|
|
import sys
|
|
from ripper.cli import main
|
|
|
|
try:
|
|
main()
|
|
except KeyboardInterrupt:
|
|
sys.exit(130)
|