erela.js-tidal
v1.0.2
Published
TIDAL plugin for Erela.JS
Downloads
50
Readme
- https://listen.tidal.com/track/165813923
- https://listen.tidal.com/album/165813921
- https://listen.tidal.com/playlist/36ea71a8-445e-41a4-82ab-6628c581535d
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");