Undocumented functionality and Tips & Tricks

other-dev

#1

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


#2

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


#3

Updated with a tip from srazer about viewing the preferences.

Look here

Thanks Chris


#4

Updated with some info regarding Language API

Look here


#5

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

Look here


#6

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


#7

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 ?


#8

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


#9

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


#10

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


#11

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


#12

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


#13

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.


#14

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