Bug? Filebot creates folders without permissions / security

All your suggestions, requests and ideas for future development
Post Reply
Savvy
Posts: 16
Joined: 07 May 2012, 07:42

Bug? Filebot creates folders without permissions / security

Post 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()+']'}
Savvy
Posts: 16
Joined: 07 May 2012, 07:42

Re: Bug? Filebot creates folders without permissions / secu

Post by Savvy »

Hi, I've also tried using the Filebot (Platform) option and it throws an invalidpathexception error.

can anyone help?
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Bug? Filebot creates folders without permissions / secu

Post 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+$/)
:idea: Please read the FAQ and How to Request Help.
Savvy
Posts: 16
Joined: 07 May 2012, 07:42

Re: Bug? Filebot creates folders without permissions / secu

Post 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?
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Bug? Filebot creates folders without permissions / secu

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply