File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -498,12 +498,12 @@ this.getAlbumTracks && this.removeTracksFromQueue && (Spicetify.removeFromQueue
498
498
return;
499
499
}
500
500
501
- if (uriObj.type === Spicetify.URI.Type.ALBUM) {
501
+ if (uriObj.type === Spicetify.URI.Type.ALBUM || uriObj.type === Spicetify.URI.Type.LOCAL_ALBUM ) {
502
502
const tracks = await getAlbumAsync(inputUri);
503
503
tracks.forEach((trackUri) => {
504
504
Spicetify.Queue.next_tracks.forEach((t, i) => t.uri == trackUri && indices.add(i))
505
505
})
506
- } else if (uriObj.type === Spicetify.URI.Type.TRACK || uriObj.type === Spicetify.URI.Type.EPISODE) {
506
+ } else if (uriObj.type === Spicetify.URI.Type.TRACK || uriObj.type === Spicetify.URI.Type.EPISODE || uriObj.type === Spicetify.URI.Type.LOCAL ) {
507
507
Spicetify.Queue.next_tracks.forEach((t, i) => t.uri == inputUri && indices.add(i))
508
508
} else {
509
509
console.error("Only Album, Track and Episode URIs are accepted. Skipped ", inputUri);
You can’t perform that action at this time.
0 commit comments