[qcineoob] search and display torrent
This commit is contained in:
parent
6fe917417c
commit
c76db754e9
8 changed files with 597 additions and 106 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
|
||||
from weboob.capabilities.cinema import ICapCinema
|
||||
from weboob.capabilities.torrent import ICapTorrent
|
||||
from weboob.tools.application.qt import QtApplication
|
||||
|
||||
from .main_window import MainWindow
|
||||
|
|
@ -30,7 +31,7 @@ class QCineoob(QtApplication):
|
|||
COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon'
|
||||
DESCRIPTION = "Qt application allowing to search movies etc..."
|
||||
SHORT_DESCRIPTION = "search movies"
|
||||
CAPS = ICapCinema
|
||||
CAPS = ICapCinema,ICapTorrent
|
||||
CONFIG = {'settings': {'nsfw': 1,
|
||||
'sfw': 1,
|
||||
'sortby': 0,
|
||||
|
|
@ -38,7 +39,7 @@ class QCineoob(QtApplication):
|
|||
}
|
||||
}
|
||||
def main(self, argv):
|
||||
self.load_backends(ICapCinema)
|
||||
self.load_backends([ICapCinema,ICapTorrent])
|
||||
self.load_config()
|
||||
|
||||
self.main_window = MainWindow(self.config, self.weboob)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue