yeref 0.24.28__py3-none-any.whl → 0.24.29__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.
yeref/yeref.py
CHANGED
@@ -15983,7 +15983,7 @@ async def post_save(bot, data_user, data_web, MEDIA_D, BASE_P, KEYS_JSON, PROJEC
|
|
15983
15983
|
print(f"after {POST_MEDIA=}")
|
15984
15984
|
|
15985
15985
|
if PROJECT_USERNAME == 'FereyPostBot' and POST_TYPE in ['voice', 'audio'] and 'filev_id' not in POST_MEDIA[0]:
|
15986
|
-
asyncio.create_task(convert_to_vinyl(bot, chat_id, ENT_TID, MEDIA_D, EXTRA_D, POST_MEDIA))
|
15986
|
+
asyncio.create_task(convert_to_vinyl(bot, chat_id, ENT_TID, POST_TID, MEDIA_D, EXTRA_D, POST_MEDIA, BASE_P))
|
15987
15987
|
|
15988
15988
|
# region pay
|
15989
15989
|
for button in POST_BUTTONS:
|
@@ -17595,6 +17595,7 @@ async def convert_to_vinyl(bot, chat_id, ENT_TID, POST_TID, MEDIA_D, EXTRA_D, PO
|
|
17595
17595
|
full_file_name = os.path.join(MEDIA_D, str(ENT_TID), POST_MEDIA[0]['file_name'])
|
17596
17596
|
file_name_video = full_file_name[: full_file_name.rfind('.')] + '.mp4'
|
17597
17597
|
try:
|
17598
|
+
print(f"convert_to_vinyl start..")
|
17598
17599
|
file = await bot.get_file(POST_MEDIA[0]['file_id'])
|
17599
17600
|
await bot.download_file(file.file_path, full_file_name)
|
17600
17601
|
print(f"{full_file_name=} dl ok..")
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
+
yeref/l_.py,sha256=LMX_olmJwq-tgoALJCnhV_fGrL_i_43yBLkLIcEVqGo,1176743
|
3
|
+
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
+
yeref/yeref.py,sha256=gBDcnH3mwyStCrtRCu6UiWjyMWRN4DXzH3SJ1BEev10,1021632
|
5
|
+
yeref-0.24.29.dist-info/METADATA,sha256=1KyJakayLd9pWD9VdCi6y0U__hVwzGpIwNNLUa_ZT48,119
|
6
|
+
yeref-0.24.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.24.29.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.24.29.dist-info/RECORD,,
|
yeref-0.24.28.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
-
yeref/l_.py,sha256=LMX_olmJwq-tgoALJCnhV_fGrL_i_43yBLkLIcEVqGo,1176743
|
3
|
-
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
-
yeref/yeref.py,sha256=yGrIAWvIBhy1PuwKn5fdSKpL3GbvZ2xMzVKmgrPqWVc,1021571
|
5
|
-
yeref-0.24.28.dist-info/METADATA,sha256=4Ue09_m-KIRZZN6h5dd1qlFyhT50u0LUPjPvBnFQuDo,119
|
6
|
-
yeref-0.24.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.24.28.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.24.28.dist-info/RECORD,,
|
File without changes
|
File without changes
|