Losing Info After Rename

Any questions? Need some help?
Post Reply
Jifster
Posts: 1
Joined: 16 May 2014, 19:07

Losing Info After Rename

Post by Jifster »

Hi, new here! Hope you can help with an issue I'm experiencing.

Synopsis: After a rename and move of a movie, if I try to rename the movie again with a different format string I seem to be missing some info - i.e. source, vc, ac (possibly others) - and the movie doesn't rename correctly.

Scenario:

* Select movie folder I wish to rename
* Rename and move the movie using the following format string:

Code: Select all

M:/VIDEO/MOVIES/{n.replaceAll(/[.]/).replaceAll(/:/," -")} ({y}) {[vc, ac]}/{n.replaceAll(/[.]/).replaceAll(/:/," -")} ({y}){" - CD$pi"}
The above works perfectly. Then I decide I wish to change the rename format. So I then try to rename the file again using the following format string:

Code: Select all

M:/VIDEO/MOVIES/{n.replaceAll(/[.]/).replaceAll(/:/," -")} ({y}) {[source, vc, ac]}/{n.replaceAll(/[.]/).replaceAll(/:/," -")} ({y}){" - CD$pi"}
This fails as the source, vc and ac are missing and a space in in place instead. FileBot prompts me to vaildate removal of invalid space.

Strangely if I move the renamed movie files back to their original folder and try to do the rename again it works perfectly.

I've tried this with both v3.80 and v4.0 of FileBot and the issue is the same. I'm using Windows 8.1 x64 and the filesystem is FAT32. It also occurs on Apple Mac.

Hope someone can help me with this as I don't want to rename the files I have only to be unable to rename the files again.

Many thanks
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Losing Info After Rename

Post by rednoah »

Code: Select all

If source fails, and source will fail if the information is not in the path, the whole expression fails:

Code: Select all

{[source, vc, ac]}
Have you looked at ANY of the examples? You'll figure it out. ;)
http://www.filebot.net/forums/viewtopic ... 5&t=2#p783
:idea: Please read the FAQ and How to Request Help.
Post Reply