Plex api update #105

Merged
KevinMidboe merged 2 commits from plex_api_update into master 2018-07-28 14:17:33 +00:00
Showing only changes of commit 86e9188a5c - Show all commits

View File

@@ -75,7 +75,7 @@ class PlexRepository {
return rp(options)
.then((result) => {
if (result.MediaContainer.size > 0) {
const playing = result.MediaContainer.Video.map(convertPlexToStream);
const playing = result.MediaContainer.Metadata.map(convertPlexToStream);
return { size: Object.keys(playing).length, video: playing };
}
return { size: 0, video: [] };