Mines nothing amazing, really, but i find it handy.
I 🏴☠️ movies. The downloads often come with excess files, images, text, sample videos, etc.
The only files I want beside the movie file are subtitle files if they came with the download. And the video files often have obnoxiously long file names with coding info in it, the uploader’s name, etc. And sometimes they get nested weirdly.
Most of the time, the file name and nesting is not really a big deal since I use plex and does good at ignoring nesting and it typically matches the title to imdb entries even if the file name is full of garbage. But sometimes it doesn’t match correctly and has to be manually fixed. And I just want my files to be clean, readable, and get rid of the bloat.
So I made a script that walks through my movie libraries, deletes all unneeded files, generates a directory structure dependent on whether or not there are subtitles, and renames the files (and directories) by removing all of the junk words and coding and leaving only the title and release year. Like I said, it’s nothing amazing, but it’s the only utility I ever wrote in it’s entirety for myself that I actually use on the regular.
Feels similar to something i made, although I made it for music where you could feed it spotify playlists and it will find all the music on places like soulseek and recreate the playlist on Plex (unrelated rant: why are all online playlist movers so bad, 20% of my music even if it exists fully labeled on Plex just fails to be detected :/ )
Mines nothing amazing, really, but i find it handy.
I 🏴☠️ movies. The downloads often come with excess files, images, text, sample videos, etc. The only files I want beside the movie file are subtitle files if they came with the download. And the video files often have obnoxiously long file names with coding info in it, the uploader’s name, etc. And sometimes they get nested weirdly.
Most of the time, the file name and nesting is not really a big deal since I use plex and does good at ignoring nesting and it typically matches the title to imdb entries even if the file name is full of garbage. But sometimes it doesn’t match correctly and has to be manually fixed. And I just want my files to be clean, readable, and get rid of the bloat.
So I made a script that walks through my movie libraries, deletes all unneeded files, generates a directory structure dependent on whether or not there are subtitles, and renames the files (and directories) by removing all of the junk words and coding and leaving only the title and release year. Like I said, it’s nothing amazing, but it’s the only utility I ever wrote in it’s entirety for myself that I actually use on the regular.
Feels similar to something i made, although I made it for music where you could feed it spotify playlists and it will find all the music on places like soulseek and recreate the playlist on Plex (unrelated rant: why are all online playlist movers so bad, 20% of my music even if it exists fully labeled on Plex just fails to be detected :/ )