Skip to content

This a plugin for Erela.JS to allow the use of Spotify URL's, it uses direct URL's being tracks, albums, and playlists and gets the YouTube equivalent.

License

Notifications You must be signed in to change notification settings

sawa-ko/erela.js-spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

acffb84 · Jun 12, 2021

History

6 Commits
Apr 16, 2021
Apr 29, 2021
Apr 16, 2021
Apr 16, 2021
Apr 16, 2021
Apr 16, 2021
Jun 12, 2021
Apr 29, 2021
Apr 16, 2021

Repository files navigation

This a plugin for Erela.JS to allow the use of Spotify URL's, it uses direct URL's being tracks, albums, and playlists and gets the YouTube equivalent.

Documentation & Guides

It is recommended to read the documentation to start, and the guides to use the plugin.

Installation

NPM :

npm install @kaname-png/erela.js-spotify

Yarn :

yarn add @kaname-png/erela.js-spotify

Options

  • limitTracks

    Limit length of spotify tracks.

Example Usage

const { Manager } = require('erela.js');
const Spotify = require('@kaname-png/erela.js-spotify');

const manager = new Manager({
  plugins: [
    // Initiate the plugin.
    new Spotify({ options }),
  ],
});

manager.search('https://open.spotify.com/track/4uLU6hMCjMI75M1A2tKUQC');

About

This a plugin for Erela.JS to allow the use of Spotify URL's, it uses direct URL's being tracks, albums, and playlists and gets the YouTube equivalent.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published