r/Python • u/gabriel_GAGRA • Aug 17 '26
Discussion What are some Python automations you built for your life?
What Python scripts/projects did you built to use on a day to day basis? Or maybe someone else built it, but it’s useful for your personal life in some way
I think the “projects ideas” thread is really missing those useful opportunities
I myself thought about automating tax calculations, but still didn’t take the time to do it hah
323
Upvotes
View all comments
3
u/Novero95 Aug 17 '26
For media collections it's a good practice to not have the media library in the same directory as the downloads and use hardlinks to make files appear both in the library and download directories. For a single file it's easy to hardlinks it, just `ln /path/to/source_file /path/to/target_file' but for series with more than 19 episodes it quickly becomes tedious so I made a script that not only hardlinks the contents of a directory into a different one, it also checks names and rename them if needed for better compatibility with the Plex agent.
I know radarr/sonarr exist, have used them, but sonarr doesn't care that much about subtitles and the main thing I consume is anime so subtitles are a must for me. I ended up tired of sonarr deleting episodes I was happy with (that include proper subtitles) because a "better" version of the same episode had appeared, which usually didn't include subtitles in my language. It rarely takes me more than a few minutes to find whatever I want and I was handpicking episodes from the Sonarr GUI anyway so I don't feel like I need it now that my script handles hardlinking.