fuo-qqmusic 1.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fuo-qqmusic might be problematic. Click here for more details.
- fuo_qqmusic/__init__.py +25 -0
- fuo_qqmusic/api.py +694 -0
- fuo_qqmusic/assets/icon.svg +10 -0
- fuo_qqmusic/consts.py +6 -0
- fuo_qqmusic/excs.py +6 -0
- fuo_qqmusic/provider.py +447 -0
- fuo_qqmusic/provider_ui.py +102 -0
- fuo_qqmusic/schemas.py +359 -0
- fuo_qqmusic-1.0.5.dist-info/METADATA +19 -0
- fuo_qqmusic-1.0.5.dist-info/RECORD +13 -0
- fuo_qqmusic-1.0.5.dist-info/WHEEL +5 -0
- fuo_qqmusic-1.0.5.dist-info/entry_points.txt +2 -0
- fuo_qqmusic-1.0.5.dist-info/top_level.txt +1 -0
fuo_qqmusic/__init__.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
|
|
3
|
+
from .provider import provider
|
|
4
|
+
|
|
5
|
+
__alias__ = 'QQ 音乐'
|
|
6
|
+
__feeluown_version__ = '1.1.0'
|
|
7
|
+
__version__ = '0.3a0'
|
|
8
|
+
__desc__ = 'QQ 音乐'
|
|
9
|
+
|
|
10
|
+
logger = logging.getLogger(__name__)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def enable(app):
|
|
14
|
+
app.library.register(provider)
|
|
15
|
+
if app.mode & app.GuiMode:
|
|
16
|
+
from .provider_ui import ProviderUI
|
|
17
|
+
|
|
18
|
+
provider_ui = ProviderUI(app)
|
|
19
|
+
app.pvd_ui_mgr.register(provider_ui)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def disable(app):
|
|
23
|
+
app.library.deregister(provider)
|
|
24
|
+
if app.mode & app.GuiMode:
|
|
25
|
+
app.providers.remove(provider.identifier)
|