yeref 0.24.28__tar.gz → 0.24.29__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.24.28
3
+ Version: 0.24.29
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='yeref',
5
- version='0.24.28',
5
+ version='0.24.29',
6
6
  description='desc-f',
7
7
  author='john smith',
8
8
  packages=['yeref'],
@@ -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..")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.24.28
3
+ Version: 0.24.29
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
File without changes
File without changes
File without changes
File without changes
File without changes