[subtitle] add cd number
This commit is contained in:
parent
9a9d399503
commit
27ef9ae477
3 changed files with 10 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue