Login About Gallery
Shazam To Spotify Playlist
DOCUMENTS
Get File
Service
iCloud Drive
Show Document Picker
File Path
/Shortcuts/example.txt
Error If Not Found
COMMENT
refresh_token ⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️
SCRIPTING
If
File
does not have any value
DOCUMENTS
Create Folder
Service
iCloud Drive
Path
/Shortcuts/Spotify/
TEXT
ugc-image-upload user-read-playback-state playlist-read-collaborative user-modify-playback-state user-read-private playlist-modify-public user-library-modify user-top-read playlist-read-private user-follow-read user-read-recently-played playlist-modify-private user-follow-modify user-library-read
DOCUMENTS
Replace
\n
with
%20
in
Text
Case Sensitive
Regular Expression
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
URL
https://tecuts.com/spotify-authorization/
SCRIPTING
URL
Encode
URL
URL
https://accounts.spotify.com/authorize?client_id=c99ad93893c74d409e7934ba81bc194b&response_type=code&redirect_uri=
URL Encoded Text
&scope=
Replace Text
SAFARI
Show web page at
URL
Enter Safari Reader
SHARING
Get clipboard
URL
https://accounts.spotify.com/api/token
NETWORK
Get contents of
URL
Options Under Construction
SCRIPTING
Get dictionary from
Contents of URL
SCRIPTING
Get
Value
for
refresh_token
in
Dictionary
DOCUMENTS
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/Spotify/key.txt
Overwrite If File Exists
Otherwise
SCRIPTING
Show alert
Generation failed
Title
Generation failed
Show Cancel Button
End If
End If
DOCUMENTS
Get File
Service
iCloud Drive
Show Document Picker
File Path
/Shortcuts/example.txt
Error If Not Found
DOCUMENTS
Get text from
File
TEXT
COMMENT
➡️Get access token
URL
https://accounts.spotify.com/api/token
NETWORK
Get contents of
URL
Options Under Construction
SCRIPTING
Get
Value
for
access_token
in
Contents of URL
VARIABLES
Set variable
access_token
to
Dictionary Value
COMMENT
Get access token⬅️
shazamMedia Under Construction
SCRIPTING
If
Shazam Media
contains
Feat.
TEXT
Match
.+?(?= Feat.)
in
Shazam Media
Case Sensitive
Otherwise
SCRIPTING
If
Shazam Media
contains
&
TEXT
Match
.+?(?= &)
in
Shazam Media
Case Sensitive
Otherwise
End If
End If
DOCUMENTS
Replace
with
%20
in
Text
Case Sensitive
Regular Expression
URL
https://api.spotify.com/v1/search?q=track:
Updated Text
&type=track
NETWORK
Get contents of
URL
Options Under Construction
SCRIPTING
Get
Value
for
tracks.items
in
Contents of URL
SCRIPTING
Get
First Item
from
Dictionary Value
SCRIPTING
Get
Value
for
id
in
Item from List
SCRIPTING
If
Dictionary Value
has any value
VARIABLES
Set variable
TrackID
to
Dictionary Value
URL
https://api.spotify.com/v1/tracks/
TrackID
NETWORK
Get contents of
URL
Options Under Construction
TEXT
{"uri":"
Contents of URL
","image":"
Contents of URL
"}
End If
DOCUMENTS
Replace
&
with
and
in
Shazam Media
Case Sensitive
Regular Expression
VARIABLES
Set variable
Name
to
Updated Text
TEXT
{"Input":"Genius","Title":"
Updated Text
","Artist":"
If Result
"}
COMMENT
Add your playlist ID here. If you leave it blank, it will display your playlist for your choice.
TEXT
Text
SCRIPTING
If
Text
has any value
VARIABLES
Set variable
playlistID
to
Text
Otherwise
URL
https://api.spotify.com/v1/me/playlists
NETWORK
Get contents of
URL
Options Under Construction
SCRIPTING
Get
Value
for
items
in
Contents of URL
SCRIPTING
Repeat with each item in
Dictionary Value
SCRIPTING
Get
Value
for
name
in
Repeat Item
SCRIPTING
Get
Value
for
id
in
Repeat Item
SCRIPTING
VARIABLES
Add
Renamed Item
to
Playlists
End Repeat
SCRIPTING
Choose from
Playlists
Prompt
optional
Select Multiple
VARIABLES
Set variable
playlistID
to
Chosen Item
End If
URL
https://api.spotify.com/v1/playlists/
playlistID
/tracks
NETWORK
Get contents of
URL
Options Under Construction
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Choose from Menu
Get more Spotify shortcuts
URL
https://chrunos.com/spotify-shortcuts-ios/
SAFARI
Open
URL
Check my shortcuts collection
URL
https://chrunos.com/top-siri-shortcuts/
SAFARI
Open
URL
exit
SCRIPTING
Exit shortcut with
Result
End Menu

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 11 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0