Soundgasm Extractor
This is a Soundgasm extractor for use with the discord-player library. It fetches metadata from Soundgasm pages and streams audio directly.
npm install soundgasm-extractor
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 */ });
Feature |
Supported |
Single tracks |
✅ |
Playlists |
❌ |
Search |
❌ |
Direct streaming |
✅ |
Can be used as a bridge |
❌ |
Can bridge to ... |
❌ |
Autoplay |
❌ |
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. |