plex-media-player icon indicating copy to clipboard operation
plex-media-player copied to clipboard

Plex Media Player 2.38.0.999-e14e4d74 No result in /clients or /resources

Open Ghawken opened this issue 5 years ago • 3 comments

Windows 10

PMS :1.16.3.1402 PMP 2.38.0.999:

Either PMP or PMS issue.

As of these versions both /clients and /resources DO NOT include Plex Media Player results Both when open and browsing and when playing...

eg., - there is PMS client playing here unseen <MediaContainer size="2"> <Server name="Chrome" host="192.168.1.206" address="192.168.1.206" port="32400" machineIdentifier="pii7fom32s6xx6nzjo67es71" version="3.99.2" protocol="plex" product="Plex Web" deviceClass="pc" protocolVersion="3" protocolCapabilities="timeline,playback,navigation,mirror,playqueues"/> <Server name="Chrome" host="192.168.1.206" address="192.168.1.206" port="32400" machineIdentifier="tptp8oxx67a91cltxawmpa92" version="3.104.2" protocol="plex" product="Plex Web" deviceClass="pc" protocolVersion="3" protocolCapabilities="timeline,playback,navigation,mirror,playqueues"/> </MediaContainer>

Plex Media Player- open

/sessions - does include Plex Media Player when playing only

This causes breaking functioning

Glenn

Ghawken avatar Jul 27 '19 23:07 Ghawken

Hi @Ghawken, I've fired up 2.38.0.999 the requested plex.tv/api/resources. I receive a PMP Device element:

<Device name="Plex Media Player" product="Plex Web" productVersion="4.1.0" platform="Plex Media Player" platformVersion="2.38.0" device="OSX" clientIdentifier="{CLIENT_ID}" createdAt="1559951486" lastSeenAt="1564519416" provides="client,player,pubsub-player" owned="1" publicAddress="{PUBLIC_ADDRESS}" publicAddressMatches="1" presence="1" accessToken="{TOKEN}">
<Connection protocol="https" address="10.0.0.10" port="32400" uri="https://10-0-0-10.59e2b8e0ecdb40daa323178abd0222a2.plex.direct:32400" local="1"/>
<Connection protocol="https" address="10.0.0.9" port="32400" uri="https://10-0-0-9.59e2b8e0ecdb40daa323178abd0222a2.plex.direct:32400" local="1"/>
</Device>

Publishing of PMP as a Device is orthogonal to PMS.

Playing a video in PMP 2.38.0.999 also shows the proper /session information on the source PMS. The below was screenshotted from the Dashboard for my local server.

image

Are you certain PMP and your API requests are tokened correctly?

mseeley avatar Jul 30 '19 20:07 mseeley

Ah, perhaps you were meaning /statistics/resources PMS endpoint? Thank you for clarifying.

mseeley avatar Jul 30 '19 20:07 mseeley

Hi Thanks for reply

Server on 192.168.1.206 PMP on 192.168.1.97

Plex Media Player Running on 192.168.1.97

Application on 192.168.1.97

Authenicates at Plex, gets token Then calls: http://192.168.1.206:32400/clients?X-Plex-Token={TOKEN}

Results:

<?xml version="1.0" encoding="UTF-8"?>
--
  | <MediaContainer size="1">
  | <Server name="Chrome" host="192.168.1.206" address="192.168.1.206" port="32400" machineIdentifier="pii7fom32s6xx6nzjo67es71" version="3.104.2" protocol="plex" product="Plex Web" deviceClass="pc" protocolVersion="3" protocolCapabilities="timeline,playback,navigation,mirror,playqueues" />
  | </MediaContainer>

Also http://192.168.1.206:32400/resources?X-Plex-Token={TOKEN}

Returns nothing... (Plex Media Player is Running and playing)

`

 
  <MediaContainer size="0">
  </MediaContainer>
`

If nothing playing: http://192.168.1.206:32400/status/sessions?X-Plex-Token={TOKEN}

Returns:

<?xml version="1.0" encoding="UTF-8"?>
--
  | <MediaContainer size="1">
  | <Server name="Chrome" host="192.168.1.206" address="192.168.1.206" port="32400" machineIdentifier="pii7fom32s6xx6nzjo67es71" version="3.104.2" protocol="plex" product="Plex Web" deviceClass="pc" protocolVersion="3" protocolCapabilities="timeline,playback,navigation,mirror,playqueues" />
  | </MediaContainer>

Previously /clients listed the running clients - but Plex Media Player is not here, ever - this means app cannot ever find the local playback client.

If something playing... http://192.168.1.206:32400/status/sessions?X-Plex-Token={TOKEN}

<?xml version="1.0" encoding="UTF-8"?>
--
  | <MediaContainer size="1">
  | <Video addedAt="1349997590" art="/library/metadata/13895/art/1533019572" contentRating="TV-PG" duration="2524773" grandparentArt="/library/metadata/13895/art/1533019572" grandparentGuid="com.plexapp.agents.xbmcnfotv://257655?lang=xn" grandparentKey="/library/metadata/13895" grandparentRatingKey="13895" grandparentTheme="/library/metadata/13895/theme/1533019572" grandparentThumb="/library/metadata/13895/thumb/1533019572" grandparentTitle="Arrow" guid="com.plexapp.agents.xbmcnfotv://257655/1/1?lang=xn" index="1" key="/library/metadata/13897" lastViewedAt="1564556025" librarySectionID="3" librarySectionKey="/library/sections/3" librarySectionTitle="TV Shows" originallyAvailableAt="2012-10-10" parentGuid="com.plexapp.agents.xbmcnfotv://257655/1?lang=xn" parentIndex="1" parentKey="/library/metadata/13896" parentRatingKey="13896" parentThumb="/library/metadata/13896/thumb/1533019572" parentTitle="Season 1" ratingKey="13897" sessionKey="1" summary="After a violent shipwreck, billionaire playboy Oliver Queen was missing and presumed dead for five years before being discovered alive on a remote island in the Pacific. Back in Starling City, Oliver slowly reconnects with those closest to him. Oliver has brought back many new skills from his time on the island and despite the watchful eye of his new bodyguard John Diggle, Oliver manages to secretly create the persona of Arrow -- a vigilante -- to right the wrongs of his family and fight the ills of society. As Arrow, Oliver will atone for the past sins of his family while he searches for the personal redemption he needs." thumb="/library/metadata/13897/thumb/1533022614" title="Pilot" type="episode" updatedAt="1533022614" viewOffset="520000" year="2012">
  | <Media aspectRatio="1.78" audioChannels="6" audioCodec="ac3" bitrate="4909" container="mkv" duration="2524773" height="720" id="12831" videoCodec="h264" videoFrameRate="24p" videoProfile="high" videoResolution="720" width="1280" selected="1">
  | <Part container="mkv" duration="2524773" file="\\Media\tvss\Arrow\Arrow..iso" id="32098" key="/library/parts/32098/1349997590/file.mkv" size="1549178519" videoProfile="high" decision="directplay" selected="1">
  | <Stream bitDepth="8" bitrate="4525" chromaLocation="left" chromaSubsampling="4:2:0" codec="h264" displayTitle="720p (H.264)" frameRate="23.976" hasScalingMatrix="0" height="720" id="79328" index="0" language="English" languageCode="eng" level="41" profile="high" refFrames="8" scanType="progressive" streamType="1" width="1280" location="direct" />
  | <Stream audioChannelLayout="5.1(side)" bitrate="384" channels="6" codec="ac3" default="1" displayTitle="Unknown (AC3 5.1)" id="79329" index="1" samplingRate="48000" selected="1" streamType="2" location="direct" />
  | </Part>
  | </Media>
  | <User id="1" thumb="https://plex.tv/users/93f84s1111/avatar?c=1530579598" title="ghawken" />
  | <Player address="192.168.1.97" device="Windows" machineIdentifier="lqpa16zf123qy3nmi" model="10" platform="Konvergo" platformVersion="2.38.0.999-e14e4d74" product="Plex Media Player" profile="Konvergo" remotePublicAddress="" state="playing" title="Home-PC" vendor="" version="3.104.1" local="1" relayed="0" secure="1" userID="1" />
  | <Session id="by121k1yczux1mdax4un" bandwidth="15299" location="lan" />
  | </Video>
  | </MediaContainer>


Edited by @mseeley to only user's personal information.

Ghawken avatar Jul 31 '19 07:07 Ghawken