erela.js-tidal
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published
This a plugin for Erela.JS to allow the use of TIDAL 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 erela.js-tidal

Yarn :

yarn add erela.js-tidal

Options

  • convertUnresolved

Converts all UnresolvedTracks into a Track.
NOTE: THIS IS NOT RECOMMENDED AS IT WILL ATTEMPT TO CONVERT EVERY TRACK, INCLUDING ALBUMS AND PLAYLISTS TRACKS.
DEPENDING ON THE AMOUNT THIS WILL TAKE A WHILE AND MAY RATELIMIT YOUR LAVALINK NODE.

  • countryCode

An ISO 3166-1 alpha-2 country code.
Default: US

Example Usage

const { Manager } = require("erela.js");
const TIDAL  = require("erela.js-tidal");

const manager = new Manager({
  plugins: [
    // Initiate the plugin
    new TIDAL()
  ]
});

manager.search("https://listen.tidal.com/track/165813923");

Readme

Keywords

Package Sidebar

Install

npm i erela.js-tidal

Weekly Downloads

11

Version

1.0.2

License

Apache-2.0

Unpacked Size

22.1 kB

Total Files

9

Last publish

Collaborators

  • wearifulcupid0