2.1 Deprecation Notice!
Please be aware that the 2.1 version of our API has been deprecated. It has been replaced by v3. You can read the new API documentation here.
The Media.addID method allows you to add a file or disc id to the TMDb database. These file id's can be useful for identifying movies without having to worry about their file name.
We currently support 2 kinds of id's. More about these id's and hashes can be found here.
This is a POST method that needs a valid session key.
Type can be xml, yaml or json. This will be the format of the response.
The API key we supplied you with for your account.
The session key you got via the authentication protocol.
The ID of the TMDb movie you are tagging with the hash. Expected value is an integer.
This is the computed id (hash) from the methods outlined above. Expected value is a string.
One of the two suppoorted types; file and dvd. Expected value is a string.
Byte size of the file you are hashing.
The fps of the content you are id'ing. Expected value is a float.
If you're posting a disc ID, save the volume label. This is the only optional parameter. Expected value is a string.
Authentication & Access
This service requires authentication. Please see the authentication basics page for more information.
Since this is a write service, it must be accessed with an HTTP POST request.
<?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> <status> <code>1</code> <status>Success</status> </status> </OpenSearchDescription>