### 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=AMG1LEGO Star Wars: The Padawan Menace [French] [Blu-ray/DVD]20th Century Fox Home Entertainment (CanadianScience Fiction
```
--------------------------------
### 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=AMG1Room on the BroomN Circle EntertainmentJan Lachauer; Max LangGillian Anderson; Rob Brydon; Martin Clunes; Sally Hawkins; Simon Pegg; Timothy SpallGillian Anderson; Rob Brydon; Martin Clunes; Sally Hawkins; Simon Pegg; Timothy SpallChildren's/Family1Scene One [4:47]2Scene Two [7:29]3Scene Three [4:31]4Scene Four [9:55]\r\n'
```
=== COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.