File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export const updateActivity = asyncDebounce(async (mediaItem?: MediaItem) => {
2222
2323 const activity : SetActivity = { type : 2 } ; // Listening type
2424
25- const trackUrl = `https://tidal.com/browse/ ${ mediaItem . tidalItem . contentType } /${ mediaItem . id } ? u`
25+ const trackUrl = `https://tidal.com/${ mediaItem . tidalItem . contentType } /${ mediaItem . id } / u`
2626 const trackSourceUrl = `https://tidal.com/browse${ sourceUrl } ` ;
2727
2828 activity . buttons = [
@@ -40,7 +40,7 @@ export const updateActivity = asyncDebounce(async (mediaItem?: MediaItem) => {
4040 }
4141
4242 const artist = await mediaItem . artist ( ) ;
43- const artistUrl = `https://tidal.com/browse/ artist/${ artist ?. id } ? u` ;
43+ const artistUrl = `https://tidal.com/artist/${ artist ?. id } / u` ;
4444
4545 // Status text
4646 activity . statusDisplayType = settings . status ;
@@ -78,7 +78,7 @@ export const updateActivity = asyncDebounce(async (mediaItem?: MediaItem) => {
7878 if ( album ) {
7979 activity . largeImageKey = album . coverUrl ( ) ;
8080 activity . largeImageText = await album . title ( ) . then ( fmtStr ) ;
81- activity . largeImageUrl = `https://tidal.com/browse/ album/${ album . id } ? u` ;
81+ activity . largeImageUrl = `https://tidal.com/album/${ album . id } / u` ;
8282 }
8383
8484 await setActivity ( activity ) ;
You can’t perform that action at this time.
0 commit comments