discord-player-soundgasm
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

Soundgasm Extractor

This is a Soundgasm extractor for use with the discord-player library. It fetches metadata from Soundgasm pages and streams audio directly.

Installation

npm install soundgasm-extractor

Usage

const { Player } = require("discord-player");

const { SoundgasmExtractor } = require("soundgasm-extractor");
// Or
import { SoundgasmExtractor } from "soundgasm-extractor";

const player = new Player(client, {});

await player.extractors.register(SoundgasmExtractor, { /* options */ });

Supported features

Feature Supported
Single tracks
Playlists
Search
Direct streaming
Can be used as a bridge
Can bridge to ...
Autoplay

Options

Option Type Default Description
skipProbing boolean false Skips probing for the track duration. You can enable this to save some precious milliseconds as probing those kind of streams dont seem to work anyway.
attemptAlternateProbing boolean false Attempts to probe the track duration using a different method. This method is not as accurate as the default probing method, as it assumes the track bitrate is 128 kbps and uses the file size to calculate the duration.

Package Sidebar

Install

npm i discord-player-soundgasm

Weekly Downloads

5

Version

1.1.5

License

MIT

Unpacked Size

18.2 kB

Total Files

8

Last publish

Collaborators

  • itsmaat