{ "info": { "author": "Steve Wood", "author_email": "octocat@nym.hush.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Home Automation", "Topic :: Multimedia :: Video", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "=======\npydvdid\n=======\n\n|Travis badge|\n|Coveralls badge|\n|Scrutinizer badge|\n\nOverview\n========\n\npydvdid_ is a pure Python implementation of the Windows API `IDvdInfo2::GetDiscID`_ method, as used by Windows Media Center to compute a 'practically unique' 64-bit CRC_ for metadata retrieval.\n\nMotivation\n==========\n\nI needed a zero-knowledge way to recover some basic information about an inserted DVD or a mounted ISO image, and whilst googling ran across dvdid_. A compiled solution didn't fit with my requirement, so I re-implemented it as a Python module. Kudos go to Christopher Key for originally developing dvdid and documenting the algorithm so thoroughly.\n\npydvdid is envisaged to be useful for DVD ripping scripts, custom Growl notifications, and media centre related home automation tasks.\n\nCompatibility\n=============\n\nWorks for Python versions 2 and 3, from 2.6 through to the nightly build.\n\nAvailability\n============\n\nGet it from PyPI or directly from GitHub.\n\nPyPI:\n-----\n\n|PyPI status|\n|PyPI version|\n|PyPI format|\n|PyPI python versions|\n\n.. code-block:: sh\n\n pip install pydvdid\n\nGitHub:\n-------\n\nReleases_\n\nExamples\n========\n\nFrom the shell:\n---------------\n\n.. code-block:: sh\n\n steve@babbage:~$ crc64=$(pydvdid /mnt/dvd)\n steve@babbage:~$ echo $crc64\n 6e23e6a41a154405\n steve@babbage:~$ curl --get http://metaservices.windowsmedia.com/pas_dvd_B/template/GetMDRDVDByCRC.xml?CRC=$crc64\n \n\n \t4.0LEGO Star Wars: The Padawan Menace [French] [Blu-ray/DVD]20th Century Fox Home Entertainment (Canadian2012 02 07Science FictionAMG7DDE9379-18E0-446A-8214-BCD3D573A54AE 278184 Provider=AMGProvider=AMG<titleNum>1</titleNum><titleTitle>LEGO Star Wars: The Padawan Menace [French] [Blu-ray/DVD]</titleTitle><studio>20th Century Fox Home Entertainment (Canadian</studio><director></director><leadPerformer></leadPerformer><actors></actors><MPAARating></MPAARating><genre>Science Fiction</genre><providerRating></providerRating><communityRating></communityRating>\n \n\nFrom Python:\n------------\n\npydvdid has a decidely simple API, with the important bits imported into the package level so they can be conveniently imported directly from the package.\n\n.. code-block:: python\n\n >>> from pydvdid import compute\n >>> crc64 = compute(\"/mnt/dvd\")\n >>> str(crc64)\n 'a5acf20f2e56954b'\n >>> from urllib import urlopen\n >>> urlopen(\"http://metaservices.windowsmedia.com/pas_dvd_B/template/GetMDRDVDByCRC.xml?CRC={0}\".format(crc64)).read()\n '\\r\\n\\t\\r\\n\\t4.0Room on the BroomN Circle EntertainmentGillian Anderson; Rob Brydon; Martin Clunes; Sally Hawkins; Simon Pegg; Timothy SpallGillian Anderson; Rob Brydon; Martin Clunes; Sally Hawkins; Simon Pegg; Timothy SpallJan Lachauer; Max Lang2013 08 06Children's/Familycov150/drv600/v691/v69118k4p4h.jpgcov075/drv600/v691/v69118k4p4h.jpgAMGE568D84B-4CB8-4296-8896-716DDCFA1458E 303360 Provider=AMGProvider=AMG<titleNum>1</titleNum><titleTitle>Room on the Broom</titleTitle><studio>N Circle Entertainment</studio><director>Jan Lachauer; Max Lang</director><leadPerformer>Gillian Anderson; Rob Brydon; Martin Clunes; Sally Hawkins; Simon Pegg; Timothy Spall</leadPerformer><actors>Gillian Anderson; Rob Brydon; Martin Clunes; Sally Hawkins; Simon Pegg; Timothy Spall</actors><MPAARating></MPAARating><genre>Children's/Family</genre><providerRating></providerRating><communityRating></communityRating><chapter><chapterNum>1</chapterNum><chapterTitle>Scene One [4:47]</chapterTitle></chapter><chapter><chapterNum>2</chapterNum><chapterTitle>Scene Two [7:29]</chapterTitle></chapter><chapter><chapterNum>3</chapterNum><chapterTitle>Scene Three [4:31]</chapterTitle></chapter><chapter><chapterNum>4</chapterNum><chapterTitle>Scene Four [9:55]</chapterTitle></chapter>\\r\\n'\n\nLicense\n=======\n\n`Apache License, Version 2.0`_\n\n\n\n.. |Travis badge| image:: https://img.shields.io/travis/sjwood/pydvdid.svg\n :target: https://travis-ci.org/sjwood/pydvdid\n\n.. |Coveralls badge| image:: https://img.shields.io/coveralls/sjwood/pydvdid.svg\n :target: https://coveralls.io/r/sjwood/pydvdid\n\n.. |Scrutinizer badge| image:: https://img.shields.io/scrutinizer/g/sjwood/pydvdid.svg\n :target: https://scrutinizer-ci.com/g/sjwood/pydvdid\n\n.. |PyPI status| image:: https://img.shields.io/pypi/status/pydvdid.svg\n :target: PyPI_\n\n.. |PyPI version| image:: https://img.shields.io/pypi/v/pydvdid.svg\n :target: PyPI_\n\n.. |PyPI format| image:: https://img.shields.io/pypi/format/pydvdid.svg\n :target: PyPI_\n\n.. |PyPI python versions| image:: https://img.shields.io/pypi/pyversions/pydvdid.svg\n :target: PyPI_\n\n.. _pydvdid : https://github.com/sjwood/pydvdid\n\n.. _IDvdInfo2::GetDiscID : https://msdn.microsoft.com/en-us/library/windows/desktop/dd376453.aspx\n\n.. _CRC : https://en.wikipedia.org/wiki/Cyclic_redundancy_check\n\n.. _dvdid : http://dvdid.cjkey.org.uk/\n\n.. _PyPI : https://pypi.python.org/pypi/pydvdid\n\n.. _Releases : https://github.com/sjwood/pydvdid/releases\n\n.. _Apache License, Version 2.0 : https://raw.githubusercontent.com/sjwood/pydvdid/master/LICENSE\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sjwood/pydvdid", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "pydvdid", "package_url": "https://pypi.org/project/pydvdid/", "platform": "", "project_url": "https://pypi.org/project/pydvdid/", "project_urls": { "Homepage": "https://github.com/sjwood/pydvdid" }, "release_url": "https://pypi.org/project/pydvdid/1.1/", "requires_dist": null, "requires_python": "", "summary": "A pure Python implementation of the Windows API IDvdInfo2::GetDiscID method, as used by Windows Media Center to compute a 'practically unique' 64-bit CRC for metadata retrieval.", "version": "1.1" }, "last_serial": 3525326, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b397b83fca5452d06267988f563d2616", "sha256": "a6955461aa7b9b26d0a688311f64332b99c725bac183d2b08bdec557f89034be" }, "downloads": -1, "filename": "pydvdid-0.1.tar.gz", "has_sig": false, "md5_digest": "b397b83fca5452d06267988f563d2616", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3876, "upload_time": "2015-07-11T21:53:38", "url": "https://files.pythonhosted.org/packages/44/ff/cab6c34546a2fa271e497f3ea439f13adf761f43f0e371ebc0c98bc9f82a/pydvdid-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "186c1a2c83f7465c919bba687b943208", "sha256": "1c4e5461aa41cd05980c0276fdc8f4859068142c9ba5f8040bd9fb44c4c774c2" }, "downloads": -1, "filename": "pydvdid-0.2.tar.gz", "has_sig": false, "md5_digest": "186c1a2c83f7465c919bba687b943208", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4258, "upload_time": "2015-07-13T00:42:43", "url": "https://files.pythonhosted.org/packages/c5/c9/c937923e6bd942cb5ba10cabc8cf0fbc272aac144b8317e77aae2c0eb4c1/pydvdid-0.2.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "30af7e9157a9a5125ec482fb95aae634", "sha256": "110a1dd64e82267ce612f520ca57d8bc21477935e75882303256d1f4cd2f130b" }, "downloads": -1, "filename": "pydvdid-1.0.tar.gz", "has_sig": false, "md5_digest": "30af7e9157a9a5125ec482fb95aae634", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4264, "upload_time": "2015-07-13T23:59:52", "url": "https://files.pythonhosted.org/packages/6b/50/9925c31189107a845ce5ae77b078e76d759af3dbf4c2989727333bdc9a71/pydvdid-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "d9825b33d027b52ab4f609f78909d97e", "sha256": "0a3422635408a4155dccf5261b9e1e360ae3d882d56b232df4f7b18e73ad0c77" }, "downloads": -1, "filename": "pydvdid-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d9825b33d027b52ab4f609f78909d97e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11243, "upload_time": "2018-01-26T21:25:34", "url": "https://files.pythonhosted.org/packages/df/9a/7efca6e9fc14186d08213d5d07e7f2b8d1155d853518bc28ee64c8b3d8f0/pydvdid-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3948b5b84fcbdf21a9c73a12b596fabb", "sha256": "a3494f2bdab325de1e1f3441af134f8c3c287c0aa3a54d4acbfa857900e9d8d9" }, "downloads": -1, "filename": "pydvdid-1.1.tar.gz", "has_sig": false, "md5_digest": "3948b5b84fcbdf21a9c73a12b596fabb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10867, "upload_time": "2018-01-26T21:25:37", "url": "https://files.pythonhosted.org/packages/8b/3e/53805279c7c3e2388a7f2acd86562e6e109e1c03b16f11d9323c0ea83245/pydvdid-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d9825b33d027b52ab4f609f78909d97e", "sha256": "0a3422635408a4155dccf5261b9e1e360ae3d882d56b232df4f7b18e73ad0c77" }, "downloads": -1, "filename": "pydvdid-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d9825b33d027b52ab4f609f78909d97e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11243, "upload_time": "2018-01-26T21:25:34", "url": "https://files.pythonhosted.org/packages/df/9a/7efca6e9fc14186d08213d5d07e7f2b8d1155d853518bc28ee64c8b3d8f0/pydvdid-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3948b5b84fcbdf21a9c73a12b596fabb", "sha256": "a3494f2bdab325de1e1f3441af134f8c3c287c0aa3a54d4acbfa857900e9d8d9" }, "downloads": -1, "filename": "pydvdid-1.1.tar.gz", "has_sig": false, "md5_digest": "3948b5b84fcbdf21a9c73a12b596fabb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10867, "upload_time": "2018-01-26T21:25:37", "url": "https://files.pythonhosted.org/packages/8b/3e/53805279c7c3e2388a7f2acd86562e6e109e1c03b16f11d9323c0ea83245/pydvdid-1.1.tar.gz" } ] }