[subtitle] add cd number

This commit is contained in:
Julien Veyssier 2013-02-22 13:54:16 +01:00
commit 27ef9ae477
3 changed files with 10 additions and 2 deletions

View file

@ -45,6 +45,7 @@ class SubtitleInfoFormatter(IFormatter):
result += 'ID: %s\n' % obj.fullid
result += 'URL: %s\n' % obj.url
result += 'FPS: %s\n' % obj.fps
result += 'NB CD: %s\n' % obj.nb_cd
result += '\n%sDescription%s\n' % (self.BOLD, self.NC)
result += obj.description
return result
@ -57,7 +58,7 @@ class SubtitleListFormatter(PrettyFormatter):
return obj.name
def get_description(self, obj):
return 'url : %s' % (obj.url)
return '%s CD ; url : %s' % (obj.nb_cd,obj.url)
class Suboob(ReplApplication):