Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Undocumented functionality and Tips & Tricks

dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja

I've posted a small document on Google, where I'll start to collect info regarding development towards the mighty Plex.

 

It's a sister document to this one:

 

https://forums.plexapp.com/index.php/topic/87324-missing-from-the-official-plugin-documentation/?p=505931

 

And can be found here:

 

https://docs.google.com/document/d/1hhLjV1pI-TA5y91TiJq64BdgKwdLnFt4hWgeOqpz1NA/edit#heading=h.k434y18gzsvt

 

Check it out, and do chime in with improvements, suggestions etc.

 

 

/Tommy

 

Edit: 01 Aug 2014: Updated with info on how to find extra's

Edit: 22 feb 2014: Updated with info about how to access the media folder for an item via http

Edit: 17 feb 2014: Updated to use the http api instead of urllib when setting prefs

Edit: 9 feb 2014: srazer found out a way to update more pref settings in one go

Edit: 2 feb 2014: Updated with Language Api

Edit: 26 jan 2014: Updated with Prefs tip

Edit: 22 jan 2014: Updated links in the document

Comments

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja
    edited February 2014

    Updated to reflect the new website regarding links, and added how to reset user preferences on the fly to it's defaults

    Look here

    /Tommy

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja
    edited February 2014

    Updated with a tip from srazer about viewing the preferences.

    Look here

    Thanks Chris

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja
    edited February 2014

    Updated with some info regarding Language API

    Look here

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja

    Updated to use the http api instead of urllib when setting prefs

    Look here

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja

    Updated with info on how to locate the media folder for an item, via the http API

  • oncleben31oncleben31 Posts: 1,197Members, Plex Pass Plex Pass

    When I'm trying to dev a metadata agent, I didn't succeed in exploring the content of media and metadata objects. 

    I've tried to print in the logs the result of dir(metadata) for exemple an it didn't work.

    Is there a way to explore this type of object in a plugin ?

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja
    oncleben31 wrote on March 12 2014, 10:25 AM: »

    When I'm trying to dev a metadata agent, I didn't succeed in exploring the content of media and metadata objects. 

    I've tried to print in the logs the result of dir(metadata) for exemple an it didn't work.

    Is there a way to explore this type of object in a plugin ?

    Not related to this thread, IMHO.....Leave, and create a new root post

    /T

  • oncleben31oncleben31 Posts: 1,197Members, Plex Pass Plex Pass

    The answer could be log in the tricks section ? Don't you think ?

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja
    oncleben31 wrote on March 13 2014, 12:20 AM: »

    The answer could be log in the tricks section ? Don't you think ?

    A question, nope....An answer, yes...and you asked a question, or?

    /T

  • oncleben31oncleben31 Posts: 1,197Members, Plex Pass Plex Pass

    OK my bad I didn't understood the rule of this post ;-)

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja

    Just updated my little doc with info on how to get to the extra's

    Find the link in the first post

    Happy Plexing

    Tommy

  • coolmattcoolmatt Posts: 42Members ✭✭

    Hi Dane,

    After digging here https://code.google.com/p/plex-api/w/list and your undocumented stuff, I still cannot find the answer to my question : subtitles... where can I find them ?

    With the HTTP API I crawled the whole tree... nothing. I scanned the database... nothing.

    I would like to write a little script to get the status for my tv shows : are the subtitles yet downloaded or not. If they are not then I could launch an agent to refresh the metadata and try again to get them...

    Any idea where I should look ?

    Regards,

    matt.

  • dane22dane22 Posts: 9,692Members, Plex Pass, Plex Ninja Plex Ninja

    Not relevant for this thread, and answered by others in the OTHER  :( post you made about this

Sign In or Register to comment.