[qcineoob] graphical fixes

add 'genres' field to Movie object of ICapCinema
This commit is contained in:
Julien Veyssier 2013-03-18 01:40:39 +01:00
commit 233c18b2e1
10 changed files with 338 additions and 69 deletions

View file

@ -52,6 +52,10 @@ class MovieInfoFormatter(IFormatter):
if not empty(obj.duration):
result += 'Duration: %smin\n' % obj.duration
result += 'Note: %s\n' % obj.note
if not empty(obj.genres):
result += '\n%sGenres%s\n' % (self.BOLD, self.NC)
for g in obj.genres:
result += ' * %s\n' % g
if not empty(obj.roles):
result += '\n%sRelated persons%s\n' % (self.BOLD, self.NC)
for role, lpersons in obj.roles.items():