ShareShortcuts
Создать форк «iMessage2Spotify»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы iannotian получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
36K
Сохранено
2
Действия
55
Категория
Music
Версия
1.0
Язык
EN

Просмотр

Instantly add Spotify songs from iMessage links to your playlist–effortlessly and in the background.

Do your friends send you a lot of Spotify links through iMessage? Do you wish you could have those songs sent to a playlist automatically, so that you can listen to all of them later? If so, iMessage2Spotify is for you.

[⚠️ REQUIRED!] Installation Instructions

NOTE: This Shortcut requires a one-time initial setup to authorize adding songs to your Spotify account. It will not work if you do not set it up first.

  • Allow the shortcut to add Playlists to your Spotify account by tapping on iMessage2Spotify in your Shortcuts app after you install it.
  • Add two Personal Automations that "Run Immediately" on a received message: one for messages containing spotify.link and another for messages containing open.spotify.com/track
  • Your Personal Automation must be configured to use the incoming message as input to the Shortcut. It should look like this.

After setup, for every song link that you receive via iMessage, the shortcut will add a song to a iMessage2Spotify playlist in your Spotify.

Having problems?

Possible troubleshooting steps:

  • Try deleting the imessage2spotify.json file in your iCloud Drive/Shortcuts/ folder to reset everything, and then run iMessage2Spotify again.
  • Try logging out and back into Spotify Web via Safari if you have issues authorizing during setup.
  • If you're on iOS 16+, your Personal Automation must be configured to use the incoming message as input to the Shortcut. It should look like this.
  • If it used to trigger on messages, but doesn't anymore, it could be because Spotify changed their share links in March 2023. Add a Personal Automation for messages containing spotify.link. See this GitHub issue for more details.

Still having issues? Post an issue on GitHub and tag @iannotian.

Uninstall

If you wish to revoke iMessage2Spotify's playlist read/write access (which will disable this shortcut's functionality), go to https://www.spotify.com/us/account/apps/ and press Remove Access.

Also, delete the shortcut and the file at Files/iCloud Drive/Shortcuts/imessage2spotify.json.

Source code on GitHub

Что нового

Версия 1.0

First release

История версий
1.0 31 дек 2022 г.

First release

Что делает

Действий: 55
  1. URL
  2. Get Component of URL
  3. Replace Text
  4. List
  5. Combine Text
  6. Set Variable
    TrackUri
  7. Text
  8. Set Variable
    baseUrl
  9. Get File
  10. If
  11. Show Alert
  12. Show Web Page
  13. Get Dictionary from Input
  14. If
  15. Get Contents of URL
    https://api.spotify.com/v1/me
  16. Set Dictionary Value
  17. Get Contents of URL
    https://api.spotify.com/v1/users/…/playlists
  18. Set Dictionary Value
  19. Save File
  20. Show Alert
  21. Text
  22. Copy to Clipboard
  23. If
  24. Show Alert
  25. Stop This Shortcut
  26. If
  27. If
  28. Show Alert
  29. Text
  30. Copy to Clipboard
  31. Stop This Shortcut
  32. Get Text from Input
  33. Get Dictionary from Input
  34. Set Variable
    ExistingTokens
  35. Get Details of Files
  36. If
  37. If
  38. Get Contents of URL
    …/api/spotify/save/…
  39. If
  40. Get Contents of URL
    https://api.spotify.com/v1/users/…/playlists
  41. Set Dictionary Value
  42. Save File
  43. Get Contents of URL
    https://api.spotify.com/v1/playlists/…/tracks
  44. If
  45. Show Alert
  46. If
  47. Get Dictionary from Input
  48. Get Contents of URL
    …/api/spotify/refresh?token=…
  49. Set Variable
    NewTokens
  50. Set Dictionary Value
  51. Set Dictionary Value
  52. If
  53. Set Dictionary Value
  54. Save File
  55. Get Contents of URL
    …/api/spotify/save/…

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Вам также может понравиться

См. все
Реклама