Skip to content

Releases: Androz2091/discord-player

@discord-player/[email protected]

03 Sep 07:11
Compare
Choose a tag to compare

Updates

  • added support for @evan/opus
  • some improvements

@discord-player/[email protected]

03 Sep 15:23
Compare
Choose a tag to compare

Changelog

  • smart bridging
  • improve soundcloud autoplay
  • automatic bridging support
  • lots of other improvements

@discord-player/[email protected]

11 Aug 17:42
Compare
Choose a tag to compare

@discord-player/opus

Streamable Opus encoder and decoder for Discord Player.

Installation

$ yarn add @discord-player/opus

Additionally, install one of the following opus libraries:

  • mediaplex
  • @discordjs/opus
  • opusscript
  • node-opus

If one does not work, feel free to switch to another.

Adding custom opus library

import { OPUS_MOD_REGISTRY } from '@discord-player/opus';

OPUS_MOD_REGISTRY.unshift(['my-opus-package-name', (mod) => ({ Encoder: mod.OpusEncoder })]);

Make sure to use this code before using any of the opus classes.

Example

import { OpusEncoder, OpusDecoder } from '@discord-player/opus';

// encode
const opusStream = getPcmStreamSomehow().pipe(new OpusEncoder({ rate: 48000, channels: 2, frameSize: 960 }));

// decode
const pcmStream = getOpusStreamSomehow().pipe(new OpusDecoder({ rate: 48000, channels: 2, frameSize: 960 }));

@discord-player/[email protected]

11 Aug 14:37
Compare
Choose a tag to compare

@discord-player/opus

Streamable Opus encoder and decoder for Discord Player.

Installation

$ yarn add @discord-player/opus

Additionally, install one of the following opus libraries:

  • mediaplex
  • @discordjs/opus
  • opusscript
  • node-opus

If one does not work, feel free to switch to another.

Adding custom opus library

import { OPUS_MOD_REGISTRY } from '@discord-player/opus';

OPUS_MOD_REGISTRY.unshift(['my-opus-package-name', (mod) => ({ Encoder: mod.OpusEncoder })]);

Make sure to use this code before using any of the opus classes.

Example

import { OpusEncoder, OpusDecoder } from '@discord-player/opus';

// encode
const opusStream = getPcmStreamSomehow().pipe(new OpusEncoder({ rate: 48000, channels: 2, frameSize: 960 }));

// decode
const pcmStream = getOpusStreamSomehow().pipe(new OpusDecoder({ rate: 48000, channels: 2, frameSize: 960 }));

[email protected]

28 Jul 18:26
Compare
Choose a tag to compare

What's Changed

  • Add showcase by @mariusbegby in #1762
  • Rename bot in showcase by @mariusbegby in #1765
  • docs(resource): update 'auricle-music-bot' description by @itsauric in #1766
  • fix queueDelete event not getting emitted properly by @phxgg in #1776
  • feat(AttachmentExtractor): experimental mediaplex support by @skdhg in #1780
  • Update showcase.ts (added yandexmusic ext) by @kotisoff in #1784
  • Update QueryResolver#resolve to return sanitized query and type
  • Add pauseOnEmpty option (Enabled by default)
  • Add willAutoPlay event for autoplay track selection
  • Fix queueDelete event not getting emitted properly
  • Set default group as client id
  • Add Player#create method to create new instance of Player (overrides singleton behavior)

New Contributors

Full Changelog: https://github.com/Androz2091/discord-player/compare/[email protected]@6.6.2

@discord-player/[email protected]

28 Jul 18:23
Compare
Choose a tag to compare

Updates

  • feat(YoutubeExtractor): add support for youtube-ext (#1786)
    You can now use youtube-ext as a youtube streaming lib.

  • feat(AttachmentsExtractor): add support for mediaplex metadata parser
    You can install mediaplex package to add support for attachments metadata (duration, title, author, etc).

  • fix(SpotifyExtractor): fix spotifySong not loading
    The bug with spotifySong query type has been fixed. It should now properly load spotify tracks with /intl-COUNTRY_CODE included

[email protected]

06 Jul 06:30
Compare
Choose a tag to compare

What's Changed

  • docs(resource): update flowease's discord-player version in showcase.ts by @Lutra-Fs in #1755
  • Fix typo for userVoiceChannel in the documention by @L0SER8228 in #1756
  • createProgressBar options by @chimnayajith in #1757
  • feat: introduce BridgeSource by @skdhg in #1760

New Contributors

Full Changelog: https://github.com/Androz2091/discord-player/compare/@discord-player/[email protected]@6.6.1

@discord-player/[email protected]

06 Jul 06:27
Compare
Choose a tag to compare

Changes

  • fix(Queue): removeOne should only remove first item (#1758)

@discord-player/[email protected]

06 Jul 06:29
Compare
Choose a tag to compare

Changes

  • feat: introduce BridgeProvider (#1760)

[email protected]

27 Jun 09:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/Androz2091/discord-player/compare/@discord-player/[email protected]@6.6.0