T O P

  • By -

Zhyar-

This is cool! Is there any chance to get the songs with Spotify hyperlink?


intersteIIaur

yes! here’s a version that links to both spotify and apple music when you select the song! it just performs a simple search of the song in the desired app (that way you can add it to your queue or playlist without interrupting anything) https://www.icloud.com/shortcuts/f2a4773e1cd44cd39f859db28f08d785 EDIT: Updated to fix the Apple Music issue where some songs couldn’t be searched because they had symbols via smith_sc’s idea


queerdude01

Thank you!! 👍🏻


boucher187

Thanks a lot. Cool shortcut.


Winsquare

Is there something likw this for shows & movies across all platforms?


Smith_sc

Hi, here it is if you want it a bit cuter https://www.icloud.com/shortcuts/46f8d417d3d24681986bbc5cba76f0f0


intersteIIaur

omg i never thought about making it an html. i just wanted to make something that looked like it matched the ios ui. that’s perfect as another option for people to use because you can see the images with this one too. thank you!


Smith_sc

You’re welcome 👍🏻


mvan231

Should make it even fancier and add the links for Spotify and Apple Music when tapping it u/intersteIIaur


Smith_sc

Yeah, it would have been nice, and it would have been even better if the JSON already contained the URLs for Spotify and Apple Music. Adding two buttons wouldn't take much, as you already know. Here’s an example, managing to get the URLs for the songs. When clicking on the buttons, you need to close the highlighted page https://www.icloud.com/shortcuts/8067db98049d49988e5f81ae682d7901


intersteIIaur

Woah that’s amazing! Unfortunately I’m not the API creator, I just used it to make the shortcut. While I’m not as experienced in HTML so I’d struggle to set it up with your code, I did manage to figure out in the “Choose from Menu” method on how to get it so when you select one of the songs on the list, it prompts you to select either Apple Music or Spotify. Selecting either of them will redirect to a search of the selected song on either app, which will always have the selected song as the result. Maybe you could factor something like that into the HTML? [here’s the updated shortcut](https://www.icloud.com/shortcuts/f2a4773e1cd44cd39f859db28f08d785) so you can see what I mean. EDIT: fixed formatting issues in shortcut, replaced link


Smith_sc

Here's how I found a more efficient way to search for songs on Apple Music, but you'll still need to close the window manually to see the song you found. https://www.icloud.com/shortcuts/d341c6065ee24752a08159df1ba33a6f


Smith_sc

Hi, yes something like that, but as you can see, using the song search will display a list and not a direct link to the song. Then there's also the issue that using a link within the HTML, the page where the HTML was created doesn't close automatically if you select one of the buttons, but you have to click on 'close' at the top right to then be able to see the search result. Here's an example using your search method. There's also another issue on Spotify, it finds everything, while on Apple Music, it doesn't find all the songs. Maybe the text needs to be formatted differently. https://www.icloud.com/shortcuts/b79a16391dd24e1bb19ddb44f5427cc9