repl: interactive add of backends when no one is loaded at startup
This commit is contained in:
parent
aee0e49cc8
commit
04037e7893
13 changed files with 144 additions and 106 deletions
|
|
@ -120,6 +120,7 @@ class Videoob(ReplApplication):
|
|||
APPNAME = 'videoob'
|
||||
VERSION = '0.1'
|
||||
COPYRIGHT = 'Copyright(C) 2010 Christophe Benz, Romain Bignon, John Obbele'
|
||||
CAPS = ICapVideo
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
ReplApplication.__init__(self, *args, **kwargs)
|
||||
|
|
@ -131,9 +132,6 @@ class Videoob(ReplApplication):
|
|||
|
||||
self.videos = []
|
||||
|
||||
def load_default_backends(self):
|
||||
self.load_backends(caps=ICapVideo)
|
||||
|
||||
def add_application_options(self, group):
|
||||
group.add_option('--nsfw', action='store_true', help='enable non-suitable for work videos')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue