Search found 19657 matches

by rednoah
Yesterday, 13:04
Forum: Scripting and Automation
Topic: Running AMC with @File Hangs
Replies: 6
Views: 130

Re: Running AMC with @File Hangs

Hasn't really come up. I'll add a hint to the docs. Checking @file syntax in the code is not planned however at this point, since automatically fixing typical issues (quotation marks, spaces, etc) makes certain use cases impossible where this is actually the argument value the user wants and has exp...
by rednoah
Yesterday, 09:18
Forum: macOS
Topic: Using foldername to rename file
Replies: 1
Views: 49

Re: Using foldername to rename file

You can use Plain File Mode if you just want to rename files to the name of the folder: https://www.filebot.net/forums/viewtopic.php?t=2072 This custom format will generate the New Name based on the folder name for the file at hand: {folder.name} e.g. $ filebot -rename -r /input --file-filter f.vide...
by rednoah
Yesterday, 09:15
Forum: Help and Support
Topic: Link key words in title
Replies: 1
Views: 13

Re: Link key words in title

Are you using the amc script? What does the log say for the case that currently doesn't work well?


:arrow: viewtopic.php?t=1868
by rednoah
Yesterday, 03:22
Forum: Scripting and Automation
Topic: Running AMC with @File Hangs
Replies: 6
Views: 130

Re: Running AMC with @File Hangs

Since you've added an additional space to each line, you're accidentally doing this: $ filebot "-script " "fn:amc " File does not exist: fn:amc Bad script source: -script :arrow: @files allow you to pass arguments verbatim, including space characters, line by line, so each line must only contain the...
by rednoah
04 May 2021, 16:37
Forum: Feature Requests and Bug Reports
Topic: Not Matching: Director's Cut (2018)
Replies: 2
Views: 49

Re: Not Matching: Director's Cut (2018)

You likely won't be able to auto-match movies named Director's Cut | Extended Cut | Movies | TV Shows | Complete | etc . :idea: If you're using the command-line, then --q can make things work: $ filebot -rename *.mp4 --db TheMovieDB --q 355536 --action TEST --log INFO [TEST] from [Director's Cut.mp4...
by rednoah
04 May 2021, 06:26
Forum: macOS
Topic: Prevent folder opening on completion?
Replies: 1
Views: 78

Re: Prevent folder opening on completion?

1. You can remove these behaviors by removing the corresponding code. e.g. This piece of code is responsible for revealing newly processed files in Finder: -exec open -R {f} + e.g. This piece of code is responsible for opening the log file on error: # Display log file on error if [ $? -ne 0 ]; then ...
by rednoah
03 May 2021, 05:36
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 11295

Re: Naming files from local PLEX database

path changed? just search / replace = EASY!!! Well, I guess Plex wouldn't be able to find / play the file it wasn't where Plex thinks it is anyway. But even if we were to use the exported XML file from a remote server, and then run FileBot on the local Desktop, the file name alone is probably uniqu...
by rednoah
03 May 2021, 02:01
Forum: Synology & QNAP & Embedded Linux
Topic: filebot process hangs after printing the Input: /path lines
Replies: 5
Views: 199

Re: re-add movie to plex?

It worked perfect with previous version of filebot and DSM Based on the information above, using an older version of FileBot is unlikely to make a difference, but you can try using and older version and see for yourself: https://get.filebot.net/filebot/ :idea: The logs suggest FileBot didn't crash ...
by rednoah
02 May 2021, 11:57
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 11295

Re: Naming files from local PLEX database

Why not go with the previously suggested solution though? The XML file does seem to include the file paths for each file in the library, no? https://www.filebot.net/forums/viewtopic.php?p=54468#p54468 1. Use Tautulli to export the information we need as easy-to-read XML file 2. Use custom Plain File...
by rednoah
02 May 2021, 07:22
Forum: Scripting and Automation
Topic: µTorrent for Mac, AMC, and launchd: automatic for the people
Replies: 12
Views: 11780

Re: µTorrent for Mac, AMC, and launchd: automatic for the people

ajones7279 wrote: 02 May 2021, 06:53 Image
According to the screenshot, $HOME is undefined in this particular context. Strange, but easily fixed by doing export HOME="/Users/<name>" before calling filebot. Notably, this particular issue is unrelated to the previous permission issue.
by rednoah
02 May 2021, 04:00
Forum: Help and Support
Topic: Filebot Now Not Creating Files Plex Recognizes
Replies: 4
Views: 163

Re: Filebot Now Not Creating Files Plex Recognizes

Well, FileBot just moves files, and there doesn't seem to be an issue with that, so I'm not sure what FileBot could do differently to make Plex work correctly. If the amc script successfully requests Plex to updates it's library via --def plex , and then Plex doesn't for some reason, then you'll pro...
by rednoah
01 May 2021, 14:55
Forum: Scripting and Automation
Topic: µTorrent for Mac, AMC, and launchd: automatic for the people
Replies: 12
Views: 11780

Re: µTorrent for Mac, AMC, and launchd: automatic for the people

IDK, but /Volumes/Macintosh HD/Users/... is most unusual file path. Did you connect the system drive from some older Mac as external hard drive or something like that?
by rednoah
30 Apr 2021, 15:24
Forum: Scripting and Automation
Topic: [bash] rename tv show
Replies: 3
Views: 155

Re: [bash] rename tv show

The Linear Rename technique should work just fine. Where exactly do you see a problem? Here's are my thoughts: * Use --q to define the Series ID * Use name* glob to pass only episodes from a specific Series as input argument sequence * Use --filter "s >= 2 && e >= 1" if you need a specific season / ...
by rednoah
30 Apr 2021, 09:08
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 11295

Re: Naming files from local PLEX database

@snickers2k Please let us know which code you end up with. Possibly write a tutorial thread for the next guy if it works well for you.
by rednoah
30 Apr 2021, 04:02
Forum: Scripting and Automation
Topic: [bash] rename tv show
Replies: 3
Views: 155

Re: [bash] rename tv show

Have you tried Plain File Mode yet? For that to work, you'll have to write your own custom plain file format specifically tailored to matching information from your specific file naming patterns. :idea: Alternatively, if the TV Shows do exist in any of the online databases, then you can use linear m...
by rednoah
30 Apr 2021, 03:57
Forum: Feature Requests and Bug Reports
Topic: Pinned application launches in light theme only
Replies: 2
Views: 97

Re: Pinned application launches in light theme only

You can force Dark Mode like so:
viewtopic.php?t=9827


i.e. this command will create and write the configuration file for you:

Code: Select all

filebot -script fn:properties --def net.filebot.theme=Darcula
by rednoah
29 Apr 2021, 09:24
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 11295

Re: Naming files from local PLEX database

e.g. Plain File Format: read xml file, find part element where the file attribute matches the current file path, navigate xml and extract fields, generate destination file path: { // find <part> element for the file at hand def dom = xml('/path/to/library.xml') def part = dom.show.season.episode.med...
by rednoah
29 Apr 2021, 04:09
Forum: Help and Support
Topic: Rename consistently proposes wrong names
Replies: 1
Views: 85

Re: Rename consistently proposes wrong names

The 1x01 number takes precedence, so files are matched accordingly: https://www.thetvdb.com/series/the-looney-tunes-show-2011/allseasons/official :idea: In this case, The Looney Tunes Show is wrong altogether. Because Episode 8 Ball Bunny is listed as Looney Tunes 1950x14 . :idea: At this point, the...
by rednoah
28 Apr 2021, 17:20
Forum: Help and Support
Topic: Filebot Now Not Creating Files Plex Recognizes
Replies: 4
Views: 163

Re: Filebot Now Not Creating Files Plex Recognizes

:?: Do we know why Plex is not displaying the new files? Plex refresh problem? File permission problem? Other kind of problem?


:?: Are you using --def plex? That should send a HTTP request to Plex whenever the amc script is done processing, so that Plex can refresh it's library.
by rednoah
28 Apr 2021, 17:14
Forum: Scripting and Automation
Topic: macOS: Can the Transmission amc script be used for qBittorrent?
Replies: 9
Views: 244

Re: macOS: Can the Transmission amc script be used for qBittorrent?

Well, I guess my previous post pretty much already has your solution then. Write your script: #!/bin/sh -xu # Input Parameters ARG_PATH="$1" ARG_NAME="$2" ARG_LABEL="$3" /usr/local/bin/filebot -script fn:amc --output "/Volumes/Media HD/Media" --log-file "/Volumes/Media HD/Media/amc.log" --action dup...
by rednoah
28 Apr 2021, 17:09
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 11295

Re: Naming files from local PLEX database

Yep. Should work. @snickers2k Can you export a sample XML file as well? XML would simplify the format code.
by rednoah
28 Apr 2021, 15:46
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 11295

Re: Naming files from local PLEX database

If Tautulli can help you export everything as easy-to-read JSON file, then it might be possible to write a Plain File Format that references this file for each file {f} and then generates the new path based on the information in the JSON record. EDIT: The Rename files based on sibling XML files exam...
by rednoah
28 Apr 2021, 15:35
Forum: Scripting and Automation
Topic: macOS: Can the Transmission amc script be used for qBittorrent?
Replies: 9
Views: 244

Re: macOS: Can the Transmission amc script be used for qBittorrent?

If you're using Transmission, aren't you already using a modified transmission-postprocess.sh then? The proposed qbt-postprocess.sh would be virtually identical, except for the first few lines that define our ARG_* variables. EDIT: I'm working under the assumption that your Transmission integration ...
by rednoah
28 Apr 2021, 12:46
Forum: Scripting and Automation
Topic: macOS: Can the Transmission amc script be used for qBittorrent?
Replies: 9
Views: 244

Re: macOS: Can the Transmission amc script be used for qBittorrent?

The amc script is a generic command-line tool and not specific to either Transmission or qBT. You can create your own qbt-postprocess.sh script and then call that from qBT, passing along input arguments as needed: https://www.filebot.net/forums/viewtopic.php?t=215#p9774 /path/to/qbt-postprocess.sh "...