Socket
Book a DemoInstallSign in
Socket

soundgasm-extractor

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soundgasm-extractor

A Soundgasm extractor for discord-player

1.1.4
latest
Source
npmnpm
Version published
Weekly downloads
7
Maintainers
0
Weekly downloads
 
Created
Source

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 */ });

Options

OptionTypeDefaultDescription
skipProbingbooleanfalseSkips 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.
attemptAlternateProbingbooleanfalseAttempts 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.

Keywords

discord

FAQs

Package last updated on 10 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.