Releases: Androz2091/discord-player
@discord-player/[email protected]
Update
Extractors now include reconfigure
method to reload the extractor. Extractors now also throw proper error upon failure. Extractors that depend upon ytdl can now be initialized with custom stream implementation to override default ytdl behavior.
What's Changed
- feat(ExtractorExecutionContext): infer ext initialization options by @skdhg in #1716
- Remove extractors peer dependencies by @NotGhex in #1718
Full Changelog: https://github.com/Androz2091/discord-player/compare/@discord-player/[email protected]...@discord-player/[email protected]
[email protected]
What's Changed
- Docs : Added new pages for actions, events & hooks by @febkosq8 in #1676
- refactor(karasu): setup, commands and listeners by @itsauric in #1686
- feat(GuildQueue): move, copy, swap
- feat(QueryType): add AUTO_SEARCH type
- refactor(QueryResolver): set fallback query to AUTO_SEARCH
- refactor(ExtractorExecutionContext): unprioritize youtube extractor
Full Changelog: https://github.com/Androz2091/discord-player/compare/[email protected]@6.1.1
@discord-player/[email protected]
What's Changed
- Spotify web api integration
- Apply extractor meta to all tracks
To use custom spotify token, add following env
DP_SPOTIFY_CLIENT_ID=xxx
DP_SPOTIFY_CLIENT_SECRET=xxx
Otherwise anonymous token will be used.
Full Changelog: https://github.com/Androz2091/discord-player/compare/@discord-player/[email protected]...@discord-player/[email protected]
@discord-player/[email protected]
Changelog
- feat(Queue): add
data
accessor - feat(Queue): custom inspect impl
Full Changelog: https://github.com/Androz2091/discord-player/compare/[email protected]...@discord-player/[email protected]
[email protected]
Changelog
- fix: use appropriate source for autoplay
- feat: add initialization options for extractors
- fix: apply requestedBy on search results if available
- feat: add extractor events
- docs: update music bot status by @Nonolanlan1007 in #1646
- fix(GuildQueuePlayerNode): patch seek method by @skdhg in #1652
- Fix declaration file not found by @NotGhex in #1647
- fix(GuildQueuePlayerNode): fix stream error by @Abish-x-lethal in #1654
- Update docs for AutoComplete and minor changes by @febkosq8 in #1674
New Contributors
- @Nonolanlan1007 made their first contribution in #1646
- @NotGhex made their first contribution in #1647
- @Abish-x-lethal made their first contribution in #1654
- @febkosq8 made their first contribution in #1674
Full Changelog: https://github.com/Androz2091/discord-player/compare/[email protected]
@discord-player/[email protected]
Changelog
- feat: add support for related tracks
@discord-player/[email protected]
Changelog
- updates to dsp filters
Full Changelog: https://github.com/Androz2091/discord-player/compare/[email protected]...@discord-player/[email protected]
6.0.0
BREAKING CHANGES!!
⚠️ [semver:major
] This release contains breaking changes, making old codes unusable.
Documentation: https://discord-player.js.org
Migration Guide: https://discord-player.js.org/docs/guides/v6-migration
What's Changed
- chore: monorepo setup by @skdhg in #1510
- fix(StreamDispatcher): make paused property a getter by @skdhg in #1517
- feat: new docs website by @skdhg in #1530
- Add 'karasu-music-bot' to examples in README.md by @itsauric in #1552
- feat(QueryResolver): apple music user playlists by @BasboBibbins in #1580
- refactor: example commands by @itsauric in #1590
- feat(GuildQueue): add size getter by @Crocross in #1606
- refactor(karasu) by @itsauric in #1607
- Update migrating.md by @Crocross in #1629
- Update migrating.md by @Crocross in #1637
- feat!: discord-player v6 by @skdhg in #1513
- Rewrite of the entire queue system
- Rewrite of extractors API
- New audio filters API
- New Query Cache API
- New extractors limitation API
- New global shortcuts (hooks, player methods)
- Singleton by default
- Better stream handling
- 2 events dispatcher (Player & Player.events)
- Improved debug logs
- New lifecycle events
- New stream hook (
onAfterCreateStream
) - Various bugfixes to
StreamDispatcher
- New voice receiving feature
- Removal of internal extractors
- Apple Music support (including search queries)
- Addition of Biquad filters, 15 band equalizer (lavalink compatible) & its presets, DSP filters
- Stability of audio player
- Improved management of audioplayer lifecycle as well as voice connection
- Removal of smooth volume
- Ability to play raw audio resources
- Dynamic duration estimation for tracks
- New query resolver types
- New documentation
- New utils package
New Contributors
- @itsauric made their first contribution in #1552
- @BasboBibbins made their first contribution in #1580
- @Crocross made their first contribution in #1606
Full Changelog: v5.4.0...v6.0.0
5.4.0
What's Changed
- fix mute/unmute handler for server mutes by @skdhg in #1387
- Add Melody to readme as an example bot by @NerdyTechy in #1441
- fix spotify playlists (#1449) by @exe-0535 in #1497
- feat: implement Lavalink compatible equalizer by @skdhg in #1503
- fix previous tracks duplication 91835c7
- fix bot disconnection on member move 384db59
New Equalizer API
Equalizer can be accessed with queue.connection.equalizer
which may be EqualizerStream
instance or null
. Just like inline volume, equalizer can be disabled by passing disableEqualizer: true
to createQueue
.
if (!queue.isEqualizerEnabled()) return message.reply("Equalizer is not available");
const bands = [
{ band: 0, gain: 0.25 },
{ band: 1, gain: 0.25 },
{ band: 2, gain: 0.25 },
];
// apply config
queue.setEqualizer(bands);
// toggle equalizer on/off
queue.toggleEqualizer();
queue.enableEqualizer();
queue.disableEqualizer();
// get equalizer state
queue.getEqualizer();
// Pass nothing or pass an empty array to reset equalizer
queue.setEqualizer();
queue.setEqualizer([]);
// set specific band
queue.setEqualizerBand(band, gain);
// get specific band
queue.getEqualizerBand(band);
Note: Equalizer runs before volume transformer and after ffmpeg and thus it may change ffmpeg filters behavior.
New Contributors
- @NerdyTechy made their first contribution in #1441
- @exe-0535 made their first contribution in #1497
Full Changelog: v5.3.2...v5.4.0
5.3.2
What's Changed
- fix(Queue): shuffle all tracks
- fix(AudioFilters): properly get filters
- feat(Queue): add leaveOnEndCooldown
- fix(Player): rewrite spotify metadata parser
- fix(StreamDispatcher): skip the track if it has already ended
- fix(Queue): volume state should persist
- feat: show warning message on incompatible discord.js versions
- fix(AudioFilters): remove filters getter
- feat(Player): add
generateStatistics
method - feat(Player): add
eventLoopLag
getter - feat(Queue): add
generateStatistics
method - feat(Queue): add
ping
getter - feat(Queue): add
forceNext
method - chore(deps): move
ytdl-core
,soundcloud-scraper
,youtube-sr
,spotify-url-info
topeerDependencies
Full Changelog: v5.3.1...v5.3.2