-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path__init__.py
29 lines (21 loc) · 926 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
__copyright__ = '2018, BookFusion <[email protected]>'
__license__ = 'GPL v3'
from calibre.customize import InterfaceActionBase
class BookFusionPlugin(InterfaceActionBase):
name = 'BookFusion Plugin'
description = 'Provides synchronization of your eBooks and metadata from Calibre to your devices via the BookFusion iOS, Android & Web reader.'
supported_platforms = ['windows', 'osx', 'linux']
author = 'BookFusion'
version = (0, 8, 1)
minimum_calibre_version = (6, 2, 1)
actual_plugin = 'calibre_plugins.bookfusion.ui:InterfacePlugin'
def is_customizable(self):
return True
def config_widget(self):
from calibre_plugins.bookfusion.config import ConfigWidget
return ConfigWidget()
def save_settings(self, config_widget):
config_widget.save_settings()
ac = self.actual_plugin_
if ac is not None:
ac.apply_settings()