I had to register just to post this (my "beef")
I've been using this thing for a while now and have recently begun combining it with plex. Now the format i've been using for a while now is
{n} - {s00e00} - {t}
apparantly just using and it seems to work fine. Now apparantly i just found out i could simply use {plex}
the thing is with that, that instead of using .nld as the subtitle language identified it uses .dut (which isn't the preferred way). So i can't use {plex} and have to resort to my own method
{n} - {s00e00} - {t}.{lang} which correctly uses the preferred identifier. However, plex supports 2 language identifier conventions. The 2 letter version .nl in this case and the 3 letter version. .nld. I prefer to use the first method and not the latter. How do i force Filebot to use the 2 letter version. I'd also recommend updating the plex one to use nl/nld instead of "dut"
The problem with my preferred method
{n} - {s00e00} - {t}.{lang}
is that it adds a trailing dot after the video filename too, how do i prevent that from happening
eg
showname - s01e01 - titlename..avi
showname - s01e01 - titlename.nld.avi
Plex-compatible language codes
Re: Plex naming format and filebot override
1.
The {plex} binding and the {subt} binding will force ISO 639-2/B language codes which is exactly what Plex prefers by specification:
https://support.plex.tv/hc/en-us/articl ... Your-Media
If you use {lang} you will get a Language object and the default String representation will be the ISO 639-3 language code.
2.
See Example 2: http://www.filebot.net/forums/viewtopic.php?f=5&t=2#p51
The {plex} binding and the {subt} binding will force ISO 639-2/B language codes which is exactly what Plex prefers by specification:
https://support.plex.tv/hc/en-us/articl ... Your-Media
If you use {lang} you will get a Language object and the default String representation will be the ISO 639-3 language code.
2.
See Example 2: http://www.filebot.net/forums/viewtopic.php?f=5&t=2#p51
Code: Select all
{'.'+lang}
Re: Plex naming format and filebot override
yeah i figured that out as i said, that's not the question.
that page sais absolutely NOTHING about the 3-letter being preferred. I tripple checked that page. Both are acceptable. The {'.'+lang} fixed the extra dot, but i prefer the 2 letter version.Where [Language_Code] is defined by the ISO-639-1 (2-letter) or ISO-639-2/B (3-letter) standard.
Re: Plex naming format and filebot override
1.
Plex prefers ISO-639-1 or ISO-639-2/B codes. It does not like ISO 639-3 which is sad because that would be the latest and greatest among the language code standards.
That means:
.nl = OK
.dut = OK
.nld = BAD (ISO-639-2/T and ISO-639-3 not supported by Plex)
2.
FileBot does support ISO-639-1 2-letter codes:
Plex prefers ISO-639-1 or ISO-639-2/B codes. It does not like ISO 639-3 which is sad because that would be the latest and greatest among the language code standards.
That means:
.nl = OK
.dut = OK
.nld = BAD (ISO-639-2/T and ISO-639-3 not supported by Plex)
2.
FileBot does support ISO-639-1 2-letter codes:
Code: Select all
{'.'+lang.ISO2}
Re: Plex-compatible language codes
i won't argue that it doesn't accept 636-3, that's something you'll need to discuss with them 
Awesome to see that there's a way to use my 2 letter preference AND one that is supported by PLEX. It's exactly what i want/Need. Thanks a lot. Now filebot can do exactly what i need/want to do.

Awesome to see that there's a way to use my 2 letter preference AND one that is supported by PLEX. It's exactly what i want/Need. Thanks a lot. Now filebot can do exactly what i need/want to do.