Skip to main content
[![Latest Version](https://pypip.in/version/osdbinfos/badge.svg)](https://pypi.python.org/pypi/osdbinfos/)
[![Supported Python versions](https://pypip.in/py_versions/osdbinfos/badge.svg)](https://pypi.python.org/pypi/osdbinfos/)
[![Wheel Status](https://pypip.in/wheel/osdbinfos/badge.svg)](https://pypi.python.org/pypi/osdbinfos/)
[![License](https://pypip.in/license/osdbinfos/badge.svg)](https://pypi.python.org/pypi/osdbinfos/)


# About

osdbinfos let you identify a local video file based on its content and the help of the [opensubtitles](http://www.opensubtitles.org/) [API](trac.opensubtitles.org/projects/opensubtitles/wiki/XMLRPC)

This module just provide video file identification; It does not download any subtitle;

# Example usage :

## As a module

from osdbinfos import OpenSutitles

path = "Pioneer One/Pioneer.One.S01E01.REDUX.720p.x264-VODO/Pioneer.One.S01E01.REDUX.720p.x264-VODO.mkv"
osdb = OpenSutitles()
print(osdb.get_files_infos([path, ]))
{'Pioneer One/Pioneer.One.S01E01.REDUX.720p.x264-VODO/Pioneer.One.S01E01.REDUX.720p.x264-VODO.mkv': {u'kind': 'episode', u'movie_hash': 'e1c675becea90705', u'serie_title': u'Pioneer One', u'imdb_id': 'tt1834084', u'episode_title': u'Earthfall', u'episode_number': 1, u'season_number': 1}}





## From CLI :

~: osdbinfos-example "Pioneer One/Pioneer.One.S01E02.720p.x264-VODO/Pioneer.One.S01E02.720p.x264-VODO.mkv" | python -m json.tool
{
"Pioneer One/Pioneer.One.S01E02.720p.x264-VODO/Pioneer.One.S01E02.720p.x264-VODO.mkv": {
"episode_number": 2,
"episode_title": "The Man from Mars",
"imdb_id": "tt1835555",
"kind": "episode",
"movie_hash": "19b48b9a2f464caa",
"season_number": 1,
"serie_title": "Pioneer One"
}
}



In this example, files used are the first and second episode of "Pioneer One" freely available on [Vodo.net](http://vodo.net/joshbernhard/pioneerone/)

Metadata

Release files for osdbinfos 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for osdbinfos 0.0.12
File Size Uploaded Provenance Actions
osdbinfos-0.0.12.tar.gz 5.7 kB Without provenance Details for osdbinfos-0.0.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for osdbinfos 0.0.12
File Interpreter ABI Platform Actions
osdbinfos-0.0.12-py2-none-any.whl Python 2 none any Details for osdbinfos-0.0.12-py2-none-any.whl

Total release size: 13.5 kB

Release files / osdbinfos-0.0.12.tar.gz

Download URL osdbinfos-0.0.12.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
02536ef2cdbf1699f4fc104d9ebba2c3338ee2117816113d0d13fed7f7c84994
BLAKE2b-256 checksum
How to use checksums
1a42fe761eaaf37d48f97c4bc44808efe154a37481af9872cf67d521a4ae0ed6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / osdbinfos-0.0.12-py2-none-any.whl

Download URL osdbinfos-0.0.12-py2-none-any.whl
Size 7.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
2e8d48cf039798c793c737b1518141f75720a4dac3c8ef4635d7cd79b28f0bbb
BLAKE2b-256 checksum
How to use checksums
942c0aea3490cb50d72f13d26f34101f93afcb54a29f34c1518489a94e861b13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for osdbinfos 0.0.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page