deemon-redux 2.25__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.
- deemon/__init__.py +17 -0
- deemon/__main__.py +9 -0
- deemon/assets/images/deemon.png +0 -0
- deemon/assets/images/discord.png +0 -0
- deemon/assets/images/github.png +0 -0
- deemon/assets/images/logo-medium.png +0 -0
- deemon/assets/images/logo.png +0 -0
- deemon/assets/images/reddit.png +0 -0
- deemon/assets/index.html +292 -0
- deemon/cli.py +564 -0
- deemon/cmd/__init__.py +0 -0
- deemon/cmd/artistconfig.py +107 -0
- deemon/cmd/backup.py +126 -0
- deemon/cmd/download.py +558 -0
- deemon/cmd/extra.py +43 -0
- deemon/cmd/generate.py +149 -0
- deemon/cmd/monitor.py +273 -0
- deemon/cmd/profile.py +167 -0
- deemon/cmd/refresh.py +382 -0
- deemon/cmd/rollback.py +86 -0
- deemon/cmd/search.py +543 -0
- deemon/cmd/show.py +230 -0
- deemon/cmd/tests.py +51 -0
- deemon/cmd/upgradelib.py +446 -0
- deemon/core/__init__.py +0 -0
- deemon/core/api.py +307 -0
- deemon/core/common.py +149 -0
- deemon/core/config.py +569 -0
- deemon/core/db.py +585 -0
- deemon/core/dmi.py +233 -0
- deemon/core/exceptions.py +10 -0
- deemon/core/logger.py +49 -0
- deemon/core/notifier.py +313 -0
- deemon/utils/__init__.py +0 -0
- deemon/utils/dataprocessor.py +74 -0
- deemon/utils/dates.py +93 -0
- deemon/utils/performance.py +23 -0
- deemon/utils/repo.py +80 -0
- deemon/utils/startup.py +108 -0
- deemon/utils/ui.py +34 -0
- deemon/utils/validate.py +11 -0
- deemon_redux-2.25.dist-info/METADATA +131 -0
- deemon_redux-2.25.dist-info/RECORD +47 -0
- deemon_redux-2.25.dist-info/WHEEL +5 -0
- deemon_redux-2.25.dist-info/entry_points.txt +3 -0
- deemon_redux-2.25.dist-info/licenses/LICENSE +674 -0
- deemon_redux-2.25.dist-info/top_level.txt +1 -0
deemon/__init__.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
|
|
3
|
+
__title__ = 'Deemon Redux'
|
|
4
|
+
__pypi_name__ = 'deemon-redux'
|
|
5
|
+
__appdata_name__ = 'deemon-redux'
|
|
6
|
+
__version__ = '2.25'
|
|
7
|
+
__dbversion__ = '3.7'
|
|
8
|
+
|
|
9
|
+
from deemon.utils import startup
|
|
10
|
+
|
|
11
|
+
from deemon.core.common import map_track as new_map_track
|
|
12
|
+
|
|
13
|
+
import deezer.utils
|
|
14
|
+
deezer.utils.map_track = new_map_track
|
|
15
|
+
|
|
16
|
+
appdata = startup.get_appdata_dir()
|
|
17
|
+
startup.init_appdata_dir(appdata)
|
deemon/__main__.py
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
deemon/assets/index.html
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<meta name="color-scheme" content="light dark">
|
|
7
|
+
<meta name="supported-color-schemes" content="light dark">
|
|
8
|
+
<title>Deemon Redux</title>
|
|
9
|
+
<style>
|
|
10
|
+
@import url('https://fonts.googleapis.com/css2?family=Baloo+Tammudu+2&display=swap');
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
color-scheme: light dark;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
body {
|
|
17
|
+
font-family: 'Baloo Tammudu 2', sans-serif;
|
|
18
|
+
background-color: #c0c0c0 !important;
|
|
19
|
+
color: #404040 !important;
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
a {
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
color: #2f7a40 !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
a:hover {
|
|
29
|
+
text-decoration: underline;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.container {
|
|
33
|
+
position: relative;
|
|
34
|
+
font-family: sans-serif;
|
|
35
|
+
background-color: #f0f0f0 !important;
|
|
36
|
+
color: #404040 !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.album.container {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-wrap: wrap;
|
|
42
|
+
justify-content: flex-start;
|
|
43
|
+
align-items: flex-start;
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.album {
|
|
48
|
+
width: 100%;
|
|
49
|
+
background-color: #f0f0f0 !important;
|
|
50
|
+
color: #404040 !important;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
padding: 10px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.album.header {
|
|
56
|
+
border-top-left-radius: 17px;
|
|
57
|
+
border-top-right-radius: 17px;
|
|
58
|
+
background-color: #f0f0f0 !important;
|
|
59
|
+
height: 150px;
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
align-items: center;
|
|
63
|
+
color: #6106e5 !important;
|
|
64
|
+
padding-top: 35px;
|
|
65
|
+
font-family: 'Baloo Tammudu 2', sans-serif;
|
|
66
|
+
font-weight: bold;
|
|
67
|
+
font-size: 2.5em;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.album.updates {
|
|
71
|
+
display: flex;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
align-items: center;
|
|
74
|
+
background-color: #70af71 !important;
|
|
75
|
+
font-family: sans-serif;
|
|
76
|
+
font-size: 1em;
|
|
77
|
+
color: #ffffff !important;
|
|
78
|
+
margin-bottom: 20px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.album.new-release-banner {
|
|
82
|
+
display: flex;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
align-items: center;
|
|
85
|
+
font-size: 1.25em;
|
|
86
|
+
margin-bottom: -10px;
|
|
87
|
+
color: #404040 !important;
|
|
88
|
+
background-color: #f0f0f0 !important;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.album.body {
|
|
92
|
+
flex: 0 0 25%;
|
|
93
|
+
min-width: 350px;
|
|
94
|
+
max-width: 100%;
|
|
95
|
+
box-sizing: border-box;
|
|
96
|
+
color: #404040 !important;
|
|
97
|
+
background-color: #f0f0f0 !important;
|
|
98
|
+
padding: 0 10px 0 10px;
|
|
99
|
+
font-size: 0.9em;
|
|
100
|
+
display: block;
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
margin: 0 0 30px 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.album.date {
|
|
106
|
+
flex: 0 0 100%;
|
|
107
|
+
width: 100%;
|
|
108
|
+
margin-top: 40px;
|
|
109
|
+
margin-bottom: 30px;
|
|
110
|
+
color: #6106e5 !important;
|
|
111
|
+
background-color: #f0f0f0 !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.album.date.badge {
|
|
115
|
+
color: #6106e5 !important;
|
|
116
|
+
background: none !important;
|
|
117
|
+
border-radius: 7px;
|
|
118
|
+
border: 1px solid #6106e5 !important;
|
|
119
|
+
text-shadow: none;
|
|
120
|
+
font-size: 1em;
|
|
121
|
+
font-family: sans-serif;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.album.subheader {
|
|
125
|
+
display: flex;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
align-items: center;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.footerarea {
|
|
131
|
+
display: flex;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
align-items: center;
|
|
134
|
+
height: 50px;
|
|
135
|
+
color: #606060 !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.album.support {
|
|
139
|
+
font-size: 0.8em;
|
|
140
|
+
line-height: 1em;
|
|
141
|
+
color: #606060 !important;
|
|
142
|
+
background-color: #f0f0f0 !important;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.album.footer {
|
|
146
|
+
border-bottom-left-radius: 7px;
|
|
147
|
+
border-bottom-right-radius: 7px;
|
|
148
|
+
font-family: monospace;
|
|
149
|
+
font-size: 0.60em;
|
|
150
|
+
background-color: #e0e0e0 !important;
|
|
151
|
+
color: #606060 !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.albumtitle {
|
|
155
|
+
margin-top: 5px;
|
|
156
|
+
font-weight: bold;
|
|
157
|
+
color: #404040 !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.artistname {
|
|
161
|
+
font-style: italic;
|
|
162
|
+
padding-bottom: 10px;
|
|
163
|
+
color: #404040 !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.albuminfo {
|
|
167
|
+
vertical-align: top;
|
|
168
|
+
color: #404040 !important;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.albuminfo a {
|
|
172
|
+
color: #2f7a40 !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.album-row {
|
|
176
|
+
width: 100%;
|
|
177
|
+
border-collapse: collapse;
|
|
178
|
+
border-spacing: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.albumart {
|
|
182
|
+
width: 150px;
|
|
183
|
+
max-width: 150px;
|
|
184
|
+
height: 150px;
|
|
185
|
+
max-height: 150px;
|
|
186
|
+
vertical-align: top;
|
|
187
|
+
padding: 0 20px 0 0;
|
|
188
|
+
overflow: hidden;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.albumart a {
|
|
192
|
+
display: block;
|
|
193
|
+
width: 150px;
|
|
194
|
+
height: 150px;
|
|
195
|
+
overflow: hidden;
|
|
196
|
+
line-height: 0;
|
|
197
|
+
text-decoration: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.albumart img {
|
|
201
|
+
border-radius: 7px;
|
|
202
|
+
filter: drop-shadow(0.1rem 0.1rem 0.2rem #808080);
|
|
203
|
+
width: 150px !important;
|
|
204
|
+
height: 150px !important;
|
|
205
|
+
max-width: 150px !important;
|
|
206
|
+
max-height: 150px !important;
|
|
207
|
+
display: block;
|
|
208
|
+
border: 0;
|
|
209
|
+
object-fit: cover;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@media (prefers-color-scheme: dark) {
|
|
213
|
+
body {
|
|
214
|
+
background-color: #121212 !important;
|
|
215
|
+
color: #f0f0f0 !important;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.container,
|
|
219
|
+
.album,
|
|
220
|
+
.album.header,
|
|
221
|
+
.album.new-release-banner,
|
|
222
|
+
.album.body,
|
|
223
|
+
.album.date,
|
|
224
|
+
.album.support {
|
|
225
|
+
background-color: #1e1e1e !important;
|
|
226
|
+
color: #f0f0f0 !important;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.album.header {
|
|
230
|
+
color: #b794f6 !important;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.album.new-release-banner,
|
|
234
|
+
.album.title,
|
|
235
|
+
.albumtitle,
|
|
236
|
+
.artistname,
|
|
237
|
+
.albuminfo {
|
|
238
|
+
color: #f0f0f0 !important;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.album.date.badge {
|
|
242
|
+
color: #b794f6 !important;
|
|
243
|
+
border-color: #b794f6 !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.album.footer {
|
|
247
|
+
background-color: #2a2a2a !important;
|
|
248
|
+
color: #c0c0c0 !important;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.footerarea {
|
|
252
|
+
color: #c0c0c0 !important;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
a,
|
|
256
|
+
.albuminfo a {
|
|
257
|
+
color: #8fd49a !important;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.albumart img {
|
|
261
|
+
filter: drop-shadow(0.1rem 0.1rem 0.2rem #000000);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
</style>
|
|
265
|
+
</head>
|
|
266
|
+
<body style="margin:0; background-color:#c0c0c0; color:#404040;">
|
|
267
|
+
<div class="container" style="background-color:#f0f0f0; color:#404040;">
|
|
268
|
+
<div class="album header" style="background-color:#f0f0f0; color:#6106e5;">
|
|
269
|
+
Deemon Redux
|
|
270
|
+
</div>
|
|
271
|
+
<div class="album updates" style="background-color:#70af71; color:#ffffff; {VIEW_UPDATE_MESSAGE}">
|
|
272
|
+
{UPDATE_MESSAGE}
|
|
273
|
+
</div>
|
|
274
|
+
<div class="album new-release-banner" style="background-color:#f0f0f0; color:#404040;">
|
|
275
|
+
{NEW_RELEASE_COUNT} new release(s) were found!
|
|
276
|
+
</div>
|
|
277
|
+
<!---- START ALBUM LIST HERE ---->
|
|
278
|
+
<div class="album container" style="background-color:#f0f0f0; color:#404040;">
|
|
279
|
+
{NEW_RELEASE_LIST}
|
|
280
|
+
</div>
|
|
281
|
+
<!---- END ALBUM LIST HERE ---->
|
|
282
|
+
<div class="album support footerarea" style="background-color:#f0f0f0; color:#606060;">
|
|
283
|
+
<span style="white-space: pre-line;">
|
|
284
|
+
Open an issue on <a href="{GITHUB_REPO_URL}" style="color:#2f7a40;">GitHub</a> or join us on <a href="https://discord.gg/KzNCG2tkvn" style="color:#2f7a40;">Discord</a>
|
|
285
|
+
</span>
|
|
286
|
+
</div>
|
|
287
|
+
<div class="album footer footerarea" style="background-color:#e0e0e0; color:#606060;">
|
|
288
|
+
{DEEMON_VER} | {PY_VER} | {SYS_VER}
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
</body>
|
|
292
|
+
</html>
|