Add video_{range,frame_type}.{cc,h} and remove some types.h includes.
[dcpomatic.git] / test / guessdcp.py
1 import os
2
3 def path(f):
4     for d in os.listdir(f):
5         try:
6             for s in os.listdir(os.path.join(f, d)):
7                 if s.endswith('.xml'):
8                     return os.path.join(f, d)
9         except:
10             pass
11
12     return None
13
14 if __name__ == '__main__':
15     print path('/home/carl/Unsafe/DCP/Boon')