From 67312dbfa0fa104d7c3c694ecf59db05f0bb1d2a Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 26 Mar 2016 07:42:39 +0000 Subject: [PATCH] Update docs --- .../net/filebot/format/MediaBindingBean.java | 4 +-- website/naming.html | 36 +++++++++++++++++-- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index fe62e76c..7e2ab3da 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -385,7 +385,7 @@ public class MediaBindingBean { List dim = getDimension(); // width-to-height aspect ratio greater than 1.37:1 - return (float) dim.get(0) / dim.get(1) > 1.37f ? "ws" : null; + return (float) dim.get(0) / dim.get(1) > 1.37f ? "WS" : null; } @Define("sdhd") @@ -559,7 +559,7 @@ public class MediaBindingBean { @Define("languages") public Object getSpokenLanguages() { List languages = infoObject instanceof Movie ? (List) getMetaInfo().getProperty("spokenLanguages") : singletonList(getMetaInfo().getProperty("language")); - return languages.stream().map(it -> new Locale(it.toString()).getDisplayLanguage()).collect(toList()); + return languages.stream().map(it -> new Locale(it.toString()).getDisplayLanguage(Locale.ENGLISH)).collect(toList()); } @Define("actors") diff --git a/website/naming.html b/website/naming.html index 1c45be54..a458d25d 100644 --- a/website/naming.html +++ b/website/naming.html @@ -223,21 +223,36 @@ audio channels 6ch + + channels + audio channels + 5.1 + resolution video size 1280x720 + + minutes + Duration in minutes + 42 + ws - widescreen flag - ws + widescreen tag + WS sdhd SD/HD video SD or HD + + s3d + Stereoscopic 3D tag + 3D SBS + source source medium @@ -253,6 +268,11 @@ crc32 checksum 3E16AF40 + + gigabytes + Filesize in gigabytes + 4.2 + fn original filename @@ -285,9 +305,14 @@ lang - detect subtitle language + language tag eng + + subt + subtitle tags + .eng.forced + collection movie set @@ -308,6 +333,11 @@ list of genres [Science Fiction, Action, ...] + + languages + list of spoken languages + [English, German, ...] + certification content rating