Skip to content

Commit

Permalink
df
Browse files Browse the repository at this point in the history
  • Loading branch information
xAmarnath committed May 5, 2024
1 parent 7681cca commit c74e601
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/custdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,11 @@ async def episode_x(e):
_season_index_f = "0" + season_index if len(season_index) == 1 else season_index
_episode_index_f = "0" + episode_index if len(episode_index) == 1 else episode_index
CAPTION += "**E{}S{}**\n\n".format(_episode_index_f, _season_index_f)
CAPTION += f"**Source Avaliable {tick_emoji}**\n\n**SUBS: {', '.join([sub['label'] for sub in src['subs']])}**"
if len(CAPTION > 1023):
CAPTION = f"**Source Avaliable {tick_emoji}**\n\n**SUBS: {', '.join([sub['label'] for sub in src['subs']])}**"

await e.edit(CAPTION+f"**Source Avaliable {tick_emoji}**\n\n**SUBS: {', '.join([sub['label'] for sub in src['subs']])}**",
await e.edit(CAPTION,
buttons=[[Button.inline("Download", data=f"dl_{src['id']}_{category}_{season_index}_{episode_index}_{series_id}")],
[Button.inline("Back", data=f"season_{series_id}_{season_id}_{category}_{season_index}")]])
m3u8_cache[src["id"]] = src
Expand Down

0 comments on commit c74e601

Please sign in to comment.