Search found 417 matches

by devster
05 Nov 2023, 16:16
Forum: Episode / Movie Naming Scheme
Topic: Renaming One Pace to fit One Piece episodes
Replies: 4
Views: 479

Re: Renaming One Pace to fit One Piece episodes

rednoah wrote: 05 Nov 2023, 16:06 If each episode is cut down in length but otherwise aligns 1:1 then I'd just use the Desktop application for one-off tasks like this:
Unfortunately no, most episodes are re-cut using multiple original episodes (One Piece is over 1000 episodes and One Pace is less than 700 at the moment).
by devster
05 Nov 2023, 14:28
Forum: Episode / Movie Naming Scheme
Topic: Renaming One Pace to fit One Piece episodes
Replies: 4
Views: 479

Renaming One Pace to fit One Piece episodes

Hello, I recently found the One Pace project and was wondering how to make it fit to the original One Piece episode list. The original files are named: ./[One Pace][1-7] Romance Dawn [1080p]/[One Pace][1] Romance Dawn 01 [1080p][FB72C13F].mkv ./[One Pace][8-21] Orange Town [1080p]/[One Pace][8-11] O...
by devster
02 Feb 2023, 16:46
Forum: Feature Requests and Bug Reports
Topic: Interest for fn:duplicates VMAF comparison
Replies: 4
Views: 7521

Re: Interest for fn:duplicates VMAF comparison

The only dependency would be ffmpeg (recent version but can't find a specific number). VMAF score is unfortunately only possible using 2 files, and it represent relative quality of the comparator to a reference file. I'm not sure it can be calculated for each file and stored, it'd have to be done fo...
by devster
01 Feb 2023, 17:48
Forum: Feature Requests and Bug Reports
Topic: Interest for fn:duplicates VMAF comparison
Replies: 4
Views: 7521

Interest for fn:duplicates VMAF comparison

Would there be an interest to add to the fn:duplicates script a way to automatically run VMAF to compare the two files? I believe ffmpeg is already built with lavfi filter in the default distribution, log output can be json. I'm currently running comparisons like so: systemd-run --user -u ffqm /usr/...
by devster
24 Jan 2023, 00:46
Forum: Scripting and Automation
Topic: Validating format files
Replies: 5
Views: 3183

Re: Validating format files

But this last command does not query any DB, right?
I'd have to split name and media information into separate bits.
by devster
24 Jan 2023, 00:36
Forum: Scripting and Automation
Topic: [PSA] Important Discussion of Changes effective as of 28 Apr 2023
Replies: 11
Views: 8834

Re: [AMC] Important Discussion of Proposed Changes

Maybe a solution could be to rely on AniDB only as primary source for some info only, such as absolute episode numbers. For anime I'm currently using both like so: { any { allOf { db.TMDb.sxe } { db.TMDb.absolute.pad(2).surround() } // surround just makes it look like [01] .join(' ') } { db.AniDB.ab...
by devster
22 Jan 2023, 23:37
Forum: Scripting and Automation
Topic: Validating format files
Replies: 5
Views: 3183

Re: Validating format files

Is there a way to do it including actual files (this would be useful for video and audio mediainfo)?
I'd like the output to be as simple as possible, like a single line with the final file name.
by devster
22 Jan 2023, 23:23
Forum: Scripting and Automation
Topic: [PSA] Important Discussion of Changes effective as of 28 Apr 2023
Replies: 11
Views: 8834

Re: [AMC] Important Discussion of Proposed Changes

The only problematic one would be AniDB as they store transliterated titles which aren't available on TheMovieDB, in addition to absolute order being slightly better.
On a separate note, any way to replicate {tmdb-<ID>} with current format bindings?
by devster
19 Jan 2023, 17:06
Forum: Scripting and Automation
Topic: How can I use a variable from one include() script in another include() script?
Replies: 8
Views: 11377

Re: How can I use a variable from one include() script in another include() script?

I found that the following also seems to work (apparently): partials/stdPart.groovy import java.util.regex.Pattern class Hello { Map replaceMap = [ (~/[`´‘’ʻ""“”]/): "'", '|': ' - ', ':': '\u2236', '?': '\uFE56', // '﹖' Small Question Mark '*': '\u204E', // '⁎' low asterisk (~/[*...
by devster
16 Jan 2023, 20:16
Forum: Scripting and Automation
Topic: Validating format files
Replies: 5
Views: 3183

Validating format files

I was wondering if there's a way to only validate format files? An equivalent of:

Code: Select all

$ visudo -cf file
file: parsed OK
$ echo $?
0
for format files, something like:

Code: Select all

$ filebot -script fn:validate formatFile.groovy
OR
$ filebot -validate formatFile.groovy
by devster
15 Jan 2023, 18:41
Forum: Episode / Movie Naming Scheme
Topic: Issue when including partials
Replies: 9
Views: 3667

Re: Issue when including partials

Yep, I tried and it looks right, I imagine this also applies to any other names used by bindings, right?
by devster
15 Jan 2023, 18:31
Forum: Episode / Movie Naming Scheme
Topic: Issue when including partials
Replies: 9
Views: 3667

Re: Issue when including partials

Unfortunately these would be dynamic files, different versions will be included in different formats, I'd really like to be able to use the include option. I'm going to include different audio versions for different languages, it's just one example, I'd also like to use the same pattern for video an...
by devster
15 Jan 2023, 18:14
Forum: Episode / Movie Naming Scheme
Topic: Issue when including partials
Replies: 9
Views: 3667

Re: Issue when including partials

Thanks, first error is pretty straightforward, I solved it by removing {} from beginning and end, which is verbatim what I'm including from the previous post. The second is weird, because the exact same code is not null when used as @/file.groovy or inside a format block. I believe something breaks ...
by devster
15 Jan 2023, 17:41
Forum: Episode / Movie Naming Scheme
Topic: Issue when including partials
Replies: 9
Views: 3667

Re: Issue when including partials

In short I'm including groovy code, not format? But then I'm not seeing where it breaks. Including this: // audio map, some of these are probably not needed anymore HashMap codecMap = [ "FLAC": "FLAC", "PCM": "PCM", "MPEG Audio Layer 3": "MP3&qu...
by devster
15 Jan 2023, 16:08
Forum: Episode / Movie Naming Scheme
Topic: Issue when including partials
Replies: 9
Views: 3667

Issue when including partials

I'm trying to split my format into partials and I'm getting the following issue. If I use the simple @filepath.groovy format the partial works as intended: $ cat partialTest.groovy @/path-to-filebot-scripts/partials/audio.groovy $ cat audio.groovy { // audio map, some of these are probably not neede...
by devster
05 Jul 2022, 21:33
Forum: Scripting and Automation
Topic: Updating names with keeplink
Replies: 3
Views: 1168

Re: Updating names with keeplink

:?: What is the purpose of "updating names", perhaps episode titles? Those don't typically change much over time... Usually they don't but in some shows they do, or rather, the databases initially have all episodes as "Episode 1", "Episode 2", ... and someone later upd...
by devster
05 Jul 2022, 18:49
Forum: Scripting and Automation
Topic: Updating names with keeplink
Replies: 3
Views: 1168

Updating names with keeplink

I'm using keeplink for files. I'd like the option to update the names of certain files without reverting and reprocessing them. The current workflow is: docker exec <container> /usr/bin/filebot -revert /media/tv/show docker exec <container> /usr/bin/filebot -script fn:amc --action keeplink --output ...
by devster
31 Jan 2022, 18:34
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 526781

Re: [POC] Custom Format Server

To expand a bit on this idea, is there a function or an option to use as source file, instead of a media file present on disk, a MediaInfo xml report? The idea would be to host a FileBot service on a remote server, upload the MediaInfo report file named as the source file and have FileBot return the...
by devster
25 Jan 2022, 12:35
Forum: Feature Requests and Bug Reports
Topic: Beta version of deb/rpm repositories
Replies: 0
Views: 1816

Beta version of deb/rpm repositories

I would propose a second channel in the deb repo for the beta releases, which seem to be fairly stable anyway.
So in addition to deb [arch=amd64] https://get.filebot.net/deb/ stable main
there'd also be deb [arch=amd64] https://get.filebot.net/deb/ beta main
by devster
25 Jan 2022, 12:29
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 526781

Re: [POC] Custom Format Server

Oh, didn't realize. But it doesn't seem like FileBot is involved in the remote processing. This line: const dst = src.toUpperCase().replace(/[^A-Z0-9]/g, '_') is the only piece of code involved in the renaming, right? I was wondering if it could be made so that FileBot processes the information on t...
by devster
25 Jan 2022, 01:15
Forum: Episode / Movie Naming Scheme
Topic: {info} details for series
Replies: 1
Views: 1115

{info} details for series

I'm using TheMovieDB::TV for series and I was wondering why I can't find the {info.OriginalLanguage} binding there. The website seems to support the information: https://www.themoviedb.org/tv/78941 but the binding doesn't seem to be there. filebot -rename --db TheMovieDB::TV --action test --format '...
by devster
25 Jan 2022, 00:11
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 526781

Re: [POC] Custom Format Server

Could this be reworked so that FileBot receives a file name plus information about the type of file and it returns a filename and location? E.g. curl "somethingsomething/post" --data-urlencode "file=${file}" --data-urlencode dir="$(basename ${file})" --data-urlencode ou...
by devster
15 Jan 2022, 00:50
Forum: Scripting and Automation
Topic: The Office (US) combined episodes
Replies: 2
Views: 1629

The Office (US) combined episodes

Some series aired double episodes which in later releases have been combined into one (e.g. The Office US). In this case I'd have the following list of files: The Office S04E01 Fun Run.mkv The Office S04E02 Dunder Mifflin Infinity.mkv The Office S04E03 Launch Party.mkv The Office S04E04 Money.mkv Th...
by devster
17 Oct 2021, 21:35
Forum: Scripting and Automation
Topic: Using mapper to fix episode number
Replies: 6
Views: 9428

Re: Using mapper to fix episode number

It's not really clear how to run those snippets, are they scripts? mappings? Also I managed to fix the rename with the following: --q 'my show' --filter 's == 3' --mapper "episode.derive(episode.season, episode.episode + 1)" and using strict mode. What's not clear is why +1 instead of -1.....
by devster
17 Oct 2021, 14:02
Forum: Scripting and Automation
Topic: Using mapper to fix episode number
Replies: 6
Views: 9428

Using mapper to fix episode number

I'm having trouble understanding how to use --mapper . I have the following list of episodes: My.Show.S02E01E02.Extended.720p.BluRay.x264-NTb.mkv My.Show.S02E03.Extended.720p.BluRay.x264-NTb.mkv My.Show.S02E04.Extended.720p.BluRay.x264-NTb.mkv My.Show.S02E05.Extended.720p.BluRay.x264-NTb.mkv My.Show...