r/learnpython • u/iotabadger • Dec 02 '20
What do you automate with python at home?
I'm learning python but I enjoy knowing I will be able to build a project of interest instead of following continuous tutorials which have no relevance to anything I do in life.
My job unfortunately has no benefit in using python so keen to understand of potential ideas for projects that help around home.
713
Upvotes
26
u/zanfar Dec 03 '20
Lots of media stuff:
Find new video files on my seedbox, download the largest with English subs. If no subs are present, query several subtitle sites.
Given a list of media files, allow the selection of which audio, video, and subtitle streams to use, get metadata, and merge everything into a new, single file with everything correct.
Take a set of episode files and subtitle files, merge and rename them all according to TVDB data and my naming scheme
Before Sonarr and Radarr were a thing, I essentially wrote my own version of each
Grab an eBook off my device, rip the DRM, standardize the HTML/ToC/format, package back into epub, email back to my Kindle
Scan my media library and analyze the quality of each file, generate a report of things to fix (non-English audio with no subtitles, bitmapped subs, stereo audio, interlaced video, etc.
Replicate the now-defunct Google Drive/Photos integration
My favorite:
Generate a new guest WiFi password every morning, update my Unifi system with the new PW, generate a QR code, and push it to my Home Assistant dashboard so guests can scan to login.
Yes, I know everyone wants that last script. No, I'm not releasing it. It's fragile as hell and not fit for public consumption.