diff --git a/music-rpc.ts b/music-rpc.ts index 7ff91a1..84c82c4 100755 --- a/music-rpc.ts +++ b/music-rpc.ts @@ -82,9 +82,7 @@ function getProps(): Promise { //#endregion //#region iTunes Search API -async function getTrackExtras( - props: iTunesProps -): Promise { +async function getTrackExtras(props: iTunesProps): Promise { const { name, artist, album } = props; const cacheIndex = `${name} ${artist} ${album}`; const entry = await kv.get(["extras", cacheIndex]); @@ -103,7 +101,7 @@ async function _getTrackExtras( artist: string, album: string, retryCount: number = 3 -): Promise { +): Promise { // Asterisks tend to result in no songs found, and songs are usually able to be found without it const query = `${song} ${artist} ${album}`.replace("*", ""); const params = new URLSearchParams({