Search found 20178 matches

by rednoah
14 minutes ago
Forum: Scripting and Automation
Topic: [AMC] Custom File Struture for Audio files
Replies: 8
Views: 2395

Re: [AMC] Custom File Struture for Audio files

Are the files in the input folder you have specified?

Code: Select all

Argument[0]: /volume1/Media/FileBotIn/Erins-imac.local/Users/estrench/Desktop/Audiobooks
Are the files not on the exclude list you have specified?

Code: Select all

Use excludes: /volume1/Media/.excludes (2)
by rednoah
24 Oct 2021, 01:59
Forum: Episode / Movie Naming Scheme
Topic: Plex tv series naming and {} braces -- how do I do it?
Replies: 8
Views: 7382

Re: Plex tv series naming and {} braces -- how do I do it?

(requires FileBot 4.9.4 ​or higher) The {plex} format now has built-in support for {id-123} tags:

Code: Select all

{ plex.id }
by rednoah
23 Oct 2021, 16:04
Forum: Help and Support
Topic: IllegalArgumentException: --action COPY not in [MOVE, COPY, ...]
Replies: 13
Views: 3722

Re: IllegalArgumentException: --action COPY not in [MOVE, COPY, ...]

That console output doesn't make sense. You're most likely not using the latest image. You'll want to delete all cached images to force docker to download the latest one. :idea: If you were using the latest image, then $HOME folder would be /data/filebot (as per $PUSER ) but according to your log it...
by rednoah
23 Oct 2021, 15:13
Forum: Help and Support
Topic: IllegalArgumentException: --action COPY not in [MOVE, COPY, ...]
Replies: 13
Views: 3722

Re: IllegalArgumentException: --action COPY not in [MOVE, COPY, ...]

1. The link above is the docker-compose documentation for the command element. It might be useful if you are wondering what kind of values the command element will accept. 2. Running filebot and having it call the id command shows that the container is running as the given user inside the container:...
by rednoah
23 Oct 2021, 12:50
Forum: Help and Support
Topic: IllegalArgumentException: --action COPY not in [MOVE, COPY, ...]
Replies: 13
Views: 3722

Re: IllegalArgumentException: --action COPY not in [MOVE, COPY, ...]

1. I'd use list syntax to write the list of argument values, more verbose but less error prone: https://docs.docker.com/compose/compose-file/compose-file-v3/#command command: ["bundle", "exec", "thin", "-p", "3000"] 2. environment: - PUID=1000 - PGID=100 Doesn't do the job :?: How did you test and c...
by rednoah
22 Oct 2021, 12:03
Forum: Scripting and Automation
Topic: regenerate excludeList (after accidental removal)
Replies: 1
Views: 609

Re: regenerate excludeList (after accidental removal)

Pretty much. It's just a list of file paths. Even just find /volume1/video/ > .excludes should do.


:idea: Here's how filebot itself can do the job:

Code: Select all

filebot -find /volume1/video/ --file-filter "f.video || f.subtitles" > excludes.txt
by rednoah
22 Oct 2021, 05:21
Forum: Windows 10
Topic: Clearing Search Results?
Replies: 6
Views: 1265

Re: Clearing Search Results?

I see. The new CTRL+W shortcut is probably nice to have then, but that seems the be the least of your worries. :lol: Here's some extra advice: * Read [Anime] Convert Absolute to SxE numbers thoroughly and create Presets for repetitive use cases. * Use Double-Click ➔ Edit Match and then select multip...
by rednoah
22 Oct 2021, 04:25
Forum: Windows 10
Topic: Clearing Search Results?
Replies: 6
Views: 1265

Re: Clearing Search Results?

Sorry, there is no Close All Tabs functionality at this point, other than restarting FileBot. If this request comes up repeatedly, then we'll look into finding a solution. EDIT: :?: Episodes is typically rarely used, and I've never seen anyone open more than one or two tabs. What's your use case or ...
by rednoah
22 Oct 2021, 02:28
Forum: Windows 10
Topic: Clearing Search Results?
Replies: 6
Views: 1265

Re: Clearing Search Results?

There's an X button on each tab that you can click to close the tab.
by rednoah
21 Oct 2021, 12:06
Forum: Help and Support
Topic: Trying to rename Forensic Files episodes via the episode title
Replies: 4
Views: 1150

Re: Trying to rename Forensic Files episodes via the episode title

If your files are already nicely aligned, then I'd do a Linear Rename to rename the files / episodes in natural order: $ filebot -list --db TheTVDB --q "Forensic Files" --filter "s == 9" --format "{plex.name}" -rename *s09*.mp4 --action TEST --log INFO [TEST] from [Forensic Files 2005 - s09e01 - Roa...
by rednoah
20 Oct 2021, 16:46
Forum: Scripting and Automation
Topic: Strip brackets [...] from the file path
Replies: 0
Views: 1384

Strip brackets [...] from the file path

GUI: use Plain File Mode with custom plain file format: { folder.path.removeAll(/\[.+?\]/) }/{ fn.removeAll(/\[.+?\]/) } fn ... file name without extension folder.path ... parent folder file path /\[.+?\]/ ... regular expression that matches [...] patterns CLI: use --db file to rewrite file paths: f...
by rednoah
20 Oct 2021, 15:05
Forum: Scripting and Automation
Topic: Custom code to guess media source based on file size and video bit rate
Replies: 6
Views: 1638

Re: Custom code to guess media source based on file size and video bit rate

Why unnecessarily duplicate large swathes of code when just want to add an extra condition? :roll: { if (hd == 'SD') if (bytes.MB >= 700 && bitrate.mbps >= 1.1) return 'DVDRip' else return 'TVRip' if (hd == 'HD') if (bytes.MB >= 100 && bitrate.mbps >= 18) return 'BDRemux' else if (bitrate.mbps >= 8)...
by rednoah
20 Oct 2021, 12:26
Forum: Episode / Movie Naming Scheme
Topic: Guess source media based on resolution, bitrate and file size
Replies: 0
Views: 1458

Guess source media based on resolution, bitrate and file size

Return different values based on {hd} , {bytes} and {bitrate} : { if (hd == 'SD') if (megabytes >= 700 && mbps >= 1.1) return 'DVDRip' else return 'TVRip' if (hd == 'HD') if (megabytes >= 1 && mbps >= 18) return 'BDRemux' else if (mbps >= 8) return 'BDRip' else if (mbps >= 2.2) return 'MicroHD' else...
by rednoah
20 Oct 2021, 12:14
Forum: Scripting and Automation
Topic: Custom code to guess media source based on file size and video bit rate
Replies: 6
Views: 1638

Re: Custom code to guess media source based on file size and video bit rate

I'd rewrite the code in a more human-readable manner like so: { if (hd == 'SD') if (bytes.MB >= 700 && bitrate.mbps >= 1.1) return 'DVDRip' else return 'TVRip' if (hd == 'HD') if (bytes.GB >= 1 && bitrate.mbps >= 18) return 'BDRemux' else if (bitrate.mbps >= 8) return 'BDRip' else if (bitrate.mbps >...
by rednoah
20 Oct 2021, 12:11
Forum: Scripting and Automation
Topic: Custom code to guess media source based on file size and video bit rate
Replies: 6
Views: 1638

Re: I'm doing something wrong

{bytes} and {bitrate} are no longer simple Number objects, so you might need to update your custom format a little bit. See linked post for details: https://www.filebot.net/forums/viewtopic.php?p=55485#p55485 :!: Note that your format is also syntactically incorrect, which is unrelated to {bytes} a...
by rednoah
20 Oct 2021, 04:26
Forum: Ubuntu & Linux
Topic: Can't start filebot-xpra docker container
Replies: 1
Views: 1347

Re: Can't start filebot-xpra docker container

This is probably the key error message: xpra initialization error: invalid port number: 5454,auth=none The String value "5454,auth=none" is indeed not a port number. But the exact same command-line works for everyone else, at least on amd64 arch. Perhaps aarch64 packages an old version of xpra where...
by rednoah
20 Oct 2021, 02:50
Forum: Ubuntu & Linux
Topic: [FileBot Node] --optimize_for_size causes Bus error (core dumped) crash
Replies: 5
Views: 1891

Re: Can't start filebot-node docker

Fixed. I'm not attached to that particular option. Thank you for tracking down the problem and finding a workaround.

https://github.com/filebot/filebot-dock ... 8c34fc1130
by rednoah
19 Oct 2021, 03:22
Forum: Ubuntu & Linux
Topic: [FileBot Node] --optimize_for_size causes Bus error (core dumped) crash
Replies: 5
Views: 1891

Re: Can't start filebot-node docker

I guess that means that the node executable crashes: Bus error (core dumped) I guess the amd64 arch container works, and the aarch64 container doesn't, but googling Bus error (core dumped) didn't reveal anything. You could try with a custom dockerfile and replace the nodejs binary from the Ubuntu pa...
by rednoah
18 Oct 2021, 08:59
Forum: Ubuntu & Linux
Topic: [FileBot Node] --optimize_for_size causes Bus error (core dumped) crash
Replies: 5
Views: 1891

Re: Can't start filebot-node docker

You could use docker exec to run bash then then execute the ENTRYPOINT command manually from there: https://github.com/filebot/filebot-docker/blob/master/Dockerfile.node#L40 :idea: If nothing makes sense, make sure to clear all the docker images you have cached, to make sure you're running the very ...
by rednoah
18 Oct 2021, 06:27
Forum: Ubuntu & Linux
Topic: Docker changes?
Replies: 3
Views: 1348

Re: Docker changes?

The latest changes will respect your PUID and PGID environment variables, and run filebot as normal user. :idea: You can use PUID=0 to run as root to restore the previous run-everything-as-root default behaviour instead of the new run-as-PUID-user by default behaviour: https://github.com/filebot/fil...
by rednoah
18 Oct 2021, 06:03
Forum: Scripting and Automation
Topic: Using mapper to fix episode number
Replies: 5
Views: 1980

Re: Using mapper to fix episode number

Note that you will find Linear Rename more straight-forward for this particular use case: $ filebot -list -rename *.mp4 --db TheTVDB --q 311711 --filter "s == 2" --action TEST --log INFO [TEST] from [My.Show.S02E01E02.mp4] to [The Good Place - 2x01 - Everything Is Great!.mp4] [TEST] from [My.Show.S0...
by rednoah
18 Oct 2021, 05:47
Forum: Scripting and Automation
Topic: Using mapper to fix episode number
Replies: 5
Views: 1980

Re: Using mapper to fix episode number

$ filebot -rename "The Good Place - 3x02.mp4" --q 311711 --db TheTVDB -non-strict --action TEST --filter regular --mapper "episode.number(s, e + 1)" * Consider using --mode interactive to enable interactive mode ... Apply mapper [episode.number(s, e + 1)] on [50] episodes ... Map [The Good Place - ...
by rednoah
18 Oct 2021, 05:12
Forum: Scripting and Automation
Topic: Using mapper to fix episode number
Replies: 5
Views: 1980

Re: Using mapper to fix episode number

you can use this https://www.filebot.net/forums/viewtopic.php?p=18802#p18802 This custom script from 2016 is just a generic file rename script, the kind that you could easily write yourself in your favorite scripting language. It predates Plain File Mode so it's probably not the most straight-forwa...
by rednoah
18 Oct 2021, 03:59
Forum: Feature Requests and Bug Reports
Topic: filebot -script fn:history no longer working --SOLVED
Replies: 3
Views: 1615

Re: filebot -script fn:history no longer working --SOLVED

Ah, yes! That explains things! If you set system properties directly, then that will bypass all the sanity checks of the command-line parser and then the error message above make sense!


EDIT:

FileBot r8885 will now gracefully catch errors that occur during logging initialization.