So you're talking about going forward, you want to no longer use a TV Shows directory as part of your Plex naming scheme. Duh, I should have realized that's what you wanted to do.
What current naming scheme are you using? Just {plex}
? Have you tried { plex.tail }
?
I'm far from a FB expert and haven't used it in a long time. I'm assuming you're using this as a reference (https://www.filebot.net/forums/viewtopic.php?t=4116).
Let me know if using { plex.tail }
fixes it.
Double-Click ➔ Edit Match
and then select all 3 episodes?
https://imgur.com/l6WyIiB
Please read Q: How do I fix misidentified files? for details and alternatives.
FileBot does not modify files (by default) so you won't be able to rewrite the mkv embedded metadata title field. You can use the filebot -exec
option in combination with mkvpropedit
tool though:
https://www.filebot.net/forums/viewtopic.php?t=11078
You'll want to use Plain File Mode
to rewrite the existing file path, preserve the bits and pieces you want to retain, and generate the missing pieces:
https://www.filebot.net/forums/viewtopic.php?t=2072
This post will help with the missing pieces: https://www.filebot.net/forums/viewtopic.php?p=35440#p35440
You can (and should) download and install FileBot before purchasing a license: https://www.filebot.net/download.html
Make sure to try everything that you might need before making a purchase decision: https://www.filebot.net/forums/viewtopic.php?t=11790
I'd recommend a 2-pass approach. Use strict mode
for the first pass (i.e. deal with all the easy matches in a non-interactive way) and then do a second pass with opportunistic mode
(i.e. the default, on whatever was left behind after first pass, now super fast since all online data is cached locally already).
Here's some docs on that one: https://www.filebot.net/forums/viewtopic.php?f=3&t=4695
Here's how FileBot works:
https://www.filebot.net/getting-started/
Pressing the Rename
button in the middle will rename files on the left to the suggested names on the right, however, actually renaming files (as opposed to matching and formatting and previewing the target file name) will require a license:
If it doesn't work, I'd start by checking if files have xattr metadata
in the first place:
https://www.filebot.net/forums/viewtopic.php?p=5394#p5394
If your T:
drive is a remote network drive, then there is a good chance that xattr
is not supported / enabled by your remote SMB server, and thus no xattr
were ever stored, and thus files don't have xattr
now.
Please read Optimizations for Remote File Systems
for good measure:
https://www.filebot.net/forums/viewtopic.php?t=12022
Can you highlight the lines in the log (i.e. line number) that demonstrate the problem?
If you're using the amc script
then forcing Movie Mode
is a good idea, assuming that you know in advance that you're only processing movie files:
https://www.filebot.net/amc.html
In general, FAQ #2
explains a few methods on dealing with tricky files where auto-detection does not work for one reason or another:
https://www.filebot.net/manual.html
The GUI does not have test mode. If you click Rename
, then the files will be renamed, or you will get an error message if files cannot be renamed.
Your custom format defines how files are organized (i.e. folder path and file name) so anything is possible: https://www.filebot.net/manual.html
The {plex}
format will indeed create Specials
folders for special episodes:
https://www.filebot.net/forums/viewtopic.php?t=4116
But if you're using a custom format, then your format decides how to encode special episodes.
FileBot Pricing Explained: https://www.filebot.net/forums/viewtopic.php?t=6265
The $6
option is likely going to be the best and cheapest offer for the foreseeable future. The $60
option is for fans, and has been permanently reduced to $48
, as a default discount for new fans that want to upgrade after their first yearly license has expired. As such, pricing is now stable, with different options for different users.
Not at all. If you have a valid reason to not pay for it, then there you go, and I might even give you a promo code if you really can't afford the asking price. I can't stop you anyway, and I couldn't care less about the loss of an individual sale.
But if you can pay for FileBot, and choose not to, then that's just not cool.
EDIT: Valid reasons include being stuck on Linux / FreeBSD / Solaris / Windows 7 / Windows Server / etc. Valid reasons DO NOT
include not liking Microsoft or the Microsoft Store.
You can probably save A LOT of characters by doing things more generally, instead of listing each specific case:
Upper-case anything that looks like Roman numeral:
'Vii'.replaceAll(/\b(?i:[IVX]+)\b/, {it.upper()})
Instead of lots of || contains you could put everything into a single regex:
'Unrated Movie' =~ /(?i:Unrated|Uncensored|etc)/ ? ' (Unrated)' : null
The {tags}
binding might be useful for capturing all these editions:
https://www.filebot.net/forums/viewtopic.php?t=1774&p=10456
(request for comment)
I will not even gonna try to understand that, but people seem to like the default formats from the amc script: https://www.filebot.net/forums/viewtopic.php?f=5&t=2
However, I bow to you Good Sir, for making things that not even the developer himself could have imagined! :D
Check your vpn (if you're running one). I'm running Private Internet Access and had the adblock/malware block turned on. My Filebot wasn't working, but the second I disabled that feature, it started working again.
That said, I would generally recommend using the GUI instead of the CLI for the occasional particularly ambiguous series.
FAQ #2: How do I fix misidentified files?
has some general advice for you there:
https://www.filebot.net/manual.html
You could use --filter
to select what series / episodes FileBot should include / exclude from consideration.
If you exclusively process recently aired episodes, then Advanced Fine-Tuning
has a copy & paste solution for you:
https://www.filebot.net/amc.html
If you manually match file items and episode items, then things will match up exactly 1:1 line by line, so you may need to do use Send to > Rename
twice if you have a 1x01
file twice. The Match
button can help you auto-align files and episode by number.
If you want want to use automatic matching, but force a specific series, then you can do CTRL+CLICK <datasource>
to force manual input and then enter the series id.
Please read FAQ #2
for details:
https://www.filebot.net/manual.html
I'd recommend using {plex.name}
or {kodi.name}
. It won't do exactly what you want, but it will take care of all of these things, including :
characters:
https://www.filebot.net/forums/viewtopic.php?t=4116
If you are keen on : ➔ ;
specifically, then { t.colon('; ') }
will do that.
> Still free if you download from SourceForge.
The 4.7.8 download from SourceForge prevents installation on Windows 10 machines now.
> The legacy installer for Windows 7 and 8 cannot be used on Windows 10 or higher.
https://sourceforge.net/projects/filebot/?source=typ_redirect
The {plex}
format is recommended for Plex file paths:
https://www.filebot.net/forums/viewtopic.php?t=4116
FileBot will add the .eng
part, and will auto-detect the language from the subtitle file path if possible (e.g. already named .en
or .eng
or something) or use statistical language detection based on the words in the subtitle file content. Depending on the current name and content, language auto-detection may yield the wrong language.
Notably, the .eng
part is unrelated to the database you have selected.
FileBot does not use log4j. Your checker does not check correctly.
The character sequence log4j
(as opposed to log4j
code) may appear in the in the commons-logging
and groovy
jar files:
https://www.filebot.net/forums/viewtopic.php?t=12950
As a last resort, you can always manually lookup and align the episode information. Please see Getting Started and FAQ #2 for details.
Does the exclude list already list the file(s) you want to process?
Use excludes: /volume2/Plex Libraries/.excludes (6)
The --def excludeList
option by design prevents you from processing the same file twice:
https://www.filebot.net/amc.html
The year
doesn't add any identifying information because Plex knows everything it needs to know based on {tmdb-12345}
alone.
That being said, {emby.id}
just so happens to generate the Name (Year)
with S01E01
numbering you want:
https://www.filebot.net/forums/viewtopic.php?t=4116
How do I evaluate FileBot?
thoroughly explains why you want to evaluate the FileBot Desktop application ahead of time. The file system operation (e.g. move
) itself is the responsibility of the operating system and file system and so that can be trusted to just work, otherwise your computer wouldn't work:
https://www.filebot.net/forums/viewtopic.php?t=11790
Just get rid of file bot cause it's a pile of shit. Replace with Rename My TV Series 2. I just tested the new beta for him and am extremely happy with it. Been using the official version for a couple of years now.
​
https://www.tweaking4all.com/home-theatre/rename-my-tv-series-v2/
Perfect, thank you! I also can't believe I looked right past that smh I must've looked over https://www.filebot.net/forums/viewtopic.php?t=4116 more than a dozen times. I looked right over the kodi and emby stuff because I so focused on Plex.
What's your custom format? Are you using something like X:/Media/{plex}
to instruct FileBot to organize files into a new folder structure? (see FAQ for details)
The custom episode order feature has been introduced on the website rather recently and so that information isn't accessible to 3rd party programs / API clients.
Notably, this applies to all 3rd party tools including Plex. So if you're using Plex (or any software that matches files to online episode information) then you will necessarily have to translate the episode numbers to the standard SxE order sooner or later.
FAQ #2: Manual Matching
can help with that:
https://www.filebot.net/manual.html
e.g. Perhaps something like this?
{ t.replaceTrailingBrackets().validateFileName() }
Alternatively, regex-match-remove works like this, and can be adjusted to match any kind of text pattern (e.g. [...]
) provided your familiar with regex:
{ t.removeAll(/[!?.]+$/) }
Pretty much what you see in the video tutorial, drop files in, change the format to organize files into a new folder structure with a custom format as desired, and done: https://www.filebot.net/getting-started/
If you want to organize files offline without matching, then that's possible but will require some custom code to capture and rewrite your existing folder layout: https://www.filebot.net/forums/viewtopic.php?t=2072
{n}
and {t}
in different languages?If you're already using custom code, then you can sanitize things as necessary there as well: https://www.filebot.net/forums/viewtopic.php?p=51752#p51752
What have you tried so far? https://www.filebot.net/forums/viewtopic.php?t=2072
AFAIK:
1. Drop in images.
2. Click Smart Mode: Attributes
.
3. Adjust format to how you want to name your files, perhaps {d}
will do.
Since your use case is rather intricate, I don't have a generic copy-and-paste solution for you. Other users may very well have come up with solutions for this already though, if only partially.
A format such as this will get you a long way, but the devil is in the details, and you will likely need to tinker for a good while until it works exactly the way you want in every single corner case.
{ny} - {s00e00} - {absolute.pad 3} - {t}
[{source}-{vf}]
[{bitdepth}bit]
[{vc}]
[{ac} {channels}]
[{audioLanguages.ISO2.join('+').upper()}]
-{crc32}
e.g.
Cowboy Bebop (1998) - S01E01 - 001 - Asteroid Blues [DVD-480p][8bit][x264][AC3 2.0][EN+JA]-E25802AC
Please see https://www.filebot.net/naming.html for details.
As far as filebot
is concerned, renaming files or moving files is the same underlying file system operation. If your format generates a file name then the file will be renamed. If your format generates a file path, then the file will be moved/renamed accordingly.
Your format is incorrect. It doesn't contain any variables and thus produces the same file path for each file.
You'll want to prototype your custom format in the GUI, and the copy & paste onto the command-line: https://www.filebot.net/naming.html
You can do this:
--file-filter "f.video || f.subtitle"
or this:
--file-filter "ext ==~ /mkv|srt/"
Notably, --file-filter
does not have built-in filters per se. It's free-form Groovy code that returns true
or false
, just like --filter
and --format
expressions.
f.video
works because f
is a built-in binding, and File.isVideo()
is an extension method.
This might help: https://www.filebot.net/forums/viewtopic.php?t=10824
plex.derive()
can be used to insert additional information after the file name but before the subtitle language suffix and file extension:
https://www.filebot.net/forums/viewtopic.php?t=4116
e.g.
{plex.derive{" [$vf]"}}
Put a . at the start of your preset template, instead of a folder location. Two .. will move it up to the parent folder, if you need that. Those will allow you to rename in place.
See this post.
You might be able to use Plain File Mode
for some use cases:
https://www.filebot.net/forums/viewtopic.php?t=2072
If you can extract metadata information from the EPUB
or MOBI
file content is a different question though:
https://www.filebot.net/forums/viewtopic.php?t=4285
Oh lol. You have a misconception about how the tool works. You're trying to automate your command line after downloads, that's it yeah?
It's all in there https://www.filebot.net/forums/viewtopic.php?t=215
The GUI is for manual formatting. The AMC can only be fired up with the command line, which can be automated with your torrent client as a post process. Or you can create a watched folder. All in the link.
Renaming a file does not change the file content. You can configure your player to display the filename instead of the embedded media title.
If you're using Plex, please read this: https://www.filebot.net/forums/viewtopic.php?t=11344
Did you allow full access to your file system
when installing filebot
via snap
?
https://www.filebot.net/linux/snap.html
Please read up on snap confinement
if you're new to using snap
packages:
https://snapcraft.io/docs/snap-confinement
Plain File Mode
does allow you to rename any kind of file:
https://www.filebot.net/forums/viewtopic.php?t=2072
You can use a custom format to generate any kind of destination file name you want. Some coding required.
As for watching files, filebot
does not do that, but depending on your OS there will be system tools that allow you to run things on in response to file system events.
If you want to manually match an entire season, then that'll be straight-forward assuming that natural order of episode aligns with natural order of files: https://youtu.be/btNSv7AnMMw
Please read FAQ #2: How do I fix misidentified files?
for details on fixing matches in general:
https://www.filebot.net/manual.html
Have you tried filebot -clear-prefs
yet? https://www.filebot.net/forums/viewtopic.php?f=10&t=11768#p51478
Note that the Microsoft Store version is unlikely to work either if the latest classic release already doesn't work.
Looking up subtitles by hash via OpenSubtitles No matching subtitles found
That means there's no subtitles available for this particular file, at least not perfectly matching ones. -non-strict
might give you more (but not necessarily good) options:
https://www.filebot.net/forums/viewtopic.php?t=2615
Kinda (see Write Embedded Tags) but if you're asking for Plex
, then you're asking the wrong question (see Write metadata to make Plex display nice titles).
FileBot does not modify files, but tools such as mkvpropedit
and mp4tags
might help you get the job done:
https://www.filebot.net/forums/viewtopic.php?p=44992#p44992
That being said, the FileBot project officially recommends against modifying files, especially if you don't have a backup. ;)
In general, this might help: https://www.filebot.net/forums/viewtopic.php?t=2769
If you need more specific advice, then we'll need more specific information: https://www.filebot.net/forums/viewtopic.php?t=1868
Again, all this boils down to your custom format.
e.g. organize into folders and keep the current file name:
X:/Media/TV Shows/{n}/ Season {s}/{fn}
{fn}
... current file name
e.g. organize as usual, with nice names, but add {source} at the end as well:
X:/Media/TV Shows/{n}/ Season {s}/{s} - {s00e00} - {t} [{source}]
{source}
... the source
Please refer to the manual for details: https://www.filebot.net/naming.html
Well, I'm fairly sure that mp3tag
and Picard
don't have metadata agents for audiobooks either. Where do they get your "audiobook directory" from?
Presumably, your "audiobook directory" is based on embedded ID3 tags, which you can include via your custom format: https://www.filebot.net/forums/viewtopic.php?t=4285
I was having the same issue. Fetching the URL that was "empty" in a browser or curl worked fine. I noticed it only happened on specific shows, which made me think there was something cached.
Clearing the cache (filebot -clear-cache
) seems to have fixed it for me.
There is a Windows Portable ZIP
package, which is portable. You just need to download and extract it and then double-click on the executable:
https://www.filebot.net/download.html
You can evaluate it without a license, but to actually rename files, you will need a valid license key: https://www.filebot.net/forums/viewtopic.php?t=11790
Uninstall MAS
edition. Uninstall PKG
edition. Uninstall APP
edition.
Then only install PKG
edition.
Then run filebot -script fn:sysinfo
to confirm it works. Use which filebot
to find the absolute path for the executable. That should match the one used in your workflow.
If it still doesn't work, include lots of screenshots so we can see what you can see: https://www.filebot.net/forums/viewtopic.php?t=1868
What does the log say?
In the general, the amc script
will ignore any kind of existing companion files, extras, artwork, nfo, featurettes, etc and so those files are typically untouched and left behind.
You could try the --apply import
option, but not sure if it'll work for your specific case:
https://www.filebot.net/forums/viewtopic.php?t=11079
--action move
will move a files, but it won't override unless you explicitly enable that via the --conflict
option. --conflict skip
is default:
https://www.filebot.net/cli.html
--action duplicate
will create a duplicate of some kind, perhaps a hardlink
, perhaps a CoW clone
, perhaps a physical copy, depending on the situation.
Yes, your custom format can create a folder structure. Please read FAQ #1
for details:
https://www.filebot.net/manual.html
{plex}
happens to yield a nice file and folder structure by default:
https://www.filebot.net/forums/viewtopic.php?t=4116
And, before I had a chance to check here, found that one out for myself thanks to google and this thread: https://www.filebot.net/forums/viewtopic.php?t=5458
Last question still stands -- what's the syntax for calling for -only- a library update?
Technically, {folder}/{plex.name}
would be more correct. {plex.tail}
only works if your current folder structure just so happens to already match {plex}
:
https://www.filebot.net/forums/viewtopic.php?t=4116
The suball
script does that by default:
https://www.filebot.net/forums/viewtopic.php?p=8871#p8871
If you're using the amc script
with --def subtitles
, disable that, and do suball
in a separate filebot
call before calling the amc script
.
/path/to/Plex
xattr metadata
./path/to/Plex/{plex}
and make sure to process files using Hardlink
(so you can have the same file in two location without using extra disk space)/path/to/Plex/{Movies, TV Shows}
folders as new libraries to Plex. Remove previously added libraries.You definitely won't have to rename
files manually. You may need to fix matches
manually though.
See Getting Started, Page 2
for details:
https://www.filebot.net/getting-started/
Q: How do I fix misidentified files?
might help too:
https://www.filebot.net/manual.html
1. Forums work fine as of now as far as I can tell.
2.
An educated guess as to why it's not working Z O M B I E S 2
(8 words) doesn't match Zombies 2
(2 words) well. TheMovieDB does list Zombies 2
as an alias, but that was probably added rather recently. Plus the movie is new / not yet popular.
3.
Please read How do I fix misidentified files?
for advice on dealing with tricky files via GUI or CLI:
https://www.filebot.net/manual.html
As a newbie, you don't want detail, because it's just too much and so it's not very useful if it doesn't fit your level of technical expertise. Best to get on with specific simple examples for specific simple use cases, and learn and extrapolate from there.
filebot
arguments works the same on Windows / Linux / Mac. The entry level docs for the filebot
command line tool are here:
https://www.filebot.net/cli.html
filebot
includes the Groovy runtime libraries out-of-the-box, otherwise formats and scripts wouldn't work in the first place. You don't need to install Groovy. If you're looking for detailed resources on the Groovy programming language, then this link will get you started:
https://www.filebot.net/forums/viewtopic.php?t=10824
Please copy & paste the filebot -script fn:sysinfo
output so we can have a look in detail:
https://www.filebot.net/forums/viewtopic.php?t=1868
Are we talking about armv7
arch? What OS are we using? What does uname -a
say?
What exactly are you doing? What format are you using? Please include screenshots so that we can see what you're doing, and where you're stuck: https://www.filebot.net/forums/viewtopic.php?t=1868
You may find FAQ #1 helpful: https://www.filebot.net/manual.html
You can ask for support at the FileBot Forums
:
https://www.filebot.net/support.html
You can also check your receipt. If it says $6
then it's a 1-year license:
https://www.filebot.net/forums/viewtopic.php?t=6265
If you're organizing files for Plex though, then you'll want to use the `{plex}` format which takes care of all the details:
https://www.filebot.net/forums/viewtopic.php?t=4116
Doesn't matter either way. FileBot remembers the original name, and uses it to find the best matching subtitles. Not something you need to worry about though, the amc script
takes care of everything.
--def seriesDB
is an option exclusive to the amc script, which presumably is what you're referring to: https://www.filebot.net/amc.html
--def seriesDB
was added rather recently, so you'll need the latest beta release: https://www.filebot.net/forums/viewtopic.php?f=7&t=1609
So I've had a look at this page https://www.filebot.net/forums/viewtopic.php?f=5&t=182 again and I think I was just being thick and didn't click how to use it. I've changed my command to this now
​
>filebot -rename "C:\Users\Michael\Videos\Unsorted TV" --db TheMovieDB::TV --format "{home}/Videos/TV/{csv('/filebot_mappings.csv').get(n) ?: n}/Season {s}/{csv('/filebot_mappings.csv').get(n) ?: n} {s00e00} - {t}" -non-strict --action test
​
but I get this as the output
​
>Auto-detected query: [The Flash]
>
>Fetching episode data for [The Flash]
>
>Fetching episode data for [The Flash]
>
>Fetching episode data for [The Flashing Blade]
>
>Fetching episode data for [The Flash: Chronicles of Cisco]
>
>[TEST] From [C:\Users\Michael\Videos\Unsorted TV\The Flash S06E06.mkv] to [C:\Users\Michael\Videos\TV\Season 6\S06E06 - License to Elongate.mkv]
>
>Processed 1 files
​
Its just ignoring {n} and putting the season info. I was assuming the stuff in the curly braces was to replace my current usage of {n}?
The JSON API
doesn't work for me at all right now, and just returns 404 Not Found
for all requests:
https://www.filebot.net/forums/viewtopic.php?f=8&t=11254
I'd just use TheMovieDB::TV
for the time being, and then you can check back in with TheTVDB
next week and see if things are running smooth again.
1. Why are you using FileBot in the first place? You must have spent great effort to make it not do anything.
You'll want to use plain file mode
if you don't actually want to match files against online database records:
https://www.filebot.net/forums/viewtopic.php?t=2072
--def ignore
ignore uses regex patterns and not glob patterns.
e.g. r[0-9]+' matches
r0to
r999` and up.
If you want FileBot to not auto-extract archives, then I recommend using the --def skipExtract=y
option.
Note that both --def ignore
and --def skipExtract
are specific to the <code>amc script</code>. Neither works for the <code>renall</code> script, but you probably don't want to use that one in the first place.
I see. You can't execute Windows Store apps like that. I'll break the application in strange unexpected ways because it'll be running as classic Win32 app instead of UWP app: https://www.filebot.net/forums/viewtopic.php?f=10&t=6130#p35380
1. You can only launch GUI apps via the Start Menu tile.
2.
You can only launch CLI apps via the executables in %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
. This folder is in the %PATH%
by default, and so you should be able to just call filebot
.
Which specific binding doesn't work as expected? Can you narrow it down to a simple expression?
​
Presumably, since you're accessing MediaInfo fields directly, a different version of MediaInfo may give you different fields and values:
https://www.filebot.net/forums/viewtopic.php?f=5&t=4285
Sorry, that particular use case is currently not supported out of the box. Modifying the script is of course possible, but generally not recommend unless you wanna maintain your fork with future updates.
Doing a second pass is my idea as well. Just let filebot process anime as usual, and then have an extra script that re-organizes files from the AniDB/Anime folder into a second TheTVDB/Anime folder.
This thread should get you started, and point out a few things that might be tricky:
https://www.filebot.net/forums/viewtopic.php?f=3&t=2769
Yes, the `{resolution}` works for photos as well, so a format such as `{fn} [{resolution}]` will add the image resolution to the current name:
AFAIK, jdownloader doesn't have out-of-the-box support for that, and that's why the FileBot / JDownloader integration examples use Event Scripter to hook into these events, and then call a *.sh
or *.cmd
script.
Just copy & paste the Event Scripter logic, and then modify the *.sh
or *.cmd
script to do your bidding.
I think you might want to *Edit Format* and then use the `{plex}` format:
​
I recommend using the Format Editor GUI so you can have a look at all the available bindings: https://www.filebot.net/forums/viewtopic.php?f=5&t=4285
e.g.
bitrate 3203552
kbps 3204 kbps
mbps 3.2 Mbps
You can install FileBot and play with custom formats before purchasing a license.
e.g. this format:
M:/Media/Movies [{certification}]/{plex.tail}
might yield this file path:
M:/Media/Movies [PG-13]/Avatar (2009)/Avatar (2009).mkv
1. Hit me up for a complimentary license so you can ditch the Windows Store for now: https://www.filebot.net/forums/viewtopic.php?f=8&t=9517
2. A Factory Reset will usually do the trick, if you really want to fix the Windows Store.
If you want to process files differently, then you can do something like this in your format:
{video.format =~ /HEVC/ ? 'TV HEVC' : 'TV'
If you want to somehow only select HEVC files for processing, then you can use Presets
with this Includes
filter:
video.format =~ /HEVC/
➔ https://www.filebot.net/forums/viewtopic.php?f=3&t=3228
You could configure FileBot to use the 7z
command-line tool for extraction instead of the built-in default:
https://www.filebot.net/forums/viewtopic.php?f=3&t=6311
e.g.
setx FILEBOT_OPTS "-Dnet.filebot.Archive.extractor=ApacheVFS"
I'm not sure about behaviour of self
in older builds, as it's a fairly new addition.
Using any{}{}
will give you the most concise code and should work with FileBot 4.7.9
:
{'SOURCE IS ' + any{source}{'NONE'}}
So despite this being the last "official" version for Windows 7, I can confirm this is apparently a bug. Since the author has not replied I have no idea if it was already known or not but I can confirm in the latest unreleased "beta" 4.82 conveniently now requiring payment - that this behaves correctly
The almost non-existent documentation to address this "unwind-on-undefined behavior" at this link https://www.filebot.net/forums/viewtopic.php?f=5&t=1895
clearly stated "Alternatively, if you access properties via the {self} binding you will not get this unwind-on-undefined behavior" which is precisely why I used it.
Further proven in 4.79 when I change the statement to:
{
"SOURCE IS ${self.source}" + {if(self.source == null) Source = 'NONE' else if(self.source == '') Source = 'NONE' else Source = self.source;} + 'EOL'
}
I then receive the very exception that the above linked documentation page states is avoided in the unwind-on-undefined when self directive is used:
[Expression yields empty value: Binding 'source'....blah blah
Yet leave the statement the same and run it in 4.8.2, and finally do receive the proper:
SOURCE IS NONE EOL
Perhaps the doc page needs to be updated since 4.8.2 hasn't even been released yet. This cost me a ton of time.
You'll need to correctly quote / escape the command-line arguments, e.g. --format "{plex.path.lower()}"
.
You will find this thread extremely helpful for getting started with the basics: https://www.filebot.net/forums/viewtopic.php?f=4&t=1899
Make sure you are running qbt 4.1. Setup python script https://www.filebot.net/forums/viewtopic.php?f=4&t=5157
Change location of log to a specific directory like C:\Movies
This is how I do it.
The Windows Server version comes at a different price point: https://www.filebot.net/forums/viewtopic.php?f=10&t=5729
You may want to wait for Windows Server 2019 which presumably will have support for Windows Store, so you'll probably be able to use your Windows Store purchase on Windows Server sometime next year.
The first step would be to make sure that your script is actually called, after uT says that it was called. Once you know your script is called, you just need to redirect output so you can see what's going on.
There's just one filebot
command now. Using the GUI executable for the CLI was a bit of a hack, because Windows doesn't really do command-line tools well.
Here's a tutorial on how to use the normal filebot
executable and suppress CMD when calling it:
https://www.filebot.net/forums/viewtopic.php?f=4&t=5157
PS: This will work for any command, not just filebot
. ;)
The default format:
--def movieFormat="{plex}"
The default format with some custom replacements:
--def movieFormat="{plex.path.replace('.nld', '.nl').replace('.eng', '.en')}"
You can read Change how files will be organized and renamed for details:
Looks like a background update has broken scripts in older versions. Upgrading to 4.7.8 will resolve the issue.
> Scripts are downloaded and updated online as necessary, so I guess something changed and now scripting for 4.7.2 is broken. https://www.filebot.net/forums/viewtopic.php?p=27178#p27178
I see. You can easily do this with GUI or CLI. I'd start by familiarizing myself with how format expressions work:
{fn =~ /qatar/ ? today.year : '0000'}/{fn}
See https://www.filebot.net/forums/viewtopic.php?f=3&t=2072
Here's why:
I'm thinking it's worth it. If you disagree, then you're welcome to compare FileBot with free/cheap alternatives and see which one gets the job done best.
For the life of me I can't figure it out.
https://www.7-zip.org/download.html
I have the full 7z version (64-bit x6- 7-Zip for 64-bit Windows x64 (Intel 64 or AMD64)), that doesn't include the 7z command line? I see there is a 7z command line download but it is only for 32-bit, when I download that and try to run it, cmd window pops up for a second and then disappears.