Page 1 of 1

Bug? Filebot creates folders without permissions / security

Posted: 25 May 2013, 21:46
by Savvy
Hi,

I've been using the same script to rename my movies for a while and all of a sudden filebot is creating the movie folder with the correct name but not moving the vid file into that folder.

But, when i try to access , edit or delete that folder i am unable to? I've checked security tab, but it states "the requested security information is either unavailable or can't be displayed" (screenshot below)

I have tried the following:

reinstalling filebot 3.6 (win7)
upgrading Java
rebooting the PC
running filebot as admin

but still no joy, any ideas?

here's the code:

Code: Select all

{n} ({y}) {'['+fn.replaceAll(/(?i)directors|theatrical/, '$0 Cut').matchAll(/UNRATED|REMASTERED|EXTENDED|UNCUT|DIRECTORS.CUT|THEATRICAL.CUT/).join('][').upperInitial().lowerTrail()+']'}\{n} ({y}) {'['+fn.replaceAll(/(?i)directors|theatrical/, '$0 Cut').matchAll(/UNRATED|REMASTERED|EXTENDED|UNCUT|DIRECTORS.CUT|THEATRICAL.CUT/).join('][').upperInitial().lowerTrail()+']'}

Re: Bug? Filebot creates folders without permissions / secu

Posted: 30 May 2013, 09:12
by Savvy
Hi, I've also tried using the Filebot (Platform) option and it throws an invalidpathexception error.

can anyone help?

Re: Bug? Filebot creates folders without permissions / secu

Posted: 30 May 2013, 20:09
by rednoah
Is there somehow a trailing space that isn't automatically trimmed away for some reason? You can fix those via the format.

Try something like

Code: Select all

replaceAll(/\s+$/)

Re: Bug? Filebot creates folders without permissions / secu

Posted: 30 May 2013, 20:48
by Savvy
Hi RN, well the code was working for a while without any issues, i can also remove the first portion (folder creation) and it renames the files just fine. It's specifically related to the folder.

So in the current code where would i place the 'replaceAll' line above?

Re: Bug? Filebot creates folders without permissions / secu

Posted: 31 May 2013, 05:12
by rednoah
Not sure. Check where that trailing space in the foldername is coming from and the fix the format so it doesn't allow that.