[qcineoob] graphical fixes
add 'genres' field to Movie object of ICapCinema
This commit is contained in:
parent
1c42b12ab6
commit
233c18b2e1
10 changed files with 338 additions and 69 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue