### Install pydvdid Source: https://github.com/sjwood/pydvdid/blob/master/README.rst Use pip to install the package from PyPI. ```sh pip install pydvdid ``` -------------------------------- ### Compute DVD CRC64 from Shell Source: https://github.com/sjwood/pydvdid/blob/master/README.rst Calculate the CRC64 identifier for a mounted DVD and retrieve metadata using curl. ```sh steve@babbage:~$ crc64=$(pydvdid /mnt/dvd) steve@babbage:~$ echo $crc64 6e23e6a41a154405 steve@babbage:~$ curl --get http://metaservices.windowsmedia.com/pas_dvd_B/template/GetMDRDVDByCRC.xml?CRC=$crc64 4.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> ``` -------------------------------- ### Compute DVD CRC64 from Python Source: https://github.com/sjwood/pydvdid/blob/master/README.rst Use the compute function to generate the CRC64 identifier and fetch metadata programmatically. ```python >>> from pydvdid import compute >>> crc64 = compute("/mnt/dvd") >>> str(crc64) 'a5acf20f2e56954b' >>> from urllib import urlopen >>> urlopen("http://metaservices.windowsmedia.com/pas_dvd_B/template/GetMDRDVDByCRC.xml?CRC={0}".format(crc64)).read() '\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' ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.