Identify videos files from opensubtitle webservice
Project description
[](https://pypi.python.org/pypi/osdbinfos/)
[](https://pypi.python.org/pypi/osdbinfos/)
[](https://pypi.python.org/pypi/osdbinfos/)
[](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/)
[](https://pypi.python.org/pypi/osdbinfos/)
[](https://pypi.python.org/pypi/osdbinfos/)
[](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/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
osdbinfos-0.0.12.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osdbinfos-0.0.12.tar.gz.
File metadata
- Download URL: osdbinfos-0.0.12.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02536ef2cdbf1699f4fc104d9ebba2c3338ee2117816113d0d13fed7f7c84994
|
|
| MD5 |
90403630ab54c6fc87ce1f35204d4aaa
|
|
| BLAKE2b-256 |
1a42fe761eaaf37d48f97c4bc44808efe154a37481af9872cf67d521a4ae0ed6
|
File details
Details for the file osdbinfos-0.0.12-py2-none-any.whl.
File metadata
- Download URL: osdbinfos-0.0.12-py2-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e8d48cf039798c793c737b1518141f75720a4dac3c8ef4635d7cd79b28f0bbb
|
|
| MD5 |
0d4d2aa0c291f361897846ec48255d11
|
|
| BLAKE2b-256 |
942c0aea3490cb50d72f13d26f34101f93afcb54a29f34c1518489a94e861b13
|