diff --git a/package.json b/package.json index 771da31..288f545 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-player-play-dl", - "version": "5.3.7", + "version": "5.3.8", "description": "Complete framework to facilitate music commands using discord.js and play-dl", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -62,8 +62,7 @@ "dependencies": { "@discordjs/voice": "^0.11.0", "libsodium-wrappers": "^0.7.10", - "play-dl": "^1.9.5", - "play-dl2": "^1.9.6", + "play-dl": "^1.9.6", "spotify-url-info": "^3.1.2", "tiny-typed-emitter": "^2.1.0", "tslib": "^2.4.0" diff --git a/src/Player.ts b/src/Player.ts index 5e55c72..bc77831 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -4,7 +4,7 @@ import { Queue } from "./Structures/Queue"; import { VoiceUtils } from "./VoiceInterface/VoiceUtils"; import { PlayerEvents, PlayerOptions, QueryType, SearchOptions, PlayerInitOptions, PlayerSearchResult, PlaylistInitData } from "./types/types"; import Track from "./Structures/Track"; -import play, { SoundCloudPlaylist, YouTubePlayList } from "play-dl2"; +import play, { SoundCloudPlaylist, YouTubePlayList } from "play-dl"; import Spotify from "spotify-url-info"; import { QueryResolver } from "./utils/QueryResolver"; import { Util } from "./utils/Util"; diff --git a/src/Structures/Queue.ts b/src/Structures/Queue.ts index d447cee..1facbd6 100644 --- a/src/Structures/Queue.ts +++ b/src/Structures/Queue.ts @@ -4,7 +4,7 @@ import { StreamDispatcher } from "../VoiceInterface/StreamDispatcher"; import Track from "./Track"; import { PlayerOptions, PlayerProgressbarOptions, PlayOptions, QueueFilters, QueueRepeatMode, TrackSource } from "../types/types"; import { AudioResource, StreamType } from "@discordjs/voice"; -import play from "play-dl2"; +import play from "play-dl"; import { Util } from "../utils/Util"; import AudioFilters from "../utils/AudioFilters"; import { PlayerError, ErrorStatusCode } from "./PlayerError"; diff --git a/src/utils/QueryResolver.ts b/src/utils/QueryResolver.ts index 67c4c3b..4b673b0 100644 --- a/src/utils/QueryResolver.ts +++ b/src/utils/QueryResolver.ts @@ -1,5 +1,5 @@ import { QueryType } from "../types/types"; -import play from "play-dl2"; +import play from "play-dl"; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // scary things below *sigh* diff --git a/yarn.lock b/yarn.lock index cd8e45d..1869c4b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1137,16 +1137,9 @@ "resolved" "https://registry.npmjs.org/play-audio/-/play-audio-0.5.2.tgz" "version" "0.5.2" -"play-dl@^1.9.5": - "integrity" "sha512-tfjBgpU6AD63snK6sXiSuAOi+3iLsqVvsFcvCritOetF/zIo2OcB4BURX+WaQLUmEX3sUJhzP/vqG8SSl7WEpA==" - "resolved" "https://registry.npmjs.org/play-dl/-/play-dl-1.9.5.tgz" - "version" "1.9.5" - dependencies: - "play-audio" "^0.5.2" - -"play-dl2@^1.9.6": - "integrity" "sha512-CLx1K5+rIeGFO15OyDD05Uncc7EipLrO2JhbW4+IvopEQUb1z+Cg9ojSp7aVzQUhq/ZHlEnB6G1a+G0gBxT3HQ==" - "resolved" "https://registry.npmjs.org/play-dl2/-/play-dl2-1.9.6.tgz" +"play-dl@^1.9.6": + "integrity" "sha512-JW44bQbME9fNfGhGXQ/rdcsHr4BfgJabVlSgpS9QY/NscfprFH1asv+q9atrZThP3+hHIpgtFNABccg9rFWlwg==" + "resolved" "https://registry.npmjs.org/play-dl/-/play-dl-1.9.6.tgz" "version" "1.9.6" dependencies: "play-audio" "^0.5.2"