Socket
Socket
Sign inDemoInstall

plex-api-oauth

Package Overview
Dependencies
25
Maintainers
1
Versions
294
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.2 to 1.2.3

2

package.json
{
"name": "plex-api-oauth",
"version": "1.2.2",
"version": "1.2.3",
"description": "An NPM Module designed to make Plex Media Server and plex.tv API calls easier to implement in JavaScript and React projects",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -1320,42 +1320,43 @@ import { PlexOauth } from "plex-oauth";

for (const hubAlbum of relatedArtistHub) {
const album = hubAlbum.Metadata;
relatedArtists.push({
server: server.clientIdentifier,
library: musicLibrary.uuid,
Director: album.Director,
Genre: album.Genre,
addedAt: album.addedAt,
guid: album.guid,
index: album.index,
key: album.key,
lastViewedAt: album.lastViewedAt,
loudnessAnalysisVersion: album.loudnessAnalysisVersion,
musicAnalysisVersion: album.musicAnalysisVersion,
originallyAvailableAt: album.originallyAvailableAt,
parentGuid: album.parentGuid,
parentKey: album.parentKey,
parentRatingKey: album.parentRatingKey,
parentThumb: album.parentThumb,
parentTitle: album.parentTitle,
rating: album.rating,
ratingKey: album.ratingKey,
studio: album.studio,
summary: album.summary,
thumb:
server.preferredConnection.uri +
"/photo/:/transcode?" +
qs.stringify({
width: 240,
height: 240,
minSize: 1,
upscale: 1,
url: album.thumb + "?X-Plex-Token=" + server.accessToken,
"X-Plex-Token": server.accessToken,
}),
title: album.title,
type: album.type,
updatedAt: album.updatedAt,
viewCount: album.viewCount,
year: album.year,
});
for (const album of hubAlbum.Metadata) {
relatedArtists.push({
server: server.clientIdentifier,
library: musicLibrary.uuid,
Director: album.Director,
Genre: album.Genre,
addedAt: album.addedAt,
guid: album.guid,
index: album.index,
key: album.key,
lastViewedAt: album.lastViewedAt,
loudnessAnalysisVersion: album.loudnessAnalysisVersion,
musicAnalysisVersion: album.musicAnalysisVersion,
originallyAvailableAt: album.originallyAvailableAt,
parentGuid: album.parentGuid,
parentKey: album.parentKey,
parentRatingKey: album.parentRatingKey,
parentThumb: album.parentThumb,
parentTitle: album.parentTitle,
rating: album.rating,
ratingKey: album.ratingKey,
studio: album.studio,
summary: album.summary,
thumb:
server.preferredConnection.uri +
"/photo/:/transcode?" +
qs.stringify({
width: 240,
height: 240,
minSize: 1,
upscale: 1,
url: album.thumb + "?X-Plex-Token=" + server.accessToken,
"X-Plex-Token": server.accessToken,
}),
title: album.title,
type: album.type,
updatedAt: album.updatedAt,
viewCount: album.viewCount,
year: album.year,
});
}
}

@@ -1362,0 +1363,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc