Pretty Code + Music property added in YouTube Video

This commit is contained in:
killer069
2022-01-03 15:59:32 +05:30
parent 433ec4976b
commit ffbe882037
9 changed files with 78 additions and 39 deletions

View File

@@ -9,7 +9,8 @@ import {
YouTubeStream,
YouTubeChannel,
YouTubePlayList,
YouTubeVideo
YouTubeVideo,
InfoData
} from './YouTube';
import {
spotify,
@@ -73,7 +74,6 @@ import { existsSync, mkdirSync, writeFileSync } from 'node:fs';
import { stream as yt_stream, StreamOptions, stream_from_info as yt_stream_info } from './YouTube/stream';
import { yt_search } from './YouTube/search';
import { EventEmitter } from 'stream';
import { InfoData } from './YouTube/utils/constants';
async function stream(
url: string,
@@ -477,7 +477,6 @@ export {
SpotifyAlbum,
SpotifyPlaylist,
SpotifyTrack,
YouTubeStream,
YouTubeChannel,
YouTubePlayList,
YouTubeVideo,
@@ -503,11 +502,12 @@ export {
validate,
video_basic_info,
video_info,
yt_validate
yt_validate,
InfoData
};
// Export Types
export { Deezer, YouTube, SoundCloud, Spotify };
export { Deezer, YouTube, SoundCloud, Spotify, YouTubeStream };
// Export Default
export default {