UNPKG

tidal-cli-client

Version:

You can now use Tidal on linux. With your loved CLI. <3

12 lines (11 loc) 290 B
module.exports = class Track { constructor(trackObject) { this.id = trackObject.id; this.title = trackObject.title; this.artists = trackObject.artists; this.album = trackObject.album; } async updateStreamURL(tidalApi) { this.streamURL = await tidalApi.getTrackURL(this); } };