Search found 107 matches

by AbedlaPaille
11 Oct 2022, 14:23
Forum: Ubuntu & Desktop Linux
Topic: How to Force FileBot to update Sonarr/Radarr
Replies: 8
Views: 24252

Re: How to Force FileBot to update Sonarr/Radarr


ahh! Thats new to me! Then I starting to see how I should do it.

So, this should work?

filebot -script fn:amc --log-file amc.log --action copy -non-strict --conflict skip -non-strict "$HOME/test/LAlala/"
--def "seriesFormat=$HOME/media/'TV Shows'/{n}/{'Season '+s.pad(2)}/{n} - {S00E00} - {t ...
by AbedlaPaille
11 Oct 2022, 13:57
Forum: Scripting and Automation
Topic: process only recently added files within a folder?
Replies: 8
Views: 6172

Re: process only recently added files within a folder?

For reference i ended using --file-filter with {f.age} , as {f.creationDate} gave me numbers i couldn't understand and -no-probe with {age} only caught subtitle files.

--file-filter "f.age < 0.04" (1 hour) is useful to for example automatically generate hardlinks as a post process to the amc ...
by AbedlaPaille
10 Oct 2022, 06:16
Forum: Help and Support
Topic: Filebot integration with Sonarr/Radarr
Replies: 2
Views: 7462

Re: Filebot integration with Sonarr/Radarr

I've managed to solve my initial issues, so i'm back to my original goal:

To rescan/refresh a show in Sonarr once Filebot processed files belonging to it.

I've found this thread on Sonarr's forum which is trying to accomplish the same thing:
https://forums.sonarr.tv/t/refreshseries-rescanseries ...
by AbedlaPaille
09 Oct 2022, 14:48
Forum: Feature Requests and Bug Reports
Topic: Sort into Complete/Incomplete folders?
Replies: 13
Views: 20779

Re: Sort into Complete/Incomplete folders?

That's a win, thank you !

I'm copying here the modification to only take into consideration episodes that have already been aired yet, if anyone's interested (credit rednoah)

{ model.episodes.flatten().containsAll(episodelist.findAll{it.series == series && it.episode && it.title && it.airdate ...
by AbedlaPaille
08 Oct 2022, 17:57
Forum: Feature Requests and Bug Reports
Topic: Sort into Complete/Incomplete folders?
Replies: 13
Views: 20779

Re: Sort into Complete/Incomplete folders?

{model.episode.containsAll(episodelist.findAll{it.season == s && it.episode && it.title}}

Testing that around it fails to understand S01E01-02 logic, it'll think the season is incomplete if you have those files. I guess there's a workaround given fn:miss is capable of seeing through it?
by AbedlaPaille
12 Sep 2022, 16:19
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 2199196

Re: How about sharing our format expressions?


Looks great. Please let me know how to show folders under some category, (ex. first image). is it a separate magic app or just windows file explorer


Just windows explorer, i created a movie library and added different paths that correspond to the categories i want

https://cdn.discordapp.com ...
by AbedlaPaille
06 Jan 2021, 01:52
Forum: Episode / Movie Naming Scheme
Topic: Determine if a movie is dubbed or in original language?
Replies: 2
Views: 7831

Re: Determine if a movie is dubbed or in original language?

Thanks man, works wonderfully. Tweaked it to fit my needs.

My result :


{ any
{info.OriginalLanguage ==~ /fr/ && audioLanguages =~ /fr/ ? 'VF' : ''}
{languages.any{ audioLanguages =~ it } ? '' : 'Dubbed'}
{textLanguages =~ /fra/ ? 'VOSTFR' : textLanguages =~ /eng/ ? 'VOSTEN' : ''}
{fn.match ...
by AbedlaPaille
30 Dec 2020, 15:05
Forum: Episode / Movie Naming Scheme
Topic: Determine if a movie is dubbed or in original language?
Replies: 2
Views: 7831

Determine if a movie is dubbed or in original language?

I'm trying to compare info.OriginalLanguage and audio.language for a match (or a mismatch), goal being a snippet that knows if a movie has orignal language audio track or not.

My current setup :

{ any
{! (info.OriginalLanguage ==~ /en/) && audio[0].language != /en/ ? audioLanguages[0].name ...
by AbedlaPaille
17 Nov 2020, 05:20
Forum: Help and Support
Topic: Filebot integration with Sonarr/Radarr
Replies: 2
Views: 7462

Filebot integration with Sonarr/Radarr

I'm trying to figure out how to post process with filebot without messing the way my sonarr work. Seems more tricky than i assumed.

I need to delete the original files for sonarr to fully pick up on the filebot processed files, if i don't, the manual refresh/rescan doesn't suffice and sonarr still ...
by AbedlaPaille
17 Nov 2020, 00:33
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 2199196

Re: How about sharing our format expressions?

Suggestion: you can display french subs (vostfr) even when it's not in the original filename. Maybe you have some of these files, nowdays with streaming platforms and mkv a lot of uploads contain subs in several languages within the .mkv, well Filebot can pull that for you!

{any{textLanguages ...
by AbedlaPaille
08 Sep 2020, 21:22
Forum: Help and Support
Topic: How to avoid redudant, duplicate hardlinks?
Replies: 6
Views: 6950

Re: How to avoid redudant, duplicate hardlinks?

Amazing, i thought it did the opposite!

Looks like i'm all setup. Thanks for your help.
by AbedlaPaille
08 Sep 2020, 14:17
Forum: Help and Support
Topic: How to avoid redudant, duplicate hardlinks?
Replies: 6
Views: 6950

Re: How to avoid redudant, duplicate hardlinks?

Interesting idea. Great for a manual pass every once in a while.

The problem is MOVE isn't compatible with new additions from the master structure.

So i'm stuck with hardlinks/duplicates for post processing new additions. Can't i make fn:duplicates pick/keep the most recently created file/folder ...
by AbedlaPaille
04 Sep 2020, 21:34
Forum: Help and Support
Topic: How to avoid redudant, duplicate hardlinks?
Replies: 6
Views: 6950

Re: How to avoid redudant, duplicate hardlinks?

Because my library is big (800) and i'm managing a lot of hardlinks (10), most based on complex formats. Deleting and generating i've been doing, but manually every month or so -> it takes a while.

Here i'm trying to automatize my hardlinks creation/management as a follow up to my qBittorent amc ...
by AbedlaPaille
04 Sep 2020, 04:15
Forum: Help and Support
Topic: How to avoid redudant, duplicate hardlinks?
Replies: 6
Views: 6950

How to avoid redudant, duplicate hardlinks?


Description:
Finding duplicate movie or episode files is easy once all your content has been renamed and xattr tagged with FileBot. This script allows you to view or delete duplicates.


List Logical Duplicates:
filebot -script fn:duplicates /path/to/files
:idea: There are logical ...
by AbedlaPaille
15 Jul 2020, 04:39
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 349689

Re: Multiple audio tracks with different codecs and languages


Added addToList = to make it more user friendly ( output e.g. [Add to "DTS XBR" codecList] )
Added useChFilter = to make it more user friendly ( true or false, makes it more "scene" like )

{
def preferredLang = 'Eng'
def useChFilter = false
def filter = { [it.codec, it.ch, it.objects, it.lang ...
by AbedlaPaille
15 Jul 2020, 04:14
Forum: Episode / Movie Naming Scheme
Topic: newbie help - naming UHD or 4K or 2160p and REMUX plus more
Replies: 20
Views: 37711

Re: newbie help - naming UHD or 4K or 2160p and REMUX plus more


Added addToList = to make it more user friendly ( output e.g. [Add to "DTS XBR" codecList] )
Added useChFilter = to make it more user friendly ( true or false, makes it more "scene" like )

{
def preferredLang = 'Eng'
def useChFilter = false
def filter = { [it.codec, it.ch, it.objects, it.lang ...
by AbedlaPaille
15 Jul 2020, 04:03
Forum: Help and Support
Topic: AMC script leaves off attributes when renaming some media files
Replies: 5
Views: 5766

Re: AMC script leaves off attributes when renaming some media files

If expression path and file path match filebot will just rename the file and not move anything. If you have a custom format and wish Filebot to follow it, you have to come up with a matching expression.

plex.derive() is used to tweak the filename for extra infos, but it creates a path for you. If ...
by AbedlaPaille
26 Jun 2020, 10:02
Forum: Episode / Movie Naming Scheme
Topic: TV shows scheme: mediainfo on season folder if all the same, on files if different?
Replies: 8
Views: 7637

Re: TV shows scheme: mediainfo on season folder if all the same, on files if different?

For sure. I've been a Filebot evangelist since ~2012, even got a friend who bought it ;)
And i had no idea how helpful you were til this year. I'm close to be walking the streets with a Filebot cardboard now.

Tell me if you ever do get something set-up for donations though.
The kind of help you're ...
by AbedlaPaille
26 Jun 2020, 09:07
Forum: Episode / Movie Naming Scheme
Topic: TV shows scheme: mediainfo on season folder if all the same, on files if different?
Replies: 8
Views: 7637

Re: TV shows scheme: mediainfo on season folder if all the same, on files if different?

:mrgreen: Thank you.

Code: Select all

s == it.s
Kicking myself for not doing this on my own. And the filename match works, glorious.

Do you have something set-up for donations? When a dev helps you on ~100 posts he gets a couple free beers at the very least :D
by AbedlaPaille
26 Jun 2020, 08:54
Forum: Episode / Movie Naming Scheme
Topic: No season folder for miniseries?
Replies: 8
Views: 7875

Re: No season folder for miniseries?

:? Damn this was on the format expressions page.. I'm sorry. And thank you.
by AbedlaPaille
26 Jun 2020, 08:18
Forum: Episode / Movie Naming Scheme
Topic: No season folder for miniseries?
Replies: 8
Views: 7875

Re: No season folder for miniseries?

Situation 1 : TVDB has several seasons for this show
Result 1 : Season folder creation
Example 1 : Fringe/Season 2/Fringe - S02E02 - Night of Desirable Objects
---
Situation 2 : TVDB has only one season for this show
Result 2 : No season folder creation
Example 2 : Firefly/Firefly - S01E01 ...
by AbedlaPaille
26 Jun 2020, 08:03
Forum: Episode / Movie Naming Scheme
Topic: TV shows scheme: mediainfo on season folder if all the same, on files if different?
Replies: 8
Views: 7637

Re: TV shows scheme: mediainfo on season folder if all the same, on files if different?

I managed to piece together something semi-functional. You're a good teacher :)

{model.findAll{ id == it.id }.collect{ [it.vf, it.vc] }.unique().size() == 1 ? {allOf{vf}{vc}.joining(' ', ' [', ']')} : null}

1. Only big issue is i'm not finding how to select a serie's season instead of the whole ...
by AbedlaPaille
26 Jun 2020, 05:40
Forum: Episode / Movie Naming Scheme
Topic: TV shows scheme: mediainfo on season folder if all the same, on files if different?
Replies: 8
Views: 7637

Re: TV shows scheme: mediainfo on season folder if all the same, on files if different?

What {vs} {vf} values do you want in the folder path if there's more than one?

None, let me try again.

Situation 1 : Episodes values within a season do not match
Result 1 : my scheme remains -- Extra info trail on episode files, none on season folder.
Example 1 : Devs/Season 1/Devs - S01E01 ...
by AbedlaPaille
24 Jun 2020, 02:35
Forum: Feature Requests and Bug Reports
Topic: Plex + filebot: splitted movies issue
Replies: 3
Views: 4344

Re: Plex + filebot: splitted movies issue

The problem with that Rednoah is perfectionism. Because CD1 can be below CD2 in explorer if some of the info differs, like bitrate. That's why we put CD$ before the extra informations.

And i think that's why Plex thinks those are duplicates yeah. I have the same problem. More of a Plex problem ...
by AbedlaPaille
24 Jun 2020, 02:26
Forum: Episode / Movie Naming Scheme
Topic: TV shows scheme: mediainfo on season folder if all the same, on files if different?
Replies: 8
Views: 7637

TV shows scheme: mediainfo on season folder if all the same, on files if different?

Say i have a season pack with same vs and vf, i'd want it to look like
Devs/Season 1 [Bluray 1080p]/Devs - S01E01 - Episode 1
But if the episodes within the season have differing vs and vf then
Devs/Season 1/Devs - S01E01 - Episode 1 [Bluray 1080p]
Is that something filebot can do?
by AbedlaPaille
24 Jun 2020, 02:15
Forum: Episode / Movie Naming Scheme
Topic: No season folder for miniseries?
Replies: 8
Views: 7875

No season folder for miniseries?

Can filebot skip season folder creation on miniseries but still retain them on 2+ seasons shows? Sorry if this has been asked already.
by AbedlaPaille
19 Jun 2020, 00:46
Forum: Episode / Movie Naming Scheme
Topic: Give video files a quality grade based on various mediainfos?
Replies: 2
Views: 3755

Give video files a quality grade based on various mediainfos?

Anyone with ideas about this? Lots of values could be taken into account, mbps, vf, vc, ac, af.. Question is how to weight them to have a rather realistic grade.
by AbedlaPaille
18 Jun 2020, 15:55
Forum: Episode / Movie Naming Scheme
Topic: Movie Renaming Expression for "Studio" ?
Replies: 17
Views: 12191

Re: Movie Renaming Expression for "Studio" ?

Check out my Studios collections hardlinks, might help you understanding how it works. F:/Studios/

{info.productionCompanies =~ /Studio Ghibli/ ? 'Ghibli Collection' : info.productionCompanies =~ /Pixar/ ? 'Pixar Collection' : info.productionCompanies =~ /Marvel Studios/ ? 'MCU Collection ...
by AbedlaPaille
16 Jun 2020, 12:53
Forum: Help and Support
Topic: Ternary operator within drive picking snippet?
Replies: 2
Views: 2457

Re: Ternary operator within drive picking snippet?

Yep that's a winner, thanks a lot
by AbedlaPaille
16 Jun 2020, 11:14
Forum: Help and Support
Topic: Ternary operator within drive picking snippet?
Replies: 2
Views: 2457

Ternary operator within drive picking snippet?

{['C:', 'D:', 'E:'].collect{ (it+'/TV/'+n) as File }.sort{ a, b -> a.exists() <=> b.exists() ?: a.diskSpace <=> b.diskSpace }.last()}/{episode}

Glorious snippet. I'm trying to troubleshoot an issue though, maybe you can help me.

I've modified it slightly because my TV shows names are bilingual ...
by AbedlaPaille
12 Jun 2020, 10:25
Forum: Feature Requests and Bug Reports
Topic: Request: Collections extras (url & cover)
Replies: 8
Views: 6084

Re: Request: Collections extras (url & cover)

No problem thanks for the consideration.
by AbedlaPaille
12 Jun 2020, 06:05
Forum: Help and Support
Topic: Bugged xattr on a movie
Replies: 5
Views: 3581

Re: Bugged xattr on a movie

The log doesn't print an error message and it doesn't work either.

The log doesn't show any line on the video file, it skips it, works on the subtitle next to it though, but the video file is like invisible in --db xattr mode.

I went in GUI to troubleshoot and tried F3, instead of renaming with ...
by AbedlaPaille
12 Jun 2020, 05:57
Forum: Feature Requests and Bug Reports
Topic: Request: Collections extras (url & cover)
Replies: 8
Views: 6084

Re: Request: Collections extras (url & cover)

Filebot knows if a movie is part of a collection though, so movie folder -1 level is where the collection folder should be, regardless of format.

Else a naming convention, like all Collections folders need to have "Collection" in their name?
by AbedlaPaille
12 Jun 2020, 05:45
Forum: Scripting and Automation
Topic: AMC: Subtitle isn't getting the same name as the movie
Replies: 5
Views: 4714

Re: AMC: Subtitle isn't getting the same name as the movie

The format is simple enough and Plex compatible, i just add infos after the year.

The subtitles files are in nearby easy-to-find locations, RARBG uses a movie folder and a subs subfolder, like a lot of groups.

The amc script has no problem with attaching the subtitle to the movie on some of them ...
by AbedlaPaille
12 Jun 2020, 05:33
Forum: Help and Support
Topic: Bugged xattr on a movie
Replies: 5
Views: 3581

Re: Bugged xattr on a movie

1. Yes. All files but one work.

2. The video file wasn't hardlinked to the new location with --db xattr
by AbedlaPaille
12 Jun 2020, 03:37
Forum: Scripting and Automation
Topic: AMC: Subtitle isn't getting the same name as the movie
Replies: 5
Views: 4714

Re: AMC: Subtitle isn't getting the same name as the movie

So this seems to be responsible for grouping .srt with movie

Group: {Movie=Whiplash (2014)} => [12_English.srt, Whiplash.2014.1080p.BluRay.x265-RARBG.mp4]

And in most cases for me it fails to group and shows something like :

Group: {Movie=The Name of the Rose (1986), Series=null} => [6_English ...
by AbedlaPaille
12 Jun 2020, 03:23
Forum: Help and Support
Topic: Bugged xattr on a movie
Replies: 5
Views: 3581

Bugged xattr on a movie

I have this error from a week ago on a movie: Failed to set xattr: NoSuchFileException

When i rename it without xattr it doesn't create extended attributes i think, as when i do F3 in GUI the original file disappears (both panels empty) and CLI with --db xattr does not see the movie.

I think the ...
by AbedlaPaille
12 Jun 2020, 03:00
Forum: Feature Requests and Bug Reports
Topic: Request: Collections extras (url & cover)
Replies: 8
Views: 6084

Re: Request: Collections extras (url & cover)

Well then fingers crossed chief wizard agrees to make this happen :)
by AbedlaPaille
12 Jun 2020, 02:49
Forum: Scripting and Automation
Topic: AMC: Subtitle isn't getting the same name as the movie
Replies: 5
Views: 4714

Re: AMC: Subtitle isn't getting the same name as the movie

Now another movie from the same release group (subtitles in a subfolder too) but it works.

log :

Rename movies using [TheMovieDB]
Auto-detect movie from context [C:\Users\Zeus\Downloads\Torrents\Whiplash.2014.1080p.BluRay.x265-RARBG\Whiplash.2014.1080p.BluRay.x265-RARBG.mp4]
Auto-detect movie ...
by AbedlaPaille
12 Jun 2020, 01:28
Forum: Feature Requests and Bug Reports
Topic: Request: Collections extras (url & cover)
Replies: 8
Views: 6084

Request: Collections extras (url & cover)

I'd love the possibility to enrich collections folders with post processing features such as the one we have on simple movies. A link to the tmdb collection page and an import on the cover would be very appreciated. Thanks for reading and keep up the great work !
by AbedlaPaille
11 Jun 2020, 22:56
Forum: Scripting and Automation
Topic: AMC: Subtitle isn't getting the same name as the movie
Replies: 5
Views: 4714

AMC: Subtitle isn't getting the same name as the movie

The movie gets renamed like i want it to:

F:\Plex\Edge of Tomorrow (2014)\Edge of Tomorrow (2014) [BluRay 1080p 5.1 HEVC 10bit 2.2 Mbps].mp4

The .srt gets renamed in a more simple fashion:

F:\Plex\Edge of Tomorrow (2014)\Edge of Tomorrow (2014).en.srt

I'd want the .srt renamed like that:

F ...
by AbedlaPaille
11 Jun 2020, 22:18
Forum: Episode / Movie Naming Scheme
Topic: Replacing slashes in name
Replies: 4
Views: 4103

Re: Replacing slashes in name

Alternatively you can use

Code: Select all

t.slash('-')
by AbedlaPaille
11 Jun 2020, 21:12
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 2199196

Re: How about sharing our format expressions?

https://i.imgur.com/itWWEqh.png

I'm nearly done with my OCD :D

Films is the main one, it's a close relative to plex but with multi entry collection folders and no 'The' prefix. That's how i browse my full library in explorer.

Plex is where things are tidy.

Collections and Studios use a ...
by AbedlaPaille
10 Jun 2020, 00:12
Forum: Episode / Movie Naming Scheme
Topic: Sort movies by year range (e.g. 1900-1999)
Replies: 8
Views: 8114

Re: Sort movies by year range (e.g. 1900-1999)

{
y > 2019 ? '2020'
: y > 2014
? '2015-2019'
: y > 2009
? '2010-2014'
: y > 2004
? '2005-2009'
: y > 1999
? '2000-2004'
: y > 1989
? '1990-1999'
: y > 1979
? '1980-1989'
: y > 1969
? '1970-1979'
: y > 1959
? '1960-1969'
: y > 1949
? '1950-1959'
: '1900-1949 ...
by AbedlaPaille
09 Jun 2020, 20:10
Forum: Scripting and Automation
Topic: process only recently added files within a folder?
Replies: 8
Views: 6172

Re: process only recently added files within a folder?

You're the most helpful dev of all time.
by AbedlaPaille
09 Jun 2020, 14:24
Forum: Scripting and Automation
Topic: process only recently added files within a folder?
Replies: 8
Views: 6172

Re: process only recently added files within a folder?

Just a little thing. Windows stores 3 file ages. Date created, date modified and media created. The snippet you linked is for media created. Can i change it to date created?
by AbedlaPaille
09 Jun 2020, 10:20
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 17
Views: 13933

Re: Using {model} for dealing with collections holistically

I ended up using --filter collection and a 'All' folder within for the single entry ones. Keeps things easy to browse.
by AbedlaPaille
09 Jun 2020, 09:37
Forum: Help and Support
Topic: AMC: Help with Deluge post process on Windows
Replies: 4
Views: 3737

Re: AMC: Help with Deluge post process on Windows

Thanks a lot qBittorent is really good. Can i add extra lines of code to the torrent completed event? qBit doesn't want line breaks. i have a .cmd i run manually for those, maybe i can attach it somehow.
by AbedlaPaille
07 Jun 2020, 06:55
Forum: Help and Support
Topic: AMC: Help with Deluge post process on Windows
Replies: 4
Views: 3737

Re: AMC: Help with Deluge post process on Windows

1. Ahah ok. So i can't just write the filebot command line as usual, i have to add all this :

@ECHO OFF

:: Input Parameters
set ARG_PATH=%1
set ARG_NAME=%2
set ARG_LABEL=%3

:: Configuration
set CONFIG_OUTPUT=%USERPROFILE%/Media

Just curious why?

2. I'm not sure the default config outputs are ...
by AbedlaPaille
07 Jun 2020, 06:23
Forum: Help and Support
Topic: AMC: Help with Deluge post process on Windows
Replies: 4
Views: 3737

AMC: Help with Deluge post process on Windows

The AMC deluge section is for Mac and Linux https://www.filebot.net/forums/viewtopic.php?f=4&t=215#p3382 , can you help me understand how it works on Windows? I'm trying stuff but it's not working yet. Many noob questions.

1. I copy https://github.com/filebot/plugins/blob/master/bash/deluge ...
by AbedlaPaille
05 Jun 2020, 13:42
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 17
Views: 13933

Re: Using {model} for dealing with collections holistically

What would the purpose of a --filter based on collections be? Exclude movie options that don't belong to any collection before matching?

Yes i'm trying to make a hardlink folder just for my multi entry collections. In my head it goes something like that :

filebot -rename -r "F:/Plex/" --db ...
by AbedlaPaille
05 Jun 2020, 12:36
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 17
Views: 13933

Re: Using {model} for dealing with collections holistically

Hi!

{
// missing collection entries
def missing = movie.collection - model.movie

missing.size == movie.collection.size - 1
? 'Single Entry'
: missing.empty
? 'Complete Collection'
: 'Multi Entry'
}

I'm trying to setup a --filter to do something similar. I want to catch all collections ...
by AbedlaPaille
04 Jun 2020, 17:01
Forum: Scripting and Automation
Topic: process only recently added files within a folder?
Replies: 8
Views: 6172

Re: process only recently added files within a folder?

Date added to the computer i meant. AKA the Date created and/or modified fields in your Explorer.
by AbedlaPaille
03 Jun 2020, 18:17
Forum: Scripting and Automation
Topic: process only recently added files within a folder?
Replies: 8
Views: 6172

process only recently added files within a folder?

Something like --filter "age < 3" but for date added instead of release date?
by AbedlaPaille
03 Jun 2020, 05:18
Forum: Help and Support
Topic: access denied ("java.net.NetPermission" "setCookieHandler")
Replies: 4
Views: 2523

Re: access denied ("java.net.NetPermission" "setCookieHandler")

Yeah last stable. I've downloaded the portable last revision, clicked both exe but can't use CLI just GUI? Tried in command line normally but i don't think the portable takes over my version, same problem.
by AbedlaPaille
02 Jun 2020, 23:22
Forum: Help and Support
Topic: access denied ("java.net.NetPermission" "setCookieHandler")
Replies: 4
Views: 2523

access denied ("java.net.NetPermission" "setCookieHandler")

I'm using the Windows 10 app. My format works in GUI, but in CLI i get this error https://pastebin.com/CHqzaSnG

Code: Select all

--format /path/to/MovieFormat.groovy
Used this to pass the format.
by AbedlaPaille
02 Jun 2020, 15:59
Forum: Scripting and Automation
Topic: --apply nfo url
Replies: 7
Views: 5321

Re: --apply nfo url

Fantastic :D

Thanks a lot.
by AbedlaPaille
02 Jun 2020, 15:19
Forum: Scripting and Automation
Topic: --apply nfo url
Replies: 7
Views: 5321

Re: --apply nfo url

When you have a thousand movies and 7 hardlink locations it gets a bit heavy ahah. But no problem, thanks.
by AbedlaPaille
02 Jun 2020, 15:18
Forum: Episode / Movie Naming Scheme
Topic: MultiCD naming: {pi} VS {fn.match(/CD\d/)}
Replies: 12
Views: 124714

Re: MultiCD naming: {pi} VS {fn.match(/CD\d/)}

Yep i'm baffled as well. Completely understand why you wouldn't want to support these shitty encodes with pi.
by AbedlaPaille
31 May 2020, 14:52
Forum: Episode / Movie Naming Scheme
Topic: MultiCD naming: {pi} VS {fn.match(/CD\d/)}
Replies: 12
Views: 124714

Re: MultiCD naming: {pi} VS {fn.match(/CD\d/)}

Gone with the Wind (1939) : https://pastebin.com/ZQWcFrwy

The Godfather - Part II (1974) : https://pastebin.com/KvR1u6PX

La sociologie est un sport de combat (2001) : https://pastebin.com/LV5bGk02
by AbedlaPaille
30 May 2020, 01:09
Forum: Scripting and Automation
Topic: --apply nfo url
Replies: 7
Views: 5321

Re: --apply nfo url

Thanks guys. Another question, does --apply import hardlinks instead of copying companion files when used with a --action hardlink ?
by AbedlaPaille
29 May 2020, 17:03
Forum: Scripting and Automation
Topic: --apply nfo url
Replies: 7
Views: 5321

--apply nfo url

1. Can i modify --apply url to only get imdb links ?

2. Filebot-made .nfos : I've found that readability is improved with UTF8 and XML selected in notepad++. But the <xyz>abc</xyz> format still bothered me so i made it an XML file to open with Excel. Didn't parse it very well (although it's decent ...
by AbedlaPaille
28 May 2020, 08:10
Forum: Help and Support
Topic: info.OriginalLanguage displayLanguage problem
Replies: 6
Views: 4156

Re: info.OriginalLanguage displayLanguage problem

Sorry, was related in my brain as i was suspecting a tmdb error on both. Looking at the title that was poor judgement. Alright, my highlight from tmdb website means nothing then, it is part of a collection. What could cause the {ci} binding to be zero then, tmdb? I've never seen this. Yours display ...
by AbedlaPaille
28 May 2020, 07:18
Forum: Help and Support
Topic: info.OriginalLanguage displayLanguage problem
Replies: 6
Views: 4156

Re: info.OriginalLanguage displayLanguage problem

Is this bugged because of TMDB : https://i.imgur.com/WbMvtiZ.png ?

Because it looks clean on their website : https://i.imgur.com/W2SWVBa.png
by AbedlaPaille
27 May 2020, 15:14
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 2199196

Re: Conditional Structures (if-then-else)

Thanks for the pointers !
by AbedlaPaille
27 May 2020, 15:06
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 2199196

Re: Conditional Structures (if-then-else)

Cheers. So the complex format i posted earlier is pretty sound and i wouldn't be able to optimize its speed much more, correct?

For reference viewtopic.php?f=5&t=11862
by AbedlaPaille
27 May 2020, 12:30
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 2199196

Re: Conditional Structures (if-then-else)

Often find myself in cases where i could use either {any} or { x ? x : y } pretty much interchangeably. In those cases is there a better option ? Like one less hungry in computing power ?
by AbedlaPaille
27 May 2020, 12:24
Forum: Help and Support
Topic: Monsters, Inc.
Replies: 3
Views: 2437

Re: Monsters, Inc.

Oh ok thanks. Can i add to my code this exception and how?

Also folders with extensions? What is windows smoking
by AbedlaPaille
27 May 2020, 12:21
Forum: Help and Support
Topic: Around Filebot
Replies: 4
Views: 2929

Re: Around Filebot

Amazing, i'll get right on to it.
by AbedlaPaille
27 May 2020, 11:58
Forum: Help and Support
Topic: Around Filebot
Replies: 4
Views: 2929

Re: Around Filebot

Thank you, saved me a bit of time and bandwidth. Next step for me seems to be the scary CLI, but it looks really powerful.

If i'm understanding correctly i could in one go make normal renaming happen and hardlink the file some place else ONLY if it matches certain directors, studios etc?
by AbedlaPaille
27 May 2020, 11:34
Forum: Help and Support
Topic: Monsters, Inc.
Replies: 3
Views: 2437

Monsters, Inc.

Struggling to understand what happens here. Why is the point an issue in the folder name? And why is it not an issue in the filename? I'm using the same norm on both as well :?:
by AbedlaPaille
27 May 2020, 11:26
Forum: Help and Support
Topic: info.OriginalLanguage displayLanguage problem
Replies: 6
Views: 4156

Re: info.OriginalLanguage displayLanguage problem

Ok thanks! i've went with that if anyone stumbles on this

Code: Select all

info.OriginalLanguage.toLocale().displayLanguage.replaceAll(/cn/, "Chinese")
I hope it's not too offensive to Cantonese speakers :D
by AbedlaPaille
27 May 2020, 11:13
Forum: Episode / Movie Naming Scheme
Topic: Custom Collections Library
Replies: 0
Views: 5087

Custom Collections Library

You know the Collections page in Plex? Some people tune it with custom collections for an easier access to their media. I did something similar here. The scheme uses 7 top level folder thematics (so far!) and checks for a match in that order :

Studios Marvel Pixar Ghibli
Collections (If more ...
by AbedlaPaille
27 May 2020, 07:56
Forum: Help and Support
Topic: info.OriginalLanguage displayLanguage problem
Replies: 6
Views: 4156

info.OriginalLanguage displayLanguage problem

Code: Select all

{info.OriginalLanguage.toLocale().displayLanguage}
Works like a charm except it displays cn instead of Cantonese https://i.imgur.com/JpYovec.png.

Is this on tmdb's end?
by AbedlaPaille
25 May 2020, 05:03
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 17
Views: 13933

Re: Using {model} for dealing with collections holistically

Holy molly this works ! Genius !! Thanks a lot guys this is fantastic :D
by AbedlaPaille
25 May 2020, 04:29
Forum: Help and Support
Topic: Around Filebot
Replies: 4
Views: 2929

Around Filebot

How do you guys take advantage of your Filebot schemes? Do you only browse your files through Plex/Kodi and your OS file explorer or are there programs between both usages?

As of right now to play around sorting orders on a file explorer i hardlink with different schemes (size, genre, rating ...
by AbedlaPaille
25 May 2020, 04:08
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 17
Views: 13933

Re: Using {model} for dealing with collections holistically

collection with only one movie processed = treat as single movie, collection with more than one = treat as collection
Any help to make this happen?
by AbedlaPaille
17 May 2020, 22:46
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 17
Views: 13933

Re: Using {model} for dealing with collections holistically

I now realize Kim's 2nd expression works, just differently than i assumed. It differenciates based on how many movies are in the processed batch rather than how many movies of the same collection are in the same batch.

e.g. collection with only one movie processed = treat as single movie ...
by AbedlaPaille
17 May 2020, 00:19
Forum: Episode / Movie Naming Scheme
Topic: Rename and move Subtitles properly?
Replies: 7
Views: 14186

Re: Rename and move Subtitles properly?

French scene releases match that yep, but usually those releases use internal subs so they're matched with a textLanguage.

This is my current subs expression:

{any{audio.language[0] != /fr/ && textLanguages =~ /fra/ ? 'VOSTFR' : ''}
{textLanguages =~ /fra/ ? 'VOSTFR' : ''}
{fn.match(/VOSTFR ...
by AbedlaPaille
16 May 2020, 01:40
Forum: Episode / Movie Naming Scheme
Topic: (ask) How to rename movie with filesize in gigabytes
Replies: 8
Views: 8361

Re: (ask) How to rename movie with filesize in gigabytes

Wow we can make stuff happen depending on how many files are in? Cool.

{gigabytes} works great, just wanted 700 MO displayed instead of 0.7 GO in those < 1GO files.
by AbedlaPaille
15 May 2020, 23:52
Forum: Episode / Movie Naming Scheme
Topic: MultiCD naming: {pi} VS {fn.match(/CD\d/)}
Replies: 12
Views: 124714

Re: MultiCD naming: {pi} VS {fn.match(/CD\d/)}

Code: Select all

The file size doesn't matter, but multi-part movie files ideally all have the same video codec, audio codec, same resolution, comparable duration, etc.
That was it in every occurence. Multi part movies that had some of those differing. Had to go manual on them.
by AbedlaPaille
15 May 2020, 23:47
Forum: Episode / Movie Naming Scheme
Topic: [allOf] separators customization
Replies: 5
Views: 4414

Re: [allOf] separators customization

{allOf{1}{2}{3}.joining('-', '[', ']')}

Even cleaner, perfect! I was writing just that in my tests before posting but i was using .join instead of .joining .. grumbles

[edit] Feel terrible because i realise you had already showed me the way in a previous thread.. :? [/edit]

Can it delve ...
by AbedlaPaille
15 May 2020, 23:30
Forum: Episode / Movie Naming Scheme
Topic: Rename and move Subtitles properly?
Replies: 7
Views: 14186

Re: Rename and move Subtitles properly?

How would one go about improving a "is there subs and in what languages?" expression for it to catch attached .srt and their language to parse them on the movie folder name? As of now i can only get internal ones with textLanguages. I feel like i'm coming closer by adding

{if (ext == 'srt' && fn ...
by AbedlaPaille
15 May 2020, 22:41
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 2199196

Re: MediaInfo Inspector

What's the best way to work with files lacking mediainfo, for example audio languages?

I was thinking i might be able to modify the mediainfo audio language directly with the mediainfo program you linked, seems i can only visualize it though.
by AbedlaPaille
14 May 2020, 22:21
Forum: Episode / Movie Naming Scheme
Topic: [allOf] separators customization
Replies: 5
Views: 4414

Re: Learn how {expressions} work and useful Helper Functions

Thanks works perfectly! Can you explain why the .replaceAll becomes needed and/or what the symbols inside mean and do? Or a relevant link for that kind of syntax. Anyway thanks a lot.
by AbedlaPaille
14 May 2020, 17:31
Forum: Episode / Movie Naming Scheme
Topic: [allOf] separators customization
Replies: 5
Views: 4414

[allOf] separators customization

Struggling with an aspect of allOf, separators customization. By default it limits with brackets and puts a comma and a space in between.
.join() custom function acts on comma+space but loses the brackets on both ends.

How to keep the brackets with a custom .join() ? The way to combine variables ...
by AbedlaPaille
12 May 2020, 04:29
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 17
Views: 13933

Re: Using {model} for dealing with collections holistically

Thanks guys. Kim the first one works great but does the second one work on your end?
by AbedlaPaille
09 May 2020, 18:47
Forum: Episode / Movie Naming Scheme
Topic: (ask) How to rename movie with filesize in gigabytes
Replies: 8
Views: 8361

Re: (ask) How to rename movie with filesize in gigabytes


So you're switching your format for each file!? Just a condition that formats files differently depending on their file size.
{file.length() < 1e6 ? (file.length()/1e6).toFloat().round() + ' MB' : (file.length()/1e9).toFloat().round(1) + ' GB'}


Is this supposed to display 0.8 GB ? Thought it ...
by AbedlaPaille
09 May 2020, 18:41
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 17
Views: 13933

Using {model} for dealing with collections holistically

Amazing stuff, delighted about this. Getting euphoria rushes working on my format scheme, filebot comfirmed more thrilling than most AAA games :D

Question:

{model.episode.containsAll(episodelist) ? '[complete]' : '[incomplete]'}

Possible to adapt this to collections? No success so far but i'm ...
by AbedlaPaille
07 May 2020, 15:41
Forum: Help and Support
Topic: Collections & Standardising Movies Names
Replies: 5
Views: 3894

Re: Collections & Standardising Movies Names


1.
Since the Naming and organizing your Movie files documentation is very specific about folder structure, and doesn't have anything to say about collection folders, adding collection folders will likely break things.

:arrow: https://support.plex.tv/articles/naming-and-organizing-your-movie ...
by AbedlaPaille
07 May 2020, 14:50
Forum: Episode / Movie Naming Scheme
Topic: MultiCD naming: {pi} VS {fn.match(/CD\d/)}
Replies: 12
Views: 124714

Re: MultiCD naming: {pi} VS {fn.match(/CD\d/)}

What reasons could there be for the {pi} binding to not catch a few of my multi-part movies that are named the same, processed in the same input and matched to the same movie by theMovieDB? It doesn't display CD123, but the binding otherwise works on about half my multi part movies, bit weird. The ...
by AbedlaPaille
07 May 2020, 14:45
Forum: Help and Support
Topic: rename one subtitle if it has the same name as another one
Replies: 13
Views: 10706

Re: rename one subtitle if it has the same name as another one


Have you tried something like this yet?

The {di} duplicate index and {dc} duplicate count should do the job:
{if (dc > 1) ".part$di"}
https://i.snipboard.io/wIUKDc.jpg



{if (dc > 1) " ($di)"}

This has been a time savior, thank you so much. But why doesn't it take into consideration ...
by AbedlaPaille
04 May 2020, 13:56
Forum: Episode / Movie Naming Scheme
Topic: Original Language tag
Replies: 1
Views: 2830

Original Language tag

Is it possible to display a {info.originalLanguage} tag in full instead of the two letter abreviation? eg KOREAN instead of KO. Something similar to audio.Languages[0].name but idk if themovieDB allows it.
by AbedlaPaille
04 May 2020, 07:01
Forum: Episode / Movie Naming Scheme
Topic: Move and rename files but keep Plex link?
Replies: 2
Views: 4169

Re: Move and rename files but keep Plex link?

Thanks a lot, seems to be working well !

Hardlinks are straight amazing, wow. I can have a windows folder by director and another by title, all that without losing space. Man, this is ridiculously good.
by AbedlaPaille
02 May 2020, 05:18
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 2199196

Re: Conditional Structures (if-then-else)

Didn't get that sorry, bit of a noob. How do you suggest i write info.OriginalLanguage =~ /en/ ? primaryTitle : n if it's within a {any{'/'/' }{'/'/' }} path? Most syntax i tried don't seem to be working. And what am i missing when it comes to displaying potential attributes on folders like i do ...
by AbedlaPaille
01 May 2020, 23:55
Forum: Episode / Movie Naming Scheme
Topic: Move and rename files but keep Plex link?
Replies: 2
Views: 4169

Move and rename files but keep Plex link?

I've found out you can use copy instead of rename to keep Plex links. Scan the Plex library to include the new duplicates, remove original files, rescan.

After reading this thread https://www.filebot.net/forums/viewtopic.php?t=10976 i'm wondering if you could take advantage of those keeplink ...