(2021-01-27, 14:25)tars Wrote: The code is already checking whether the path contains remux or not, if you, as I said, use "path" in place of "mediaSource".
If somebody else had told me something like this, I would have already tried several times with some test files to see if that works.
But you never try it (testing only requires previewing in tmm's renamer settings dialog) and just keep asking. So I wasn't sure you really need any help and I was wasting your time.
Of course I tried your code, and it always write "no remux.mkv", no matters it has Remux on the path or not.
This is the code I tried, just to test:
${if movie.path = movie.path;replace(remux.csv)}no remux${else}remux${end}
And it always rename the same --> no remux.mkv
This is the file, same in two different directories: 007 - Al servicio secreto de su Majestad (1969) [1080p Remux x264 DTS] [ID 668]
When applying that code, I receive this result in "testing" mode, as you said. I already did that with no success.
V:\SDD - PELICULAS\SDD - PELICULAS\01 - Best of hasta 1080p\1960 - 1969\no remux.mkv
V:\SDD - PELICULAS\SDD - PELICULAS\03 - 1080p Remux\1900 - 1979\no remux.mvk
And to be honest, I would know how to change your code, since to me it doesn't make any sense.
I also tried this:
${if movie.path = remux}no remux${else}remux${end}
${if movie.path = remux.csv}no remux${else}remux${end}
And then, it always result in "remux.mkv".
I am sorry, and I know you are pissed of, but I don't know how to code and I haven't figure out by myself how to change your line so it can work.
Thanks a lot.