2025-08-28, 08:56 PM
(2025-08-13, 06:14 PM)DigitalShane Wrote: Hey Folks! I wanted to share my personal tool for renaming acquired files for media server use. With it you can rename any number of tv shows, movies, seasons, or episodes with a single command. An interactive preview is shown before any changes are made. Intelligent parsing of file names and directory context allows this tool to handle any naming convention found on the web. If you find media names that can't be parsed automatically by Title Tidy, feel free to open and issue and I'll get it fixed!
Four command are included:
Shows - Rename show directories, seasons, and episode and subtitles all in one command.
Movies - Renames movies. Is also capable of creating directories to hold the movie (For downloads that are standalone files).
Seasons - Rename a season folder and its containing episode and subtitle files. Perfect for when you've acquired a new season.
Episodes - Rename standalone episode movie and subtitle files.
For those processing media in a pipeline, Title Tidy includes a --instant(-i) flag to skip the interactive UI.
Check out these demos!
Renaming several shows with multiple seasons and episodes:
Renaming several movies and subs (and creating directories to hold them):
All demos are in the readme
This looks great in theory, but I've got some kind of issue in getting this to run. I believe that it is due more to this being my first stab with GO than anything else. Mind giving a bit of help?
Just for clarification, my situation is as follows: On Win11 technically but I'm using Ubuntu through Terminal as admin. I've got Go 1.25.0 installed and was able to execute 'go install ....' just fine. It went through the download of title-tidy.1.6.0 just fine, created the 1.6.0 dir and all associated files. I can get the help info splash to show up by going into that directory and giving a 'go run main.go' command and I can access the config by 'go run main.go config' so that's working. I checked both my user and system $PATH's and all of the Go directories are included as are both bin. I added the title-tidy dir to the path just for giggles and grins and made sure to do the export and source trick to ensure Ubu is running with the updated path information. I guess my question is what am I not doing to where I'd be able to just use 'title-tidy [command] from the bash prompt directly? I'm assuming that doing so should call the Go module (that is what title-tidy would be considered right?) without having to invoke it directly through use of the 'go run ...' first, shouldn't it? Again, I'm quite sure that the issue lies in my unfamiliarity with Go itself and not a problem with your code but I couldn't find any tutorial that made sense. Thanks in advance.