This commit is contained in:
UKDTOM 2021-03-06 14:25:55 +01:00
parent c24360949a
commit bb1d70d880
6 changed files with 1139 additions and 2986 deletions

View file

@ -148,882 +148,6 @@
"Writers",
"Year"
]
},
"fields": {
"Intro Start":
{
"key": "$.Marker[?(@.type=='intro')]",
"call": 2,
"type": "array",
"subtype": "time",
"subkey": "$.startTimeOffset"
},
"Intro Stop":
{
"key": "$.Marker[*]",
"call": 2,
"type": "array",
"subtype": "time",
"subkey": "$.endTimeOffset"
},
"Media Video Resolution":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoResolution"
},
"Media Video Duration":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "time",
"subkey": "$.duration"
},
"Media Video Bitrate":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.bitrate"
},
"Media Video Width":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.width"
},
"Media Video Height":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.height"
},
"Media Aspect Ratio":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.aspectRatio"
},
"Media Audio Channels":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.audioChannels"
},
"Media Audio Codec":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.audioCodec"
},
"Media Video Codec":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoCodec"
},
"Media Container":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.container"
},
"Media Video FrameRate":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoFrameRate"
},
"Media Video Profile":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoProfile"
},
"Media Title":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.title"
},
"Extras":
{
"key": "$.Extras.size",
"call": 2,
"type": "int"
},
"Audio Stream Extended Display Title":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.extendedDisplayTitle"
},
"Audio Stream Display Title":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.displayTitle"
},
"Audio Stream Title":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.title"
},
"Audio Stream Bitrate":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitrate"
},
"Audio Stream Language":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "language"
},
"Audio Stream Language Code":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "languageCode"
},
"Audio Stream Audio Channel Layout":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "audioChannelLayout"
},
"Audio Stream Bit Depth":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitDepth"
},
"Audio Stream Selected":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "selected"
},
"Audio Stream Default":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "default"
},
"Audio Stream Codec":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.codec"
},
"Audio Stream Index":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "index"
},
"Audio Stream Bitrate Mode":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitrateMode"
},
"Audio Stream Codec ID":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.codecID"
},
"Audio Stream Duration":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.duration"
},
"Audio Stream Profile":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.profile"
},
"TVDB ID":
{
"key": "$.Guid[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.id",
"postProcess": true
},
"MetaData Language":
{
"key": "$.guid",
"call": 2,
"type": "string",
"postProcess": true
},
"IMDB ID":
{
"key": "$.Guid[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.id",
"postProcess": true
},
"IMDB Link":
{
"key": "$.Guid[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.id",
"postProcess": true
},
"TMDB ID":
{
"key": "$.Guid[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.id",
"postProcess": true
},
"Part File Combined":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.file"
},
"Part File":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"postProcess": true,
"subtype": "string",
"subkey": "$.file"
},
"Part File Path":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"postProcess": true,
"subtype": "string",
"subkey": "$.file"
},
"Part Duration":
{
"key": "$..Media[*].Part[?(@.key.startsWith('/library/parts'))]",
"call": 2,
"type": "array",
"postProcess": false,
"subtype": "time",
"subkey": "$.duration"
},
"Part Size":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"postProcess": true,
"subtype": "string",
"subkey": "$.size"
},
"Part Size as Bytes":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.size"
},
"Part Container":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.container"
},
"Part Video Profile":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoProfile"
},
"Part Optimized for Streaming":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.optimizedForStreaming"
},
"Part Indexed":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.indexes"
},
"Part Deep Analysis Version":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.deepAnalysisVersion"
},
"Video Stream Title":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "title"
},
"Video Stream Default":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "default"
},
"Video Stream Codec":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "codec"
},
"Video Stream Codec ID":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "codecID"
},
"Video Stream Chroma Sub Sampling":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "chromaSubsampling"
},
"Video Stream Cabac":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "cabac"
},
"Video Stream Bit Depth":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitDepth"
},
"Video Stream Language Code":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "languageCode"
},
"Video Stream Language":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "language"
},
"Video Stream Color Range":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "colorRange"
},
"Video Stream Color Space":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "colorSpace"
},
"Video Stream Color Primaries":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "colorPrimaries"
},
"Video Stream Color Trc":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "colorTrc"
},
"Video Stream Duration":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "duration"
},
"Video Stream Frame Rate":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "frameRate"
},
"Video Stream Frame Rate Mode":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "frameRateMode"
},
"Video Stream Has Scaling Matrix":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "hasScalingMatrix"
},
"Video Stream Height":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "height"
},
"Video Stream Width":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "width"
},
"Video Stream Level":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "level"
},
"Video Stream Pixel Format":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "pixelFormat"
},
"Video Stream Profile":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "profile"
},
"Video Stream Ref Frames":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "refFrames"
},
"Video Stream Scan Type":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "scanType"
},
"Video Stream Required Bandwidths":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "requiredBandwidths"
},
"Accessible":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.accessible"
},
"Exists":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.exists"
},
"Part Required Bandwidths":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.requiredBandwidths"
},
"Subtitle Header Compression":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "headerCompression"
},
"Subtitle Stream Required Bandwidths":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "requiredBandwidths"
},
"Subtitle Stream Selected":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "selected"
},
"Subtitle Stream Title":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "title"
},
"Subtitle Stream Format":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "format"
},
"Subtitle Stream Codec ID":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "codecID"
},
"Subtitle Stream Language Code":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.languageCode"
},
"Subtitle Stream Language":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.language"
},
"Subtitle Stream Index":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.index"
},
"Subtitle Stream Forced":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.forced"
},
"Subtitle Stream Codec":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.codec"
},
"Audio Stream Required Bandwidths":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.requiredBandwidths"
},
"Audio Stream Sampling Rate":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.samplingRate"
},
"Video Stream Bitrate":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitrate"
},
"Video Stream Index":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "index"
},
"Audio Stream Channels":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "channels"
},
"Media ID":
{
"key": "$.ratingKey",
"call": 1,
"type": "string"
},
"Series Title":
{
"key": "$.grandparentTitle",
"call": 1,
"type": "string"
},
"Sort title":
{
"key": "$.titleSort",
"call": 1,
"type": "string",
"postProcess": true
},
"Title":
{
"key": "$.title",
"call": 1,
"type": "string"
},
"Year":
{
"key": "$.year",
"call": 1,
"type": "string"
},
"Season":
{
"key": "$.parentIndex",
"call": 1,
"type": "string"
},
"Episode":
{
"key": "$.index",
"call": 1,
"type": "string"
},
"Content Rating":
{
"key": "$.contentRating",
"call": 1,
"type": "string"
},
"Summary":
{
"key": "$.summary",
"call": 1,
"type": "string"
},
"Rating":
{
"key": "$.rating",
"call": 1,
"type": "string"
},
"User Rating":
{
"key": "$.userRating",
"call": 1,
"type": "string"
},
"Release Date":
{
"key": "$..originallyAvailableAt",
"call": 1,
"type": "string"
},
"Directors":
{
"key": "$.Director[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"Writers":
{
"key": "$.Writer[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"Duration":
{
"key": "$.duration",
"call": 1,
"type": "time"
},
"Added":
{
"key": "$.addedAt",
"call": 1,
"type": "datetime"
},
"Updated":
{
"key": "$.updatedAt",
"call": 1,
"type": "datetime"
},
"Poster url":
{
"key": "$.thumb",
"call": 1,
"type": "string"
},
"Locked Fields":
{
"key": "$.Field[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.name"
},
"View Count":
{
"key": "viewCount",
"call": 1,
"type": "string"
},
"Deleted":
{
"key": "$.deletedAt",
"call": 1,
"type": "datetime"
}
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -162,981 +162,6 @@
"Subtitle Stream Index",
"Part Video Profile"
]
},
"fields": {
"Part Video Profile":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoProfile"
},
"Subtitle Stream Index":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.index"
},
"Media ID":
{
"key": "$.ratingKey",
"call": 1,
"type": "string"
},
"Title":
{
"key": "$.title",
"call": 1,
"type": "string"
},
"Sort title":
{
"key": "$.titleSort",
"call": 1,
"type": "string",
"postProcess": true
},
"Studio":
{
"key": "$.studio",
"call": 1,
"type": "string"
},
"Content Rating":
{
"key": "$.contentRating",
"call": 1,
"type": "string"
},
"Year":
{
"key": "$.year",
"call": 1,
"type": "string"
},
"Rating":
{
"key": "$.rating",
"call": 1,
"type": "string"
},
"Summary":
{
"key": "$.summary",
"call": 1,
"type": "string"
},
"Genre":
{
"key": "$.Genre[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"View Count":
{
"key": "viewCount",
"call": 1,
"type": "string"
},
"Last Viewed at":
{
"key": "$..lastViewedAt",
"call": 1,
"type": "datetime"
},
"Tagline":
{
"key": "tagline",
"call": 1,
"type": "string"
},
"Release Date":
{
"key": "$..originallyAvailableAt",
"call": 1,
"type": "string"
},
"Writers":
{
"key": "$.Writer[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"Country":
{
"key": "$.Country[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"Duration":
{
"key": "$.duration",
"call": 1,
"type": "time"
},
"Directors":
{
"key": "$.Director[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"Roles":
{
"key": "$.Role[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"IMDB ID":
{
"key": "$.Guid[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.id",
"postProcess": true
},
"IMDB Link":
{
"key": "$.Guid[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.id",
"postProcess": true
},
"TMDB ID":
{
"key": "$.Guid[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.id",
"postProcess": true
},
"TMDB Link":
{
"key": "$.Guid[*]",
"call": 1,
"type": "array",
"subtype": "string",
"subkey": "$.id",
"postProcess": true
},
"Audience Rating":
{
"key": "audienceRating",
"call": 1,
"type": "string"
},
"User Rating":
{
"key": "userRating",
"call": 1,
"type": "string"
},
"Labels":
{
"key": "$.Label[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"Locked Fields":
{
"key": "$.Field[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.name"
},
"Extras":
{
"key": "$.Extras.size",
"call": 2,
"type": "int"
},
"Extras-behindthescenes":
{
"key": "$..Extras.Metadata[?(@.subtype=='behindTheScenes')].ratingKey",
"call": 2,
"type": "array-count"
},
"Extras-deleted":
{
"key": "$..Extras.Metadata[?(@.subtype=='deleted')].ratingKey",
"call": 2,
"type": "array-count"
},
"Extras-featurette":
{
"key": "$..Extras.Metadata[?(@.subtype=='featurette')].ratingKey",
"call": 2,
"type": "array-count"
},
"Extras-interview":
{
"key": "$..Extras.Metadata[?(@.subtype=='interview')].ratingKey",
"call": 2,
"type": "array-count"
},
"Extras-scene":
{
"key": "$..Extras.Metadata[?(@.subtype=='scene')].ratingKey",
"call": 2,
"type": "array-count"
},
"Extras-short":
{
"key": "$..Extras.Metadata[?(@.subtype=='short')].ratingKey",
"call": 2,
"type": "array-count"
},
"Extras-trailer":
{
"key": "$..Extras.Metadata[?(@.subtype=='trailer')].ratingKey",
"call": 2,
"type": "array-count"
},
"Collections":
{
"key": "$.Collection[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"Original Title":
{
"key": "$..originalTitle",
"call": 2,
"type": "string",
"postProcess": true
},
"Added":
{
"key": "$.addedAt",
"call": 1,
"type": "datetime"
},
"Updated":
{
"key": "$.updatedAt",
"call": 1,
"type": "datetime"
},
"Audio Stream Title":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.title"
},
"Subtitle Stream Language":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.language"
},
"Subtitle Stream Title":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.title"
},
"Subtitle Stream Forced":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.forced"
},
"Accessible":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.accessible"
},
"Exists":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.exists"
},
"MetaDB Link":
{
"key": "$.guid",
"call": 2,
"type": "string",
"postProcess": true
},
"MetaData Language":
{
"key": "$.guid",
"call": 2,
"type": "string",
"postProcess": true
},
"Poster url":
{
"key": "$.thumb",
"call": 2,
"type": "string"
},
"Art url":
{
"key": "$.art",
"call": 2,
"type": "string"
},
"Chapter Source":
{
"key": "$.chapterSource",
"call": 2,
"type": "string"
},
"Chapter Title":
{
"key": "$.Chapter[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.tag"
},
"Chapter Count":
{
"key": "$..Chapter[*]",
"call": 2,
"type": "array-count"
},
"Media Video Resolution":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoResolution"
},
"Media Video Bitrate":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.bitrate"
},
"Media Video Width":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.width"
},
"Media Video Height":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.height"
},
"Media Aspect Ratio":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.aspectRatio"
},
"Media Audio Channels":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.audioChannels"
},
"Media Audio Codec":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.audioCodec"
},
"Media Video Codec":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoCodec"
},
"Media Container":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.container"
},
"Media Video FrameRate":
{
"key": "$.Media[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.videoFrameRate"
},
"Part File Combined":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.file"
},
"Part File":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"postProcess": true,
"subtype": "string",
"subkey": "$.file"
},
"Part File Path":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"postProcess": true,
"subtype": "string",
"subkey": "$.file"
},
"Part Size":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"postProcess": true,
"subtype": "string",
"subkey": "$.size"
},
"Part Size as Bytes":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.size"
},
"Part Indexed":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.indexes"
},
"Part Duration":
{
"key": "$..Media[*].Part[?(@.key.startsWith('/library/parts'))]",
"call": 2,
"type": "array",
"postProcess": false,
"subtype": "time",
"subkey": "$.duration"
},
"Part Container":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.container"
},
"Part Optimized for Streaming":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.optimizedForStreaming"
},
"Part Deep Analysis Version":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.deepAnalysisVersion"
},
"Part Required Bandwidths":
{
"key": "$.Media[*].Part[*]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.requiredBandwidths"
},
"Video Stream Title":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "title"
},
"Video Stream Default":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "default"
},
"Video Stream Index":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "index"
},
"Video Stream Pixel Format":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "pixelFormat"
},
"Video Stream Profile":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "profile"
},
"Video Stream Ref Frames":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "refFrames"
},
"Video Stream Scan Type":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "scanType"
},
"Video Stream Stream Identifier":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "streamIdentifier"
},
"Video Stream Width":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "width"
},
"Video Stream Pixel Aspect Ratio":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "pixelAspectRatio"
},
"Video Stream Height":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "height"
},
"Video Stream Has Scaling Matrix":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "hasScalingMatrix"
},
"Video Stream Frame Rate Mode":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "frameRateMode"
},
"Video Stream Frame Rate":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "frameRate"
},
"Video Stream Codec":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "codec"
},
"Video Stream Codec ID":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "codecID"
},
"Video Stream Chroma Sub Sampling":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "chromaSubsampling"
},
"Video Stream Color Primaries":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "colorPrimaries"
},
"Video Stream Color Range":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "colorRange"
},
"Video Stream Color Space":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "colorSpace"
},
"Video Stream Color Trc":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "colorTrc"
},
"Video Stream Cabac":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "cabac"
},
"Video Stream Anamorphic":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "anamorphic"
},
"Video Stream Language Code":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "languageCode"
},
"Video Stream Language":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "language"
},
"Video Stream Bitrate":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitrate"
},
"Video Stream Bit Depth":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitDepth"
},
"Video Stream Duration":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "duration"
},
"Video Stream Required Bandwidths":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "requiredBandwidths"
},
"Video Stream Level":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==1)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "level"
},
"Audio Stream Selected":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "selected"
},
"Audio Stream Default":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "default"
},
"Audio Stream Codec":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "codec"
},
"Audio Stream Index":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "index"
},
"Audio Stream Channels":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "channels"
},
"Audio Stream Bitrate":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitrate"
},
"Audio Stream Language":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "language"
},
"Audio Stream Language Code":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "languageCode"
},
"Audio Stream Audio Channel Layout":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "audioChannelLayout"
},
"Audio Stream Bit Depth":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "bitDepth"
},
"Audio Stream Bitrate Mode":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.bitrateMode"
},
"Audio Stream Codec ID":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.codecID"
},
"Audio Stream Duration":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.duration"
},
"Audio Stream Profile":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.profile"
},
"Audio Stream Sampling Rate":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.samplingRate"
},
"Audio Stream Required Bandwidths":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==2)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.requiredBandwidths"
},
"Subtitle Stream Codec":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.profile"
},
"Subtitle Stream Language Code":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.languageCode"
},
"Subtitle Stream Codec ID":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "codecID"
},
"Subtitle Stream Format":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "format"
},
"Subtitle Stream Selected":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "selected"
},
"Subtitle Stream Required Bandwidths":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "requiredBandwidths"
},
"Subtitle Header Compression":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "headerCompression"
},
"Subtitle Stream Default":
{
"key": "$.Media[*].Part[*].Stream[?(@.streamType==3)]",
"call": 2,
"type": "array",
"subtype": "string",
"subkey": "$.default"
}
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,6 @@
var def;
var defLevels = JSON.parse(JSON.stringify(require('./../defs/def-Levels.json')));
var defFields = JSON.parse(JSON.stringify(require('./../defs/def-Fields.json')));
const log = require('electron-log');
console.log = log.log;
@ -287,19 +288,20 @@ const et = new class ET {
}
getField(libType, fieldName) {
return def[libType]['fields'][fieldName]
return defFields['fields'][fieldName];
}
getFieldType(libType, fieldName) {
return def[libType]['fields'][fieldName]['type']
//return def[libType]['fields'][fieldName]['type']
return defFields['fields'][fieldName]['type'];
}
getFieldCall(libType, fieldName) {
return def[libType]['fields'][fieldName]['call']
return defFields['fields'][fieldName]['call'];
}
getFieldSubtype(libType, fieldName) {
return def[libType]['fields'][fieldName]['subtype']
return defFields['fields'][fieldName]['subtype'];
}
@ -359,7 +361,7 @@ const et = new class ET {
// code block
}
// Get all the fields keys
var filteredFields = JSONPath({path: '$.' + libType + '.fields.*~', json: typeFields});
var filteredFields = JSONPath({path: '$.' + libType + '.level.all.*', json: typeFields});
// Sort them, and add an index as well, so drageble is happy
return filteredFields.sort().map((name, index) => {
return { name, order: index + 1 };