mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2025-02-16 19:38:26 +00:00
Merge pull request #642 from WebTools-NG/ukdtom/issue621
[RFE] ET Audio Display title shorten
This commit is contained in:
commit
a94349a691
5 changed files with 15 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
* [#619 Allow to paste token into login screen](https://github.com/WebTools-NG/WebTools-NG/issues/619) (Enhancement)
|
||||
* [#507 Download Module (Movies)](https://github.com/WebTools-NG/WebTools-NG/issues/507) (Enhancement)
|
||||
* [#625 Media Info HDR types in Export](https://github.com/WebTools-NG/WebTools-NG/issues/625) (Enhancement)
|
||||
* [#621 ET Audio Display title shorten](https://github.com/WebTools-NG/WebTools-NG/issues/621) (Enhancement)
|
||||
|
||||
## V1.1.2 ( 20220925 )
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
"Audio Stream Channels",
|
||||
"Audio Stream Codec ID",
|
||||
"Audio Stream Codec",
|
||||
"Audio Stream Codec (Human)",
|
||||
"Audio Stream Default",
|
||||
"Audio Stream Display Title",
|
||||
"Audio Stream Duration",
|
||||
|
|
|
@ -145,6 +145,14 @@
|
|||
"subtype": "string",
|
||||
"subkey": "codec"
|
||||
},
|
||||
"Audio Stream Codec (Human)": {
|
||||
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
|
||||
"call": 2,
|
||||
"type": "array",
|
||||
"subtype": "string",
|
||||
"subkey": "$.displayTitle",
|
||||
"postProcess": true
|
||||
},
|
||||
"Audio Stream Codec ID":
|
||||
{
|
||||
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
|
||||
|
|
|
@ -52,8 +52,10 @@
|
|||
"Audio Stream Bitrate Mode",
|
||||
"Audio Stream Channels",
|
||||
"Audio Stream Codec",
|
||||
"Audio Stream Codec (Human)",
|
||||
"Audio Stream Codec ID",
|
||||
"Audio Stream Default",
|
||||
"Audio Stream Display Title",
|
||||
"Audio Stream Duration",
|
||||
"Audio Stream Index",
|
||||
"Audio Stream Language",
|
||||
|
|
|
@ -552,6 +552,9 @@ const etHelper = new class ETHELPER {
|
|||
case "Audience Rating":
|
||||
retVal = val.substring(0, 3);
|
||||
break;
|
||||
case "Audio Stream Codec (Human)":
|
||||
retVal = val.match('\\((.*?)\\)')[1];
|
||||
break;
|
||||
case "Episode Count (Cloud)":
|
||||
retVal = wtconfig.get('ET.NotAvail');
|
||||
if ( this.Settings.showInfo['Episode Count (Cloud)']){
|
||||
|
|
Loading…
Add table
Reference in a new issue