Skip to content

Commit

Permalink
Fix wrongly cached download on batch encoding
Browse files Browse the repository at this point in the history
- On batch encoding caching is now disabled
  • Loading branch information
Nubuki-all authored Jan 17, 2024
1 parent 606d494 commit 5a55634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/workers/auto/transcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ async def thing():
await msg_p.reply("#" + c_n) if log_channel == chat_id else None
if einfo.uri and conf.DUMP_LEECH is True:
asyncio.create_task(dumpdl(dl, name, thumb2, msg_t.chat_id, message))
if len(queue) > 1 and conf.CACHE_DL:
if len(queue) > 1 and conf.CACHE_DL and not einfo.batch:
await cache_dl()
with open(ffmpeg_file, "r") as file:
nani = file.read().rstrip()
Expand Down

0 comments on commit 5a55634

Please sign in to comment.