TvShows: Renaming of sub/idx subtitles not working correctly when using rename/cleanup function
Hello,
really like using tmm, appreciate your work and efforts creating it. Great Job.
Happy to help with additional tests or data if needed.
Sincerely
wondermister
Versions
- TMM 3.0.4 / 2019-09-01 07:47
- Win 10 64bit
- java version "1.8.0_161" / Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Problem
During rename/cleanup process idx files are not renamed correctly.
An example to reproduce the problem
The folder of the TvShow contains the following files
- demo\one-twenty-s02e20-720p.idx
- demo\one-twenty-s02e20-720p.mkv
- demo\one-twenty-s02e20-720p.nfo
- demo\one-twenty-s02e20-720p.sub
- demo\one-twenty-s02e20-720p-eng.idx
- demo\one-twenty-s02e20-720p-eng.sub
- demo\one-twenty-s02e20-720p-forced.idx
- demo\one-twenty-s02e20-720p-forced.su
The show is named TestShow, S02E20 is named TestEpisode
Using the rename function (ctrl-shift-R) results in the following season02 folder
- Season02\TestShow_720p_S02E20_TestEpisode.mkv
- Season02\TestShow_720p_S02E20_TestEpisode.nfo
- Season02\TestShow_720p_S02E20_TestEpisode.deu.sub
- Season02\TestShow_720p_S02E20_TestEpisode.eng.sub
- Season02\TestShow_720p_S02E20_TestEpisode.forced.sub
- Season02\TestShow_720p_S02E20_TestEpisode-one-twenty- eng.idx
- Season02\TestShow_720p_S02E20_TestEpisode-one-twenty- forced.idx
- Season02\TestShow_720p_S02E20_TestEpisode-one-twenty- idx.idx
The idx files, still contain unwanted parts (one-twenty- ) of the original file name. Additional idx for untagged idx file (last line).
Reproducible: Yes, in various circumstances
Expected behavior: Renaming the idx files according to the sub files
Edited by Wonder Mister