Skip to content

Releases: Androz2091/discord-player

discord-player@6.1.1

15 Mar 11:36
Compare
Choose a tag to compare

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/discord-player@6.1.0...discord-player@6.1.1

@discord-player/extractor@4.1.2

15 Mar 11:29
Compare
Choose a tag to compare

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/extractor@4.1.1...@discord-player/extractor@4.1.2

@discord-player/utils@0.2.1

14 Mar 15:23
Compare
Choose a tag to compare

Changelog

  • feat(Queue): add data accessor
  • feat(Queue): custom inspect impl

Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.1.0...@discord-player/utils@0.2.1

discord-player@6.1.0

11 Mar 14:18
Compare
Choose a tag to compare

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

Full Changelog: https://github.com/Androz2091/discord-player/compare/v6.0.0...discord-player@6.1.0

@discord-player/extractor@4.1.1

11 Mar 13:58
Compare
Choose a tag to compare

Changelog

  • feat: add support for related tracks

@discord-player/equalizer@0.2.1

11 Mar 15:37
Compare
Choose a tag to compare

6.0.0

04 Mar 08:54
Compare
Choose a tag to compare

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

Full Changelog: v5.4.0...v6.0.0

5.4.0

12 Jan 16:10
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v5.3.2...v5.4.0

5.3.2

28 Sep 15:11
faca946
Compare
Choose a tag to compare

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 to peerDependencies

Full Changelog: v5.3.1...v5.3.2

5.3.1

08 Aug 15:06
8d7b841
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.3.0...v5.3.1