def create_source(entry):
source = PCMVolumeTransformer(FFmpegPCMAudio(entry["download_url"], **entry["kwargs"]))
source.download_url = entry["download_url"]
source.url = entry["url"]
source.yt = entry["yt"]
source.is_live = entry["is_live"]
source.title = entry["title"]
source.duration = entry["duration"]
source.description = entry["description"]
source.upload_date = entry["upload_date"]
source.kwargs = entry["kwargs"]
return source
评论列表
文章目录