85a770ac7b35b48d61deef5527d91864153d985b
godverdomme gezeik elke keer omdat een impliciete conversie ergens niet helemaal goed is verdomme ik snap toch ook wel dat een functie die een str accepteert ook gewoon een int kan accepteren omdat python dan gewoon een impliciete conversie naar str doet wat is dat nou weer voor mierenneukerij houd eens effe op met me
Processing Scripts
A collection of personal command-line utilities. Mostly for processing, organizing, and managing (media) files. While created for my own use, they are shared here in case others find them useful.
Scripts
- av1: (DEPRECATED - use vcmp instead) Recursively compresses video files to AV1/MP4 format with reduced quality/size
- indeel: File organization tool that watches a directory and sorts incoming files based on content hashes
- mover: Monitors a source directory and moves files with specified extensions to a destination directory
- pushover: Sends push notifications via Pushover API
- stats: HTTP server that provides system statistics (CPU, memory, disk usage, etc.) in JSON format
- vc: Video converter using ffmpeg and youtube-dl for local files or YouTube URLs
- vcmp: Advanced video compression utility with progress tracking and logging
Installation
- Configure environment variables:
cp example.env .env
- Add the scripts to your PATH and load environment variables by adding this line to your shell's RC file (~/.bashrc, ~/.zshrc, etc.):
source /path/to/repo/scripts/install.sh
Requirements
- ffmpeg
- imagemagick
- youtube-dl
- pushover API tokens
- Whatever the relevant script errors about
Usage
Each script includes help documentation accessible via -h or --help flag. See individual script headers for detailed usage instructions.
Description
Languages
Python
87.4%
Shell
12.6%