Search found 34 matches

by HarryMuscle
15 Apr 2022, 20:02
Forum: Help and Support
Topic: Run -exec Option For A Single File
Replies: 1
Views: 877

Run -exec Option For A Single File

Should be a basic question, but for some reason I can't get this figured out. How do I use the -exec option with FileBot and run it against a single file? I can for example do the following to run a script against a single file filebot -script fn:nfo "/location/file.mp4" or the following t...
by HarryMuscle
14 Apr 2022, 21:56
Forum: Scripting and Automation
Topic: AMC Script Invokes Exec Script with Type "Movie" for .srt Subtitle File
Replies: 3
Views: 1051

Re: AMC Script Invokes Exec Script with Type "Movie" for .srt Subtitle File

Shouldn't the type be "Subtitle" for the srt file? Or are all movie related files flagged as "Movie" type? No, {type} is not the file type, but the match type, which is either Movie , or Episode , or MoviePart , or MultiEpisode , etc. You probably mean to pass along {ext} so tha...
by HarryMuscle
14 Apr 2022, 17:18
Forum: Episode / Movie Naming Scheme
Topic: Are Multi File TV Episodes Supported by AMC Script?
Replies: 1
Views: 961

Are Multi File TV Episodes Supported by AMC Script?

Are multi file TV episodes supported by the AMC script? I have the following two files that make up one episode s01e01 - Episode.cd1.mkv s01e01 - Episode.cd2.mkv however, the AMC script seems to only process the second file and gives me the following message ... [amc] Input: /location/s01e01 - Episo...
by HarryMuscle
13 Apr 2022, 19:30
Forum: Scripting and Automation
Topic: Calling Exec Script Only Once Per Match
Replies: 1
Views: 887

Calling Exec Script Only Once Per Match

Is there a argument that can be passed to the AMC script that would have it call the script specified via the exec argument only once for each match instead of calling it for each file? For example instead of calling it twice, once for the episode video file and once for the subtitles file, call it ...
by HarryMuscle
13 Apr 2022, 18:09
Forum: Scripting and Automation
Topic: AMC Script Invokes Exec Script with Type "Movie" for .srt Subtitle File
Replies: 3
Views: 1051

AMC Script Invokes Exec Script with Type "Movie" for .srt Subtitle File

I have the following movie files that are being processed by FileBot's AMC script Star.Trek.2009.720p.BrRip.x264.mp4 Star.Trek.2009.720p.BrRip.x264.srt and I use the following exec parameter with the AMC script --def exec="/config/postprocess.sh -d {quote folder} -f {quote f} -t {quote type}&qu...
by HarryMuscle
09 Feb 2022, 02:26
Forum: Help and Support
Topic: Correct Way to Use --file-filter Option?
Replies: 4
Views: 2213

Re: Correct Way to Use --file-filter Option?

:?: What's the complete command-line call? Are you passing any input folders or files? e.g. list files in or below the current directory . and select files where the file path matches a specific keyword, and then print them with a specific custom format: $ filebot -mediainfo -r . --file-filter &quo...
by HarryMuscle
08 Feb 2022, 22:38
Forum: Help and Support
Topic: Correct Way to Use --file-filter Option?
Replies: 4
Views: 2213

Correct Way to Use --file-filter Option?

I'm trying to use the --file-filter option to only process (via the AMC script) files that are in folders matching a certain regex, but no matter what I try I always get the following error: Invalid usage: no input Abort (×_×) I even get this error with the following file filter that should allow ev...
by HarryMuscle
07 Feb 2022, 18:57
Forum: Help and Support
Topic: Difference Between --filter and --file-filter Options
Replies: 1
Views: 1157

Difference Between --filter and --file-filter Options

Is there a difference between the --filter and --file-filter options? I've come across both in various posts and I'm just trying to figure out which one is the correct one to use.

Thanks,
Harry
by HarryMuscle
04 Feb 2022, 15:50
Forum: Scripting and Automation
Topic: Will 4.9.5 API Classes Have Support for TV Show Trailers?
Replies: 2
Views: 1183

Re: Will 4.9.5 API Classes Have Support for TV Show Trailers?

Awesome. Thanks for all the details.

Thanks,
Harry
by HarryMuscle
04 Feb 2022, 04:51
Forum: Scripting and Automation
Topic: Will 4.9.5 API Classes Have Support for TV Show Trailers?
Replies: 2
Views: 1183

Will 4.9.5 API Classes Have Support for TV Show Trailers?

Just wondering if the API classes coming in 4.9.5 will have support for TV series trailers? In other words, will there be a getTrailers method in the SeriesInfo class. If not currently in the beta, could it be added?

Thanks,
Harry
by HarryMuscle
03 Feb 2022, 22:20
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Episode level NFO
Replies: 15
Views: 13210

Re: Feature Request: Episode level NFO

rednoah wrote: 03 Feb 2022, 18:44 The artwork script (previously just used to print available artwork) has been repurposed for this use case:
https://github.com/filebot/scripts/blob ... ork.groovy
Awesome. Thanks for doing that. I'll check it out tomorrow hopefully. Much appreciated.

Harry
by HarryMuscle
03 Feb 2022, 17:59
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Episode level NFO
Replies: 15
Views: 13210

Re: Feature Request: Episode level NFO

snip I'm also a bit dubious about generating invalid XML files (can't have multiple root elements) but if that's what we want, then I'll see into making it work. Awesome additions to the nfo.groovy file. Any chance you'd also add downloading the banner and fanart for the series and movies to match ...
by HarryMuscle
03 Feb 2022, 15:44
Forum: Scripting and Automation
Topic: Database Settings for FileBot vs AMC
Replies: 8
Views: 2422

Re: Database Settings for FileBot vs AMC

Well, the guest actors are in the episode nfo and the series actors are in the series nfo. Getting cast and crew typically requires extra requests, so that's information we wouldn't include by default. Most users don't care, or rather Plex and friends take care of adding the information the users w...
by HarryMuscle
03 Feb 2022, 05:40
Forum: Scripting and Automation
Topic: Database Settings for FileBot vs AMC
Replies: 8
Views: 2422

Re: Database Settings for FileBot vs AMC

:idea: Being able to use TheMovieDB as episode list source but TheTVDB as source for --def artwork=y is a feature in many ways, and I'm not convinced we'd come up positive overall if we change the current behaviour. snip :idea: On that note, we could roll database-agnostic series nfo generation int...
by HarryMuscle
03 Feb 2022, 04:55
Forum: Scripting and Automation
Topic: Database Settings for FileBot vs AMC
Replies: 8
Views: 2422

Re: Database Settings for FileBot vs AMC

Not planned due to concerns about backwards-compatibility. So we'd need a really good reason to switch to TheMovieDB::TV (for everything regardless of selected database) such as Plex confirmed no longer working with TheTVDB sourced NFO files. :idea: The new nfo script is written database-agnostic f...
by HarryMuscle
03 Feb 2022, 04:51
Forum: Scripting and Automation
Topic: AMC Script vs --apply Post Processing
Replies: 3
Views: 1652

Re: AMC Script vs --apply Post Processing

Yes. There are a number of features that were introduced in the amc script and later built into the FileBot application as standard features that can be used in both GUI and CLI. You can indeed use filebot -rename to perform typical tasks: $ filebot -rename Alias.1x01.mp4 -non-strict --apply nfo Cl...
by HarryMuscle
03 Feb 2022, 04:23
Forum: Scripting and Automation
Topic: Database Settings for FileBot vs AMC
Replies: 8
Views: 2422

Re: Database Settings for FileBot vs AMC

1. The default series database is used by -rename that don't specify --db : filebot -script fn:properties --def series.db=TheMovieDB::TV 2. The series.db setting has no effect on the amc script , because it'll alway specify TheTVDB explicitly for internal rename() calls. If you use --def seriesDB t...
by HarryMuscle
03 Feb 2022, 04:14
Forum: Scripting and Automation
Topic: AMC Script vs --apply Post Processing
Replies: 3
Views: 1652

AMC Script vs --apply Post Processing

Still learning all the features of FileBot and I just found out about being able to script the post processing features using the --apply command. What I'm now trying to figure out is if this basically makes the majority of the AMC script functionality redundant. I see that the AMC script can uncomp...
by HarryMuscle
03 Feb 2022, 01:44
Forum: Feature Requests and Bug Reports
Topic: FileBot_4.9.5-portable-jdk8.tar.xz Doesn't Work with Java 8
Replies: 4
Views: 2132

FileBot_4.9.5-portable-jdk8.tar.xz Doesn't Work with Java 8

I have Java 8 installed and I just tried the beta version of FileBot using the file named FileBot_4.9.5-portable-jdk8.tar.xz, however, I got the following error: Initialize UserHome folder: /config/filebot/data/0 Initialize Cache folder: /config/filebot/data/0/cache Initialize Logs folder: /config/f...
by HarryMuscle
02 Feb 2022, 23:20
Forum: Feature Requests and Bug Reports
Topic: Add getActors to SeriesInfo class
Replies: 3
Views: 1407

Re: Add getActors to SeriesInfo class

The {actors} binding should work for both Episode and Movie type objects. Both TheTVDB and TheMovieDB::TV should work. e.g. $ filebot -list --q MythBusters --db TheTVDB --filter "i == 1" --format "{actors}" [Brian Louden, Robert Lee, Jonathan Lung, Jessi Combs, Scottie Chapman, ...
by HarryMuscle
02 Feb 2022, 19:23
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Episode level NFO
Replies: 15
Views: 13210

Re: Feature Request: Episode level NFO

Not supported by the script in its current state :lol: that is, until someone actually has that use case and puts in a feature request. @HarryMuscle resurrected this request, but we haven't even confirmed if he's actually using Kodi, so let's see what we need first. Same for thumbnail naming and im...
by HarryMuscle
02 Feb 2022, 18:20
Forum: Scripting and Automation
Topic: Database Settings for FileBot vs AMC
Replies: 8
Views: 2422

Database Settings for FileBot vs AMC

I'm trying to switch over to using TMDB for TV shows instead of the default TVDB and I just want to make sure I understand things correctly. First I tried to tell FileBot to use the TMDB for series by running filebot -script fn:properties --def series.db=TheMovieDB::TV but the AMC script was still r...
by HarryMuscle
02 Feb 2022, 04:51
Forum: Feature Requests and Bug Reports
Topic: Add getActors to SeriesInfo class
Replies: 3
Views: 1407

Add getActors to SeriesInfo class

Both the TVDB and TMDB support actors at the series level. It can be useful to have access to that information however looking at the API documentation I noticed that the SeriesInfo class does not contain a getActors (or getCrew, getCadlstc getDirector, etc.) method. So I'd like to suggest adding su...
by HarryMuscle
02 Feb 2022, 04:23
Forum: Scripting and Automation
Topic: Conditionally Using --q Option
Replies: 3
Views: 1298

Re: Conditionally using --q Option

The shell script that calls filebot with or without --q depending on the situation would have to take care of that. :idea: You could --file-filter to select only file paths where the folder contains the ID ensuring that --q always works for the selected files: --file-filter "folder.name.match(...
by HarryMuscle
02 Feb 2022, 03:56
Forum: Scripting and Automation
Topic: Conditionally Using --q Option
Replies: 3
Views: 1298

Conditionally Using --q Option

I run a scheduled script that invokes FileBot and the AMC script to process new downloads and since I don't always get perfect matches (especially for TV shows) I'm thinking of making use of the --q option to specify a movie or series ID if that information is present in the folder that is being pro...