Update docs

This commit is contained in:
Reinhard Pointner 2016-03-26 07:42:39 +00:00
parent e1c2d7bd2c
commit 67312dbfa0
2 changed files with 35 additions and 5 deletions

View File

@ -385,7 +385,7 @@ public class MediaBindingBean {
List<Integer> 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")

View File

@ -223,21 +223,36 @@
<td>audio channels</td>
<td>6ch</td>
</tr>
<tr>
<td>channels</td>
<td>audio channels</td>
<td>5.1</td>
</tr>
<tr>
<td>resolution</td>
<td>video size</td>
<td>1280x720</td>
</tr>
<tr>
<td>minutes</td>
<td>Duration in minutes</td>
<td>42</td>
</tr>
<tr>
<td>ws</td>
<td>widescreen flag</td>
<td>ws</td>
<td>widescreen tag</td>
<td>WS</td>
</tr>
<tr>
<td>sdhd</td>
<td>SD/HD video</td>
<td>SD or HD</td>
</tr>
<tr>
<td>s3d</td>
<td>Stereoscopic 3D tag</td>
<td>3D SBS</td>
</tr>
<tr>
<td>source</td>
<td>source medium</td>
@ -253,6 +268,11 @@
<td>crc32 checksum</td>
<td>3E16AF40</td>
</tr>
<tr>
<td>gigabytes</td>
<td>Filesize in gigabytes</td>
<td>4.2</td>
</tr>
<tr>
<td>fn</td>
<td>original filename</td>
@ -285,9 +305,14 @@
</tr>
<tr>
<td>lang</td>
<td>detect subtitle language</td>
<td>language tag</td>
<td>eng</td>
</tr>
<tr>
<td>subt</td>
<td>subtitle tags</td>
<td>.eng.forced</td>
</tr>
<tr>
<td>collection</td>
<td>movie set</td>
@ -308,6 +333,11 @@
<td>list of genres</td>
<td>[Science Fiction, Action, ...]</td>
</tr>
<tr>
<td>languages</td>
<td>list of spoken languages</td>
<td>[English, German, ...]</td>
</tr>
<tr>
<td>certification</td>
<td>content rating</td>