plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.16k stars 170 forks source link

Player timeline poll not accurate #1023

Open somethingp opened 3 years ago

somethingp commented 3 years ago

I'm making a call to my player to do a timeline poll using: 192.168.0.115:32500/player/timeline/poll But my response is not accurate because it shows the state of video as stopped even when video is playing on the player.

<?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="3" commandID="-1" machineIdentifier="7c4aa1eb8fb030cf-com-plexapp-android" >
    <Timeline state="stopped" controllable="skipPrevious,skipNext,stop" type="photo" itemType="photo" />
    <Timeline state="stopped" controllable="playPause,stop,volume,shuffle,repeat,seekTo,skipPrevious,skipNext,stepBack,stepForward" type="music" itemType="music" />
    <Timeline state="stopped" controllable="playPause,stop,volume,audioStream,subtitleStream,seekTo,skipPrevious,skipNext,stepBack,stepForward,subtitleSize,subtitleColor,subtitlePosition,subtitleOffset" type="video" itemType="video" />
</MediaContainer>

I'm including the "X-Plex-Target-Client-Identifier" header. I can control playback using /player/playback/pause and /player/playback/play, so I think my connection parameters are correct.

Why am I not seeing the accurate timeline information when I perform the timeline poll? My player is the plex app for firestick.