Отсканируй на iPhone, чтобы установить
The shortcut asks for a word to search your music library's stored Song Titles, Artists and Lyrics for, It then lets you select which of them you'd like to make into a new playlist.
Что нового
Версия 1.0
First release
Что делает
Действий: 5-
CommentQuick Playlist Builder by Bob Orr v1.0 10/19/19 The shortcut asks for a single word to search your music library's stored Song Titles, Artists and Lyrics for that word and lets you select which of them you'd like to make into a new playlist.
-
Ask for InputEnter a word to search your Music Library for:
-
Find Music
-
Choose from List
-
Createplaylist
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define color teal
#define glyph musicNote
/*
Quick Playlist Builder
by Bob Orr
v1.0 10/19/19
The shortcut asks for a single word to search your music library's stored Song Titles, Artists and Lyrics for that word and lets you select which of them you'd like to make into a new playlist.
*/
prompt("Enter a word to search your Music Library for:")
rawAction("is.workflow.actions.filter.music", {
"WFContentItemFilter": "",
"WFContentItemSortOrder": "A to Z",
"WFContentItemSortProperty": "Artist"
})
chooseFromList(nil, "Choose which songs you would like to add to the playlist:", true, false)
rawAction("is.workflow.actions.createplaylist", {
"WFPlaylistAuthor": "{Ask}",
"WFPlaylistDescription": "{Ask}",
"WFPlaylistName": "{Ask}"
})
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от drbobisin
Вам также может понравиться
Реклама