imdb-rename
imdb-rename copied to clipboard
Unable to specify an exact title ID
Sometimes searching just doesn't get you what you want -- an example I've encountered is trying to rename the 3 episodes of https://www.imdb.com/title/tt1655078/ within a directory. The directory itself renames just fine, but I've not been able to get renames of the files themselves to work, and the title names are so short I've not been able to find an actual search that matches.
To work around this, I had the idea of just finding the titles online and renaming the individual files with the title IDs. But there's currently no way to actually get imdb-rename to use the search string as a title ID. My suggestion is to either use a special argument for it, or to make query smart enough that a lone string in the tt<NUM> format matches the title and applies the rename using it.
I'm not sure how this would work for multiple titles; I'd be willing to contribute a patch but would like some guidance on how to implement the feature.
This works for me in a directory containing S01E01.mkv
, S01E02.mkv
and S01E03.mkv
:
imdb-rename -q 'into the universe with stephen hawking' S01E0*.mkv
Maybe I'm just misunderstanding your use case. Unfortunately, I don't really have time to do much else. If there's a small patch you can come up with, then I might be able to merge that. Otherwise, I can't promise anything any time soon.