eit.py

changeset 9
1bf778001041
parent 6
1420abafd049
child 17
842120f00078
equal deleted inserted replaced
8:92409c985e0d 9:1bf778001041
358 def readeit(eitfile): 358 def readeit(eitfile):
359 """Module docstring. 359 """Module docstring.
360 Read Eit File and show the information. 360 Read Eit File and show the information.
361 """ 361 """
362 eitlist = eitinfo(eitfile) 362 eitlist = eitinfo(eitfile)
363 if len(eitlist.eit) == 0:
364 return None
363 out = "Movie name: %s" % eitlist.get_name() 365 out = "Movie name: %s" % eitlist.get_name()
364 out += "\nGenre: %s" % eitlist.get_genre() 366 out += "\nGenre: %s" % eitlist.get_genre()
365 out += "\nComponents: %s" % eitlist.get_components() 367 out += "\nComponents: %s" % eitlist.get_components()
366 out += "\nStartDate: %s" % eitlist.get_date() 368 out += "\nStartDate: %s" % eitlist.get_date()
367 out += "\nDescription: %s" % eitlist.get_description() 369 out += "\nDescription: %s" % eitlist.get_description()

mercurial