| Issue 77: | Wrong renamed file | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Wrong renamed file inside a directory: Renaming Twilight.2008.iTALiAN.DVDRip.XviD-Republic.CD1.avi to Twilight 2008 Republic Cd1.avi It should be Twilight 2008 Cd1.avi
Dec 23, 2012
Project Member
#1
addicted...@gmail.com
Dec 23, 2012
Thanks, but the files were renamed! I'm confused... The directory was Twilight.2008.iTALiAN.DVDRip.XviD-Republic
Dec 23, 2012
I'll need more info on this Original name of the directory Were these rar archives ? If so, what is the name of the files in the archive ? If the files were not in an archive, what were the files names ? The expected result is : - Single file : file is renamed - Multiple files : directory is renamed (created if necessary), files are untouched - One movie file and a sample : sample is removed and movie is renamed - TV series : always renamed, even in directory
Dec 23, 2012
Twilight.2008.iTALiAN.DVDRip.XviD-Republic/
Subs/Twilight.2008.iTALiAN.DVDRip.XviD-Republic.CD1.idx
Subs/Twilight.2008.iTALiAN.DVDRip.XviD-Republic.CD1.sub
Subs/rpb-twlghtb.idx
Subs/rpb-twlghtb.sub
Twilight.2008.iTALiAN.DVDRip.XviD-Republic.CD1.avi
Twilight.2008.iTALiAN.DVDRip.XviD-Republic.CD2.avi
Dec 23, 2012
This is original directory structure, there are not any archives
Dec 23, 2012
You're right, I forgot about something :
The expected result is :
- Single file : file is renamed
-> quality/scene tag will be removed, all other info after these tags will be removed
- Multiple files : directory is renamed like a single file (created if necessary), files are renamed partially :
-> quality/scene tag will be removed, all other info after these tags will be kept
- One movie file and a sample : sample is removed and movie is renamed :
-> quality/scene tag will be removed, all other info after these tags will be removed
- TV series : always renamed, even in directory
-> Series SxxExx
That way I could cleanup filenames without removing disc number.
I added republic to the list of scene patterns ; It will be available on my next commit.
By the way, you can add whatever pattern you like to your torrentexpander_settings.ini by editing user_defined_scene_patterns key.
|