Filebot 4.8.2
Installed from your website through the link that came in the email with my 1-year license.
Sysinfo =
Code: Select all
FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: 18.05
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-10-05 (r536)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 10.0.2
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 203 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
License: FileBot License T1077 (Valid-Until: 2019-10-31)
I think that is all the info that I need to give right?
So my problem is that I can't figure out how to get the if-else command to accept a filepath that has a space in it.
I have a folder where all my "currently complete, but not ready for Plex" media goes named "Media (Complete)"
what I'm currently using (which works):
Code: Select all
{file =~ /(Complete)/ ? {f[0..3]} : {folder}}/{series.name.colon(" - ").slash("-").replaceTrailingBrackets()} ({y})/{episode.special ? 'Specials/' : 'Season '+s.pad(2)}/{series.name.colon(" - ").slash("-").replaceTrailingBrackets()}.{y}.{order.airdate.s00e00}{file =~ /Anime/ ? '.#'+absolute.pad(4) : null}.{episode.title.colon(" - ").slash("-")}.[{airdate.format("MMM-dd-yyyy")}]
Code: Select all
{file =~ /Media/ ? {f[0..3]} : {folder}}/{series.name.colon(" - ").slash("-").replaceTrailingBrackets()} ({y})/{episode.special ? 'Specials/' : 'Season '+s.pad(2)}/{series.name.colon(" - ").slash("-").replaceTrailingBrackets()}.{y}.{order.airdate.s00e00}{file =~ /Anime/ ? '.#'+absolute.pad(4) : null}.{episode.title.colon(" - ").slash("-")}.[{airdate.format("MMM-dd-yyyy")}]
Code: Select all
{file =~ /Media (Complete)/ ? {f[0..3]} : {folder}}/{series.name.colon(" - ").slash("-").replaceTrailingBrackets()} ({y})/{episode.special ? 'Specials/' : 'Season '+s.pad(2)}/{series.name.colon(" - ").slash("-").replaceTrailingBrackets()}.{y}.{order.airdate.s00e00}{file =~ /Anime/ ? '.#'+absolute.pad(4) : null}.{episode.title.colon(" - ").slash("-")}.[{airdate.format("MMM-dd-yyyy")}]
P.S. I've included screenshots of a test folder I set up for this exact problem.
Screenshot 1 - Folder naming scheme:
https://snag.gy/pujTnR.jpg
Screenshot 2 - Code I Want, But Isn't Working:
https://snag.gy/y3A2lx.jpg