Enhance track fetching and downloading logic:
- Added support for checking existence of unknown file types during download. - Improved user feedback by logging downloaded track progress. - Increased the limit of fetched favorite tracks from 50 to 10,000.
This commit is contained in:
parent
9275f2160c
commit
51e22f6d48
2 changed files with 10 additions and 3 deletions
|
@ -45,7 +45,7 @@ export default class {
|
|||
}
|
||||
|
||||
async fetchTracks() {
|
||||
const tracks = await fetch(`https://desktop.tidal.com/v1/users/${this._userId}/favorites/tracks?offset=0&limit=50&order=DATE&orderDirection=DESC&countryCode=US&locale=en_US&deviceType=DESKTOP`, {
|
||||
const tracks = await fetch(`https://desktop.tidal.com/v1/users/${this._userId}/favorites/tracks?offset=0&limit=10000&order=DATE&orderDirection=DESC&countryCode=US&locale=en_US&deviceType=DESKTOP`, {
|
||||
headers: this._authHeaders
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue