How about a WARNING popping up if a file name LENGTH is going to violate the rules of the system Filebot is running on?
I ran into this problem and didn't even catch it (months ago) until today when I went to play a movie I know I had. Plex wasn't showing it yet I know it had been there before. Sure enough, it's in the folder for my movies. But nothing I did (plex dance, even delete and install NEW version of the movie) would make Plex see the movie. I was baffled. I know it had been there before on Plex. Then I got to thinking....
I am always tweaking my file name format in FileBot. And I ran ALL my movies through the new version a few months ago. FileBot was happy to rename it in my new format. However, I didn't realize that because of my format the actual name is too long. And, on top of Plex not seeing the file, when I tried to play it directly in the system, it said the file was corrupt. I couldn't even drag it out of the folder. I ended up deleting it and getting a new version (worked for me, went from 720 to 1080 so all good...) however, this new version also came up corrupt. However, it played fine BEFORE I ran it through FileBot. Now I am totally confused.. Ran several other files through FileBot and they showed up fine in Plex and played. I did a full drive scan (took a couple hours) thinking maybe there was a bad sector that the stupid movie kept trying to occupy. It came out fine. Now I am scratching my bald head (couldn't pull out my hair) and totally in the dark....
Then I was staring at the movie folder inside my Movies folder.. Seemed that the name of the folder was longer than any other folder in there. Since the file name is the same as the folder, now it would be 2 times that length PLUS all the other stuff I have added to the name. I renamed the FOLDER it was in, and then the movie played. BINGO!!!!!! Because I didn't want to ruin my FileBot movie format I simply hand renamed all the files in the series (3) to eliminate part of the name.
Here is my format:
Code: Select all
{vf == /2160p/ ? 'L:/Movies 4K' : vf =~ /1080p|720p/ ? 'M:/Movies HD' : 'M:/Movies'}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} ({y}) {fn.match(/3D/)}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} [{y}, {any{csv('M:/replacecert1.csv').get(certification)}{certification}{"NR"} }, {runtime} Min] {[actors.take(3).join(', ')]} {[genres.take(3).join(', ')]} [{fn.match(/3D/)+', '}{"$vf, $ac@$af"}]{subt}
Thus, my fix was to manually remove "The Chronicles Of Narnia - " from the file name itself. I simply did it for all 3 in the series simply for continuity sake as the other 2 movies play just fine.M:\Movies HD\The Chronicles Of Narnia - The Lion, The Witch And The Wardrobe (2005)/The Chronicles Of Narnia - The Lion, The Witch And The Wardrobe [2005, PG, 143 Min] [William Moseley, Anna Popplewell, Skandar Keynes] [Adventure, Family, Fantasy] [1080p, AAC@2ch].mp4
So, if FileBot would toss up a warning about a name being too long, that would be nice thing. Even better if it would then allow you to EDIT the name on the fly. In other words, in my case, show me the NEW file name as it does now, but offer to let me EDIT it. In my case, I would just remove "The Chronicles Of Narnia - " from that particular file (would be different in any case that it was an issue.)
Anyway, can't imagine I'm the first person to have this issue... but then again, who knows...I do some strange things....it's why I beta test many programs and games for companies....I have a way of wanting them to do what they were never meant to do....thus finding stupid issues that no one else should ever happen across...but MAY.

- Greg