podflow 20250404.1__py3-none-any.whl → 20250404.2__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.
@@ -22,18 +22,18 @@ def time_print(text, Top=False, NoEnter=False, Time=True, Url=""):
22
22
 
23
23
  if text:
24
24
  text = ansi_to_html(text)
25
- gVar.index_message["podflow"].append(
26
- [
27
- text,
28
- Top,
29
- NoEnter,
30
- ]
31
- )
25
+ if not gVar.index_message["enter"] and gVar.index_message["podflow"]:
26
+ if Top and gVar.index_message["podflow"]:
27
+ gVar.index_message["podflow"][-1] = text
28
+ else:
29
+ gVar.index_message["podflow"][-1] += text
30
+ else:
31
+ gVar.index_message["podflow"].append(text)
32
+ if NoEnter:
33
+ gVar.index_message["enter"] = False
34
+ else:
35
+ gVar.index_message["enter"] = True
32
36
  if Url:
33
37
  gVar.index_message["podflow"].append(
34
- [
35
- f'<a href="{Url}"><span class="ansi-url">{Url}</span></a>',
36
- Top,
37
- NoEnter,
38
- ]
38
+ f'<a href="{Url}"><span class="ansi-url">{Url}</span></a>'
39
39
  )
@@ -15,7 +15,6 @@ from podflow.httpfs.to_html import ansi_to_html
15
15
  from podflow.upload.build_hash import build_hash
16
16
  from podflow.upload.time_key import check_time_key
17
17
  from podflow.httpfs.get_channelid import get_channelid
18
- from podflow.httpfs.to_html import ansi_to_html, message_html
19
18
 
20
19
 
21
20
  class bottle_app:
@@ -404,7 +403,7 @@ class bottle_app:
404
403
  # 处理消息的接收和发送。
405
404
  def message(self):
406
405
  response.content_type = 'application/json'
407
- return message_html() # 获取消息列表
406
+ return gVar.index_message # 获取消息列表
408
407
 
409
408
 
410
409
  bottle_app_instance = bottle_app()
@@ -287,8 +287,8 @@
287
287
  if (url) {
288
288
  new QRCode(container, {
289
289
  text: url,
290
- width: 256,
291
- height: 256,
290
+ width: 220,
291
+ height: 220,
292
292
  colorDark: textColor,
293
293
  colorLight: inputBg,
294
294
  correctLevel: QRCode.CorrectLevel.L
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: podflow
3
- Version: 20250404.1
3
+ Version: 20250404.2
4
4
  Summary: A podcast server that includes YouTube and BiliBili
5
5
  Home-page: https://github.com/gruel-zxz/podflow
6
6
  Author: gruel_zxz
@@ -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=eTWP7MpF_NSSG0BluTxgmpWAjHzxh6LuoNEof4fQZJQ,916
19
+ podflow/basic/time_print.py,sha256=Rz9Dgan_DVsEuCje2Zg7lAMpzhBWWHWZZxP5ALqqGnE,1160
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
@@ -40,7 +40,7 @@ podflow/download/show_progress.py,sha256=cWlyIh6WqoH3s4WpFSyL6xtiXhQFbrVJVcckxO-
40
40
  podflow/download/wait_animation.py,sha256=AUTvszXF89QA7XYjocFIauPKV7Qj8cFqry44teClaLQ,1314
41
41
  podflow/download/youtube_and_bilibili_download.py,sha256=dlUh9cPHrYgZAhtXlBUOdFIpZOhv9xOtgdcTaqUvLuY,1294
42
42
  podflow/httpfs/__init__.py,sha256=BxEXkufjcx-a0F7sDVXo65hmyANqCCbZUd6EH9i8T2c,45
43
- podflow/httpfs/app_bottle.py,sha256=xslFhq0GW9Q6QEioRRkqs0UuGcdI2qVhMyCGZZtxJw4,16845
43
+ podflow/httpfs/app_bottle.py,sha256=jHgRxvJdt3Gh0KBWlzR_pwdfgy_-vQRFNWXvbwYLObY,16787
44
44
  podflow/httpfs/browser.py,sha256=BJ4Xkfiki_tDr0Sc9RqAcEfIVpkAZ3RFOwo0aMHlY3U,197
45
45
  podflow/httpfs/get_channelid.py,sha256=gcwy4IVHBWNQz7qPCpjwiAklGFLRGzvM33-UZz7oFvo,2296
46
46
  podflow/httpfs/port_judge.py,sha256=l_nLpsSiIhAzfJGCOWyYC-KkCCWPUW2ybe_5hdMOEzE,764
@@ -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=WLeo9zNZm64XWgnJunPqc1kGtSh1uPPasoyW8qvhe1Y,17474
83
+ podflow/templates/index.html,sha256=7oM62bhnEZdzO3yNP2T8u90G8tVcOuiOPhjrE-UuieQ,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-20250404.1.dist-info/METADATA,sha256=RPYAiLB81ussdErIcCXHnzOkMT8mDehpd2iHVK7DhCo,14165
99
- podflow-20250404.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
100
- podflow-20250404.1.dist-info/entry_points.txt,sha256=mn7hD_c_dmpKe3XU0KNekheBvD01LhlJ9htY-Df0j2A,131
101
- podflow-20250404.1.dist-info/top_level.txt,sha256=fUujhhz-RrMI8aGvi-3Ey5y7FQnpOOgoFw9OWM3yLCU,8
102
- podflow-20250404.1.dist-info/RECORD,,
98
+ podflow-20250404.2.dist-info/METADATA,sha256=9fQBEKKmX8Gu9mbzQHuKpSU3C8P0vp4gMx0L_6mxorE,14165
99
+ podflow-20250404.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
100
+ podflow-20250404.2.dist-info/entry_points.txt,sha256=mn7hD_c_dmpKe3XU0KNekheBvD01LhlJ9htY-Df0j2A,131
101
+ podflow-20250404.2.dist-info/top_level.txt,sha256=fUujhhz-RrMI8aGvi-3Ey5y7FQnpOOgoFw9OWM3yLCU,8
102
+ podflow-20250404.2.dist-info/RECORD,,