- https://listen.tidal.com/track/165813923
- https://listen.tidal.com/album/165813921
- https://listen.tidal.com/playlist/36ea71a8-445e-41a4-82ab-6628c581535d
It is recommended to read the documentation to start, and the guides to use the plugin.
NPM :
npm install erela.js-tidal
Yarn :
yarn add erela.js-tidal
An ISO 3166-1 alpha-2 country code.
Default: US
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.
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");