Now both Media and Media.Part in the JSON object about a stream is a list and need to index the first element of the stream to get this info.
This commit is contained in:
@@ -15,6 +15,8 @@ function convertStreamToMediaInfo(plexStream) {
|
||||
mediaInfo.container = plexStream.container;
|
||||
mediaInfo.audioCodec = plexStream.audioCodec;
|
||||
|
||||
console.log(mediaInfo)
|
||||
|
||||
return mediaInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user