taslim19 commited on
Commit
da4e9a7
·
1 Parent(s): 0127f13

fix: Remove incorrect videoid arg from YouTube.download call

Browse files
Files changed (1) hide show
  1. DragMusic/utils/stream/stream.py +2 -2
DragMusic/utils/stream/stream.py CHANGED
@@ -75,7 +75,7 @@ async def stream(
75
  status = True if video else None
76
  try:
77
  file_path, direct = await YouTube.download(
78
- vidid, mystic, video=status, videoid=True
79
  )
80
  except:
81
  raise AssistantErr(_["play_14"])
@@ -139,7 +139,7 @@ async def stream(
139
  status = True if video else None
140
  try:
141
  file_path, direct = await YouTube.download(
142
- vidid, mystic, videoid=True, video=status
143
  )
144
  except:
145
  raise AssistantErr(_["play_14"])
 
75
  status = True if video else None
76
  try:
77
  file_path, direct = await YouTube.download(
78
+ vidid, mystic, video=status
79
  )
80
  except:
81
  raise AssistantErr(_["play_14"])
 
139
  status = True if video else None
140
  try:
141
  file_path, direct = await YouTube.download(
142
+ vidid, mystic, video=status
143
  )
144
  except:
145
  raise AssistantErr(_["play_14"])