podflow 20250402.1__py3-none-any.whl → 20250402.3__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.
- podflow/basic/time_print.py +2 -0
- podflow/download/wait_animation.py +14 -7
- podflow/message/display_qrcode_and_url.py +5 -3
- podflow/templates/index.html +5 -4
- {podflow-20250402.1.dist-info → podflow-20250402.3.dist-info}/METADATA +1 -1
- {podflow-20250402.1.dist-info → podflow-20250402.3.dist-info}/RECORD +9 -9
- {podflow-20250402.1.dist-info → podflow-20250402.3.dist-info}/WHEEL +0 -0
- {podflow-20250402.1.dist-info → podflow-20250402.3.dist-info}/entry_points.txt +0 -0
- {podflow-20250402.1.dist-info → podflow-20250402.3.dist-info}/top_level.txt +0 -0
podflow/basic/time_print.py
CHANGED
@@ -30,6 +30,8 @@ def time_print(text, Top=False, NoEnter=False, Time=True, Url=""):
|
|
30
30
|
gVar.index_message["podflow"].append(text)
|
31
31
|
if NoEnter:
|
32
32
|
gVar.index_message["enter"] = False
|
33
|
+
else:
|
34
|
+
gVar.index_message["enter"] = True
|
33
35
|
if Url:
|
34
36
|
gVar.index_message["podflow"].append(
|
35
37
|
f'<a href="{Url}"><span class="ansi-url">{Url}</span></a>'
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
import time
|
5
5
|
from datetime import datetime
|
6
|
+
from podflow.basic.time_print import time_print
|
6
7
|
|
7
8
|
|
8
9
|
# 等待动画模块
|
@@ -12,18 +13,24 @@ def wait_animation(stop_flag, wait_animation_display_info):
|
|
12
13
|
prepare_youtube_print = datetime.now().strftime("%H:%M:%S")
|
13
14
|
while True:
|
14
15
|
if stop_flag[0] == "keep":
|
15
|
-
|
16
|
-
f"
|
17
|
-
|
16
|
+
time_print(
|
17
|
+
f"{prepare_youtube_print}|{wait_animation_display_info}\033[34m准备中{animation.ljust(5)}\033[0m",
|
18
|
+
Top=True,
|
19
|
+
NoEnter=True,
|
20
|
+
Time=False,
|
18
21
|
)
|
19
22
|
elif stop_flag[0] == "error":
|
20
|
-
|
21
|
-
f"
|
23
|
+
time_print(
|
24
|
+
f"{prepare_youtube_print}|{wait_animation_display_info}\033[34m准备中{animation} \033[31m失败:\033[0m",
|
25
|
+
Top=True,
|
26
|
+
Time=False,
|
22
27
|
)
|
23
28
|
break
|
24
29
|
elif stop_flag[0] == "end":
|
25
|
-
|
26
|
-
f"
|
30
|
+
time_print(
|
31
|
+
f"{prepare_youtube_print}|{wait_animation_display_info}\033[34m准备中{animation} 已完成\033[0m",
|
32
|
+
Top=True,
|
33
|
+
Time=False,
|
27
34
|
)
|
28
35
|
break
|
29
36
|
if i % 5 == 0:
|
@@ -4,6 +4,7 @@
|
|
4
4
|
from datetime import datetime
|
5
5
|
from podflow import gVar
|
6
6
|
from podflow.basic.qr_code import qr_code
|
7
|
+
from podflow.basic.time_print import time_print
|
7
8
|
|
8
9
|
|
9
10
|
# 显示网址及二维码模块
|
@@ -22,13 +23,14 @@ def display_qrcode_and_url(
|
|
22
23
|
|
23
24
|
if display_rss_address or output_dir in ids_update:
|
24
25
|
update_text = "已更新" if output_dir in ids_update else "无更新"
|
25
|
-
|
26
|
-
f"{
|
26
|
+
time_print(
|
27
|
+
f"{name} 播客{update_text}|地址:",
|
28
|
+
Url=xml_url,
|
27
29
|
)
|
28
30
|
if (
|
29
31
|
(display_rss_address or output_dir in ids_update)
|
30
32
|
and qrcode
|
31
33
|
and output_dir not in gVar.displayed_QRcode
|
32
34
|
):
|
33
|
-
qr_code(xml_url)
|
35
|
+
qr_code(xml_url, True)
|
34
36
|
gVar.displayed_QRcode.append(output_dir)
|
podflow/templates/index.html
CHANGED
@@ -150,6 +150,7 @@
|
|
150
150
|
line-height: 1.1;
|
151
151
|
overflow-x: auto; /* 当内容超出宽度时显示水平滚动条(可选) */
|
152
152
|
overflow-y: auto;
|
153
|
+
font-family: 'Courier New', Courier, monospace; /* 添加字体 */
|
153
154
|
}
|
154
155
|
textarea {
|
155
156
|
height: 350px;
|
@@ -286,11 +287,11 @@
|
|
286
287
|
if (url) {
|
287
288
|
new QRCode(container, {
|
288
289
|
text: url,
|
289
|
-
width:
|
290
|
-
height:
|
290
|
+
width: 256,
|
291
|
+
height: 256,
|
291
292
|
colorDark: textColor,
|
292
293
|
colorLight: inputBg,
|
293
|
-
correctLevel: QRCode.CorrectLevel.
|
294
|
+
correctLevel: QRCode.CorrectLevel.L
|
294
295
|
});
|
295
296
|
} else {
|
296
297
|
container.textContent = 'URL 未提供';
|
@@ -444,7 +445,7 @@
|
|
444
445
|
|
445
446
|
function startMessagePolling() {
|
446
447
|
getMessages();
|
447
|
-
pollingTimer = setInterval(getMessages,
|
448
|
+
pollingTimer = setInterval(getMessages, 250);
|
448
449
|
}
|
449
450
|
|
450
451
|
function stopMessagePolling() {
|
@@ -16,7 +16,7 @@ podflow/basic/list_merge_tidy.py,sha256=7hWfSnsPh23edHNU92vxtI0nfpfN8m54GTEt2rGm
|
|
16
16
|
podflow/basic/qr_code.py,sha256=BQFxAx55vqWECTwWgybyXu3IuDFavpc3zMCmZ4XvKKE,1630
|
17
17
|
podflow/basic/split_dict.py,sha256=Ir6GTortcWMUeFITFgY1v-INMla5y0IN3RN3nTgzWqM,401
|
18
18
|
podflow/basic/time_format.py,sha256=T3tw2vbOwxMYYXDaV4Sj76WOZtsspj2lWA_DzWqUEJA,487
|
19
|
-
podflow/basic/time_print.py,sha256=
|
19
|
+
podflow/basic/time_print.py,sha256=oP4wKjv4Cm5OI-FPNvcTYuion6h4g7KKPvA3XY13M8w,1115
|
20
20
|
podflow/basic/time_stamp.py,sha256=Kbz9PzgPtss1fRqPXdfz1q6MTGVMRi3LPClN7wrXSIk,1888
|
21
21
|
podflow/basic/vary_replace.py,sha256=-TyvZxfak6U7Ak8F87ctYUBpHB2Il6iYZof37lwKjto,211
|
22
22
|
podflow/basic/write_log.py,sha256=wfiNfFuRLCWNLXDRNPVaVsKxwB44xxTiCFJ66g71XmU,1255
|
@@ -37,7 +37,7 @@ podflow/download/convert_bytes.py,sha256=6Q3TcPGzCO2FlhOKWbp9RB_GPmfuyKY5suIyE9E
|
|
37
37
|
podflow/download/delete_part.py,sha256=wjY6WulpUMjLx38on0kTLXj0gA04rIuKAdwFidZtWGU,679
|
38
38
|
podflow/download/dl_aideo_video.py,sha256=KKs8EpS3NI_sBMHr-QCAtoq6aGnoRXrqVU07KyLEHlg,10057
|
39
39
|
podflow/download/show_progress.py,sha256=cWlyIh6WqoH3s4WpFSyL6xtiXhQFbrVJVcckxO-1NLg,1595
|
40
|
-
podflow/download/wait_animation.py,sha256=
|
40
|
+
podflow/download/wait_animation.py,sha256=0TZLQzBQpPDfK2TYWMsmsGoaefLtW5oH34LhrgpbR40,1283
|
41
41
|
podflow/download/youtube_and_bilibili_download.py,sha256=dlUh9cPHrYgZAhtXlBUOdFIpZOhv9xOtgdcTaqUvLuY,1294
|
42
42
|
podflow/httpfs/__init__.py,sha256=BxEXkufjcx-a0F7sDVXo65hmyANqCCbZUd6EH9i8T2c,45
|
43
43
|
podflow/httpfs/app_bottle.py,sha256=wMTcuRZBEzBNNb6qDRQt_v-5HO8_mv755PFiIrTuycU,16787
|
@@ -53,7 +53,7 @@ podflow/makeup/make_up_file_mod.py,sha256=padTanSPw5Dysf_CcUUVy65nCC6zbz1gPJRX98
|
|
53
53
|
podflow/message/__init__.py,sha256=pZkcrrtkdtxgMriEHBZ0_rptKaQrQeMPJvPSaoI1Awo,46
|
54
54
|
podflow/message/backup_zip_save.py,sha256=0SIxVvAtgSWAr_TvdXLVDIpxvXOHeFUN8n8QzfnIB84,1740
|
55
55
|
podflow/message/create_main_rss.py,sha256=g2DZGLf81yUsLCpiB8QVaxSxqhJ5lVeC43ndRiCbodg,2999
|
56
|
-
podflow/message/display_qrcode_and_url.py,sha256
|
56
|
+
podflow/message/display_qrcode_and_url.py,sha256=VqmRkDYYG03VihfW4SAU49HJVmfqWbLTgMxqCaREeCo,1037
|
57
57
|
podflow/message/fail_message_initialize.py,sha256=jIGzL0hXg3JRq7leB7nFeRFOkjnkDn-Kyco7r-w-bTY,6299
|
58
58
|
podflow/message/format_time.py,sha256=gveNh4FGeS3ytwDyYB-h12d1_Km6XoX7WSPcFmDfCBk,909
|
59
59
|
podflow/message/get_media_name.py,sha256=5ULPQOQCZ2-lxdkILwlBP-ItzdFEgvEAKxeLtplACbQ,861
|
@@ -80,7 +80,7 @@ podflow/remove/remove_dir.py,sha256=xQIhrnqnYjMzXjoSWaTvm7JwPYOFTN1muuTPdaLDXpQ,
|
|
80
80
|
podflow/remove/remove_file.py,sha256=8wAJQehs-XBqvu0vPlEme2_tt0FZxc5ELwGMxXA_558,982
|
81
81
|
podflow/repair/__init__.py,sha256=Gpc1i6xiSLodKjjmzH66c_Y1z0HQ9E9CS3p95FRnVFM,45
|
82
82
|
podflow/repair/reverse_log.py,sha256=Wc_vAH0WB-z1fNdWx7FYaVH4caRPtot7tDwDwFhmpz4,1106
|
83
|
-
podflow/templates/index.html,sha256=
|
83
|
+
podflow/templates/index.html,sha256=WLeo9zNZm64XWgnJunPqc1kGtSh1uPPasoyW8qvhe1Y,17474
|
84
84
|
podflow/upload/__init__.py,sha256=AtOSXDrE5EjUe3z-iBd1NTDaH8n_X9qA5WXdBLkONjA,45
|
85
85
|
podflow/upload/add_upload.py,sha256=_2-V0z75Lwu-PUCfMD9HOSxZTB102yZlZW5hSdlHcsc,1432
|
86
86
|
podflow/upload/build_hash.py,sha256=9opa3xLd7nJbGGX5xa3uuKPS6dxlbkAb87ZdEiUxmxI,473
|
@@ -95,8 +95,8 @@ podflow/youtube/__init__.py,sha256=pgXod8gq0IijZxIkPSwgAOcb9JI5rd1mqMomoR7bcJ4,4
|
|
95
95
|
podflow/youtube/build.py,sha256=3LYk_ICVXj9XkE9jZ8jEVI8596xxS_QZkcoIwcBE3Ys,12006
|
96
96
|
podflow/youtube/get.py,sha256=Of7PRgUknhpyW70nvyVAUYVb5KyFViKiBTfH3Y6Mke8,16970
|
97
97
|
podflow/youtube/login.py,sha256=KYl--ya6Z1u0uIcOp9l8i3DIIj9hsYUDH4dtJjI0MLM,1295
|
98
|
-
podflow-20250402.
|
99
|
-
podflow-20250402.
|
100
|
-
podflow-20250402.
|
101
|
-
podflow-20250402.
|
102
|
-
podflow-20250402.
|
98
|
+
podflow-20250402.3.dist-info/METADATA,sha256=lUDDN-uDSPvqq7doMbTgDvJXPxtY03JGTEZmbBZFNZc,14165
|
99
|
+
podflow-20250402.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
100
|
+
podflow-20250402.3.dist-info/entry_points.txt,sha256=mn7hD_c_dmpKe3XU0KNekheBvD01LhlJ9htY-Df0j2A,131
|
101
|
+
podflow-20250402.3.dist-info/top_level.txt,sha256=fUujhhz-RrMI8aGvi-3Ey5y7FQnpOOgoFw9OWM3yLCU,8
|
102
|
+
podflow-20250402.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|