Plex Media Center

  • Downloads
  • Mobile
    • iOS
    • Android
  • Support
    • Forums
    • Wiki
  • Dev Center
  • Contact Us
  • News
    • Blog
    • Press Releases
  • Labs

Archive for November, 2011

myPlex Queue API How-to

November 12th, 2011 | Category: Coding,Developers,myPlex

Hi Guys! André here, taking a break from working on myPlex to give you an update on how it’s going. Since we launched almost two weeks ago, myPlex has gotten off to a very rousing start. Sophisticated and good-looking Plex users (that’s all of you) have been queueing videos from all over the internet to watch later in one of the many Plex clients.

Enterprising Plex users have even created Chrome and Safari extensions to allow queueing videos directly. Those clever coders have already figured out the HTTP requests to add an item to your myPlex queue. But we want everyone to be able to add to their queues as easily as possible.

So, I thought this would be a good time to explain how those requests work. Armed with this information, you will be able to add “Plex It!” functionality to any program or script that can make HTTP requests. If you’re not the kind of person who “adds functionality to any program or script”, I suggest instead that you bask warmly in the knowledge that there will soon be even more ways to add videos to your myPlex queue.

Anyway, back to adding videos to the queue. Once you have a myPlex account, you only need one thing to queue a video: the URL. As long as you give myPlex the URL of the page with the video on it, we will handle the rest of the work. While not every website with videos works yet, rest assured that we are busily working to expand myPlex to encompass all videos, everywhere.

All requests to myPlex must be made over HTTPS, and must be authenticated. The easiest way to authenticate is to just use HTTP Basic Authentication with your myPlex username and password. Once you have an account and a URL, though, adding a queue item is very easy. How easy, you ask? Let me show you with curl.

$ curl -i -u "username:PASSWORD" \
    --data-urlencode 'url=http://www.youtube.com/watch?v=FCSBoOcGFFE' \
    https://my.plexapp.com/queue/items  
HTTP/1.1 200 OK 

That’s it! Next time you load up Plex on your TV or mobile-handheld-thingy-of-choice, you will be presented with the chance to find out exactly how reality hits you, bro.

That’s all for now, but if you’re writing an application or client that integrates with myPlex, stay tuned! I’ll be writing a followup post explaining how you can connect to a myPlex user’s account without storing their password.

17 comments

Inverse Goldilocks

November 02nd, 2011 | Category: Release

I know it’s been a rather busy week here at Plex, but we have one more exciting bit of news for you that we wanted to share. As you know, we really like giving you a choice of platforms and devices on which to enjoy your media, and we’re adding a new one to the list today: Google TV.

As you all know, unless you’ve been living under a tech rock, Google is pushing out Google TV 2.0 with support for Google Marketplace, and Plex is one of the 50 companies launching an app with the release. The media support in the new version is quite rich (e.g. you can play a 1080p MKV file without a problem), and at $99 we think this will be a really great device for Plex.

Darrin, who leads the team who made it all happen, has more details in his post over here.

GTV AllMovies

 

22 comments

« Previous Page

Support Plex

Mmmmm...Beer!

Archives

  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • December 2011
  • November 2011
  • October 2011
  • July 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008

Categories

  • Coding
  • Developers
  • Fordo
  • Ho, Ho, Ho
  • Holy Cow
  • Metadata
  • myPlex
  • Performance
  • Plug-ins
  • Podcast
  • Really, dawg?
  • Release
  • Status
  • Survey
  • Tease
  • Tips
  • Uncategorized
  • Wow

Meta

  • RSS
  • Log in
  • Valid XHTML
  • XFN
  • WordPress
PLEX
Download
Wiki
Forums
Blog
Credits