# Plex API: Get info on currently playing item

**URL:** <https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [October 12, 2010, 8:53am UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897 "2010-10-12T08:53:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [October 12, 2010, 8:53am UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/1 "2010-10-12T08:53:20Z")

</div>

Hi, hoping one of the Plex developers sees this:  
  
  
  
Is there a way to access information on the currently playing track within a Plex client? For example, if I’m watching an episode of Chuck can I access [http://localhost:32400/something/something/nowplaying](http://localhost:32400/something/something/nowplaying) and get an XML representation of the episode (or even a key to access the library/metadata)?  
  
  
  
Cheers,  
  
Luke.

---

<div class="post-metadata">

**Author:** ![rectifyer](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@rectifyer](https://forums.plex.tv/u/rectifyer)\
**Post date:** [November 5, 2010, 8:50pm UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/2 "2010-11-05T20:50:36Z")

</div>

Have you figured out how to do this? I am interested as well.

---

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [November 5, 2010, 9:01pm UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/3 "2010-11-05T21:01:07Z")

</div>

Haven’t heard anything yet from the devs ☹

---

<div class="post-metadata">

**Author:** ![bigedison](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@bigedison](https://forums.plex.tv/u/bigedison)\
**Post date:** [December 20, 2010, 2:38pm UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/4 "2010-12-20T14:38:44Z")

</div>

interested too, let me know if you find the information

---

<div class="post-metadata">

**Author:** ![mikedm139](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mikedm139/32/96909_2.png) [@mikedm139](https://forums.plex.tv/u/mikedm139)\
**Post date:** [December 21, 2010, 1:32pm UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/5 "2010-12-21T13:32:35Z")

</div>

I asked Elan about this a little while ago, he said it hadn’t been implemented “yet”.

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [December 27, 2010, 3:08am UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/6 "2010-12-27T03:08:29Z")

</div>

It will probably be here when it is implemented. I tested and nothing showed up.  
  
  
  
[http://192.168.1.102…/status/playing](http://192.168.1.102:32400/status/playing)  
  
  
  
On thinking about it, and this is total speculation, it would be difficult for PMS to serve this info up since if it is a local file, PMS has nothing to do with it once it tosses it to Plex proper. I don’t think it’s impossible given all that the devs have done so far though.

---

<div class="post-metadata">

**Author:** ![Matsimitsu](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matsimitsu](https://forums.plex.tv/u/Matsimitsu)\
**Post date:** [December 30, 2010, 10:59am UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/7 "2010-12-30T10:59:51Z")

</div>

Actually the server already has this information as far as i know.  
  
  
  
If you play an item and go to: [http://127.0.0.1:32400/library/sections/1/recentlyViewed/](http://127.0.0.1:32400/library/sections/1/recentlyViewed/)  
  
  
  
(Where 1 is my TVshows section)  
  
I can see the currently playing episode and it even updates the viewOffset every x seconds.

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [December 30, 2010, 7:08pm UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/8 "2010-12-30T19:08:29Z")

</div>

problem with this method is you need to dynamically find the playing section be looping through all of them to find which one is actually updating. And that’s if any of them are.

---

<div class="post-metadata">

**Author:** ![nicko](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@nicko](https://forums.plex.tv/u/nicko)\
**Post date:** [January 17, 2011, 10:06am UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/9 "2011-01-17T10:06:56Z")

</div>

hey guys, have been looking around PMS and found the status/playing part and thought bummer why doesn’t it work…then i remembered the webserver on port 3000 and the list of various commands available, of which there’s GetCurrentlyPlaying 🙂   
  
  
  
  
  
http://:3000/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying

---

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [January 17, 2011, 11:26pm UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/10 "2011-01-17T23:26:10Z")

</div>

Hmm, this seems to be a relic of the pre-XBMC fork, not sure how “supported” it is by the Plex team.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:49pm UTC](https://forums.plex.tv/t/plex-api-get-info-on-currently-playing-item/5897/11 "2019-12-20T20:49:10Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
