i understand i did u wrong but thats not all
This commit is contained in:
parent
8ceaffe757
commit
fd1300fcb7
1 changed files with 1 additions and 7 deletions
8
js/ui.js
8
js/ui.js
|
|
@ -5349,13 +5349,7 @@ export class UIRenderer {
|
|||
|
||||
try {
|
||||
let track;
|
||||
try {
|
||||
const result = await this.api.getTrack(trackId, provider);
|
||||
track = result.track;
|
||||
} catch (e) {
|
||||
console.warn('getTrack failed, trying getTrackMetadata', e);
|
||||
track = await this.api.getTrackMetadata(trackId, provider);
|
||||
}
|
||||
track = await this.api.getTrackMetadata(trackId);
|
||||
this.currentTrackPageId = track.id;
|
||||
|
||||
let videoCoverUrl = track.videoUrl || track.videoCoverUrl || track.album?.videoCoverUrl || null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue