MCPcopy Create free account
hub / github.com/spicetify/cli / fetchLocalTracks

Function fetchLocalTracks

Extensions/shuffle+.js:455–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

453 }
454
455 async function fetchLocalTracks() {
456 const res = await Spicetify.Platform.LocalFilesAPI.getTracks();
457
458 return res.map((track) => track.uri);
459 }
460
461 function fetchQueue() {
462 const { _queueState } = Spicetify.Platform.PlayerAPI._queue;

Callers 1

fetchCollectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected