Skip to content

Commit

Permalink
ExtendedTrackItem - Only use last ISRC from mbz releaseTrack
Browse files Browse the repository at this point in the history
fixes #116
  • Loading branch information
Inrixia committed Jan 30, 2025
1 parent a6ad86e commit df5f2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/_lib/Caches/ExtendedTrackItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class ExtendedMediaItem {
let isrcs = [];

const releaseTrack = await this.releaseTrack();
if (releaseTrack?.recording.isrcs) isrcs.push(...releaseTrack.recording.isrcs);
if (releaseTrack?.recording.isrcs) isrcs.push(releaseTrack.recording.isrcs[releaseTrack.recording.isrcs.length - 1]);

const trackItem = this.tidalTrack;
if (trackItem.isrc) isrcs.push(trackItem.isrc);
Expand Down

0 comments on commit df5f2ba

Please sign in to comment.