fix(downloader): fix for getBasicInfo

This commit is contained in:
JellyBrick
2025-07-28 23:09:25 +09:00
parent 5ba65ea122
commit b3b3d45b96

View File

@ -848,5 +848,7 @@ const getMetadata = (info: TrackInfo): CustomSongInfo => ({
const getAndroidTvInfo = async (id: string): Promise<VideoInfo> => {
// GetInfo 404s with the bypass, so we use getBasicInfo instead
// that's fine as we only need the streaming data
return await yt.getBasicInfo(id, 'TV_EMBEDDED');
return await yt.getBasicInfo(id, {
client: 'TV_EMBEDDED',
});
};