-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# spotify-search-siri-shortcut | ||
A shortcut for Apple's Siri Shortcuts that lets you initiate a Spotify search using your voice. | ||
|
||
### Requirements | ||
- iOS 12 with Shortcuts app installed | ||
- Spotify app | ||
|
||
### Limitations | ||
- You must unlock your iOS device when triggering the shortcut. This is unavoidable. | ||
- The resulting search in the Spotify app will have "+" characters where spaces should be. The Spotify app seems to reject the request when spaces are used. For now at least, the search works as normal. | ||
- The shortcut only initiates a search, and cannot select a result or autoplay a track for you. | ||
|
||
# Installing | ||
To install this shortcut, [download the release](https://github.com/nbolender/spotify-search-siri-shortcut/releases/download/v1.0.0/SearchSpotify.shortcut) from your iOS device and choose to open it in the Shortcuts app. This will add the shortcut to your library and make it available for use. | ||
|
||
# [:rocket: Download v1.0.0](https://github.com/nbolender/spotify-search-siri-shortcut/releases/download/v1.0.0/SearchSpotify.shortcut) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>WFWorkflowClientVersion</key> | ||
<string>702</string> | ||
<key>WFWorkflowClientRelease</key> | ||
<string>2.0</string> | ||
<key>WFWorkflowMinimumClientVersion</key> | ||
<integer>411</integer> | ||
<key>WFWorkflowIcon</key> | ||
<dict> | ||
<key>WFWorkflowIconStartColor</key> | ||
<integer>4292093695</integer> | ||
<key>WFWorkflowIconImageData</key> | ||
<data></data> | ||
<key>WFWorkflowIconGlyphNumber</key> | ||
<integer>59560</integer> | ||
</dict> | ||
<key>WFWorkflowImportQuestions</key> | ||
<array/> | ||
<key>WFWorkflowTypes</key> | ||
<array> | ||
<string>NCWidget</string> | ||
<string>WatchKit</string> | ||
</array> | ||
<key>WFWorkflowInputContentItemClasses</key> | ||
<array> | ||
<string>WFAppStoreAppContentItem</string> | ||
<string>WFArticleContentItem</string> | ||
<string>WFContactContentItem</string> | ||
<string>WFDateContentItem</string> | ||
<string>WFEmailAddressContentItem</string> | ||
<string>WFGenericFileContentItem</string> | ||
<string>WFImageContentItem</string> | ||
<string>WFiTunesProductContentItem</string> | ||
<string>WFLocationContentItem</string> | ||
<string>WFDCMapsLinkContentItem</string> | ||
<string>WFAVAssetContentItem</string> | ||
<string>WFPDFContentItem</string> | ||
<string>WFPhoneNumberContentItem</string> | ||
<string>WFRichTextContentItem</string> | ||
<string>WFSafariWebPageContentItem</string> | ||
<string>WFStringContentItem</string> | ||
<string>WFURLContentItem</string> | ||
</array> | ||
<key>WFWorkflowActions</key> | ||
<array> | ||
<dict> | ||
<key>WFWorkflowActionIdentifier</key> | ||
<string>is.workflow.actions.dictatetext</string> | ||
<key>WFWorkflowActionParameters</key> | ||
<dict> | ||
<key>WFSpeechLanguage</key> | ||
<string>en-US</string> | ||
<key>UUID</key> | ||
<string>816CFC55-0A70-4783-8777-73F480AE9E90</string> | ||
</dict> | ||
</dict> | ||
<dict> | ||
<key>WFWorkflowActionIdentifier</key> | ||
<string>is.workflow.actions.urlencode</string> | ||
<key>WFWorkflowActionParameters</key> | ||
<dict> | ||
<key>UUID</key> | ||
<string>8C697F2C-6C6A-4B87-8DAE-52A5A14CA9C3</string> | ||
</dict> | ||
</dict> | ||
<dict> | ||
<key>WFWorkflowActionIdentifier</key> | ||
<string>is.workflow.actions.gettext</string> | ||
<key>WFWorkflowActionParameters</key> | ||
<dict> | ||
<key>WFTextActionText</key> | ||
<dict> | ||
<key>Value</key> | ||
<dict> | ||
<key>string</key> | ||
<string>spotify://search/</string> | ||
<key>attachmentsByRange</key> | ||
<dict> | ||
<key>{17, 1}</key> | ||
<dict> | ||
<key>OutputUUID</key> | ||
<string>8C697F2C-6C6A-4B87-8DAE-52A5A14CA9C3</string> | ||
<key>Type</key> | ||
<string>ActionOutput</string> | ||
<key>OutputName</key> | ||
<string>URL Encoded Text</string> | ||
</dict> | ||
</dict> | ||
</dict> | ||
<key>WFSerializationType</key> | ||
<string>WFTextTokenString</string> | ||
</dict> | ||
<key>UUID</key> | ||
<string>7040EE49-CDA0-4776-A708-D9986CF664E0</string> | ||
</dict> | ||
</dict> | ||
<dict> | ||
<key>WFWorkflowActionIdentifier</key> | ||
<string>is.workflow.actions.text.replace</string> | ||
<key>WFWorkflowActionParameters</key> | ||
<dict> | ||
<key>WFReplaceTextFind</key> | ||
<string>%20</string> | ||
<key>WFReplaceTextCaseSensitive</key> | ||
<false/> | ||
<key>WFReplaceTextReplace</key> | ||
<string>+</string> | ||
</dict> | ||
</dict> | ||
<dict> | ||
<key>WFWorkflowActionIdentifier</key> | ||
<string>is.workflow.actions.openurl</string> | ||
<key>WFWorkflowActionParameters</key> | ||
<dict/> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |