I'm looking to rename my current library to include more info about the files in the filename. I'm using the following format:
Format: Select all
{ plex.id % { none{ edition.match(/Theatrical|Remastered/) } ? " {edition-$edition}" : null } % {allOf{vf}{vs}{hdr}{ original.matchAll(/PROPER|REMUX|REPACK/) }{group}.joining(' ', ' [', ']')} }NAS:
Code: Select all
American Pie (1999) {edition-Unrated} [2160p BluRay HDR10 REMUX FraMeSToR].mkvCode: Select all
American Pie (1999) {edition-Unrated} [2160p DV+HDR10].mkvHere is the output of the same command from the NAS and Desktop, plus the output of sysinfo
Desktop:
Console Output: Select all
flammabled@pop-os:~$ filebot -script 'fn:amc' Videos/ --output . --action TEST -non-strict --order Airdate --conflict replace --lang en --def 'deleteAfterExtract=y' 'ignore=/(Behind The Scenes|Deleted Scenes|Featurettes|Interviews|Scenes|Shorts|Trailers|Other)' 'minLengthMS=0' 'minFileSize=0' 'seriesFormat={plex}' 'movieFormat={ plex.id % { none{ edition.match(/Theatrical|Remastered/) } ? " {edition-$edition}" : null } % {allOf{vf}{vs}{hdr}{ original.matchAll(/PROPER|REMUX|REPACK/) }{group}.joining('\'' '\'', '\'' ['\'', '\'']'\'')} }' --apply metadata refresh -no-index --log all
Run script [fn:amc] at [Sun Oct 12 22:51:33 BST 2025]
Parameter: deleteAfterExtract = y
Parameter: ignore = /(Behind The Scenes|Deleted Scenes|Featurettes|Interviews|Scenes|Shorts|Trailers|Other)
Parameter: minLengthMS = 0
Parameter: minFileSize = 0
Parameter: seriesFormat = {plex}
Parameter: movieFormat = { plex.id % { none{ edition.match(/Theatrical|Remastered/) } ? " {edition-$edition}" : null } % {allOf{vf}{vs}{hdr}{ original.matchAll(/PROPER|REMUX|REPACK/) }{group}.joining(' ', ' [', ']')} }
Argument[0]: /home/flammabled/Videos
Input: /home/flammabled/Videos/American Pie (1999).mkv
Group files by movie or series
Failed to write xattr key: net.filebot.mediainfo: Error writing extended attribute 'net.filebot.mediainfo': No space left on device: American Pie (1999).mkv
Group: {Movie=American Pie (1999)} => [American Pie (1999).mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context [/home/flammabled/Videos/American Pie (1999).mkv]
[TEST] from [/home/flammabled/Videos/American Pie (1999).mkv] to [/home/flammabled/Movies/American Pie (1999) {tmdb-2105}/American Pie (1999) {edition-Unrated} [2160p DV+HDR10].mkv]
Processed 1 file
Finished without processing any files
Done ¯\_(ツ)_/¯
flammabled@pop-os:~$ filebot -script 'fn:sysinfo'
FileBot 5.2.0 (r10714)
JNA Native: 6.1.1
MediaInfo: 21.09
Tools: fpcalc/1.5.1 7z/16.02 unrar/6.11 mkvpropedit/65.0.0
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2025-09-04 (r1016)
Groovy: 4.0.28
JRE: OpenJDK Runtime Environment 17.0.11
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 7 GB Max Memory / 56 MB Used Memory
OS: Linux (amd64)
HW: Linux pop-os 6.16.3-76061603-generic #202508231538~1757385336~22.04~8f363f2 SMP PREEMPT_DYNAMIC Tue S x86_64 x86_64 x86_64 GNU/Linux
CPU/MEM: : AMD Ryzen 5 3400G with Radeon Vega Graphics / MemTotal: 31 GB / MemFree: 2.7 GB / MemAvailable: 17 GB / SwapCached: 2.1 MB / SwapTotal: 21 GB / SwapFree: 19 GB
STORAGE: ext4 [/] @ 254 GB | vfat [/recovery] @ 1.1 GB | ext4 [/media/flammabled/94a3a655-a4ff-4f65-aa50-253100357715] @ 572 GB | fuseblk [/media/flammabled/1A44C92778DCF175] @ 241 GB
UID/GID: uid=1000(flammabled) gid=1000(flammabled) groups=1000(flammabled),27(sudo),998(docker)
DATA: /home/flammabled/.filebot
Package: DEB
License: FileBot License P30064131 has EXPIRED on 2022-11-04
Done ヾ(@⌒ー⌒@)ノ
Console Output: Select all
filebot -script 'fn:amc' '/volume1/plexvolume/Movies/American Pie (1999)' --output /volume1/plexvolume --action TEST -non-strict --order Airdate --conflict replace --lang en --def 'deleteAfterExtract=y' 'ignore=/(Behind The Scenes|Deleted Scenes|Featurettes|Interviews|Scenes|Shorts|Trailers|Other)' 'minLengthMS=0' 'minFileSize=0' 'seriesFormat={plex}' 'movieFormat={ plex.id % { none{ edition.match(/Theatrical|Remastered/) } ? " {edition-$edition}" : null } % {allOf{vf}{vs}{hdr}{ original.matchAll(/PROPER|REMUX|REPACK/) }{group}.joining('\'' '\'', '\'' ['\'', '\'']'\'')} }' --apply metadata refresh -no-index --log all --log-file '/var/packages/filebot-node/var/filebot.log'
------------------------------------------
Run script [fn:amc] at [Sun Oct 12 22:48:47 IST 2025]
Parameter: deleteAfterExtract = y
Parameter: ignore = /(Behind The Scenes|Deleted Scenes|Featurettes|Interviews|Scenes|Shorts|Trailers|Other)
Parameter: minLengthMS = 0
Parameter: minFileSize = 0
Parameter: plex = *****
Parameter: seriesFormat = {plex}
Parameter: movieFormat = { plex.id % { none{ edition.match(/Theatrical|Remastered/) } ? " {edition-$edition}" : null } % {allOf{vf}{vs}{hdr}{ original.matchAll(/PROPER|REMUX|REPACK/) }{group}.joining(' ', ' [', ']')} }
Argument[0]: /volume1/plexvolume/Movies/American Pie (1999)
Ignore extra: /volume1/plexvolume/Movies/American Pie (1999)/Featurettes
Ignore pattern: /volume1/plexvolume/Movies/American Pie (1999)/Trailers
Ignore extra: /volume1/plexvolume/Movies/American Pie (1999)/Deleted Scenes
Ignore extra: /volume1/plexvolume/Movies/American Pie (1999)/Behind The Scenes
Input: /volume1/plexvolume/Movies/American Pie (1999)/American Pie (1999).mkv
└─ xattr metadata: American Pie (1999)
Group files by movie or series
Group: {Movie=American Pie (1999)} => [American Pie (1999).mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context [/volume1/plexvolume/Movies/American Pie (1999)/American Pie (1999).mkv]
[XATTR] American Pie (1999) (/volume1/plexvolume/Movies/American Pie (1999)/American Pie (1999).mkv)
[TEST] from [/volume1/plexvolume/Movies/American Pie (1999)/American Pie (1999).mkv] to [/volume1/plexvolume/Movies/American Pie (1999) {tmdb-2105}/American Pie (1999) {edition-Unrated} [2160p BluRay HDR10 REMUX FraMeSToR].mkv]
Processed 1 file
Finished without processing any files
Done ¯\_(ツ)_/¯
------------------------------------------
[Process completed]
filebot -script 'fn:sysinfo' --log-file '/var/packages/filebot-node/var/filebot.log'
------------------------------------------
FileBot 5.2.0 (r10714)
JNA Native: 7.0.0
MediaInfo: 21.09
Tools: 7z/16.02 unrar/5.70
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2025-09-04 (r1016)
Groovy: 4.0.28
JRE: OpenJDK Runtime Environment 21.0.4
JVM: OpenJDK 64-Bit Server VM
JAVA_OPTS: -Xmx790m
FILEBOT_OPTS: -DuseExtendedFileAttributes=false
CPU/MEM: 8 Core / 828 MB Max Memory / 41 MB Used Memory
OS: Linux (amd64)
HW: Linux nas 4.4.302+ #72806 SMP Mon Jul 21 23:14:25 CST 2025 x86_64 GNU/Linux synology_v1000_1821+
CPU/MEM: : AMD Ryzen Embedded V1500B / MemTotal: 4.1 GB / MemFree: 646 MB / MemAvailable: 2.7 GB / SwapCached: 434 KB / SwapTotal: 4.6 GB / SwapFree: 4.6 GB
STORAGE: ext4 [/] @ 834 MB | ext4 [/volume1] @ 756 GB
UID/GID: uid=106247(FileBot) gid=106247(FileBot) groups=106247(FileBot),999(synopkgs)
DATA: /var/packages/filebot/var/data/106247
Package: SPK
License: FileBot License PX67477369 (Valid-Until: 2074-12-04)
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------
[Process completed]