Use Nested Lists in Launch Center Pro 2.3 to Open Albums by Artist in Spotify and Ecoute for iOS

Tweet This Post

The latest update to Launch Center Pro has made it easier to create nested lists. Previously one had to use launch://?url= but now that is no longer necessary. Here is an abridged version of my LCP action to open albums in Ecoute:

ecoute://play?terms=[[list:Artist|Eminem=[list:Album|Marshall Mathers|Recovery]|Foo Fighters=[list:Albums|The Colour and the Shape|There Is Nothing Left to Lose]|Pharrell Williams={{Pharrell Williams}}|Search=[prompt:Search]]]

When I tap on this action, it presents a list of artists (Eminem, Foo Fighters, Pharrell Williams, and "Search"). If I tap on either of the first two, I am presented with a list of albums, and when I tap on the album name, that album auto-plays in Ecoute. If I tap on Pharrell Williams, G I R L automatically plays because I only have one album by him in my library. And if I tap on Search I am presented with a prompt, and if my query matches something in my music library, then it starts playing. (Thanks to Eric Pramono @epramono for help encoding this last part.)

The key to this nested list is that the first list is surrounded by double brackets and the embedded lists are only surrounded by single brackets. Two brackets means don't encode this. Because the first list is not encoded, I have to encode Pharrell Williams in double curly brackets since his name does not included an embedded list. And the search prompt only needs single brackets because they encode the prompt text.

The Spotify URL scheme is a bit more complicated. Here is an abridged version of my Spotify action:

spotify:[[list:Pick a List|Ali Farka Touré={{}}|King's X=[list:|Xv=|Please Come Home....Mr. Bulbous=]|Yes=[list:|Fragile=|Relayer=]]]

When I click on this action I would be presented with Ali Farka Touré, King's X, and Yes. Following the pattern above, if I don't have an embedded list for an artist, I just encode that value with double curly brackets. Otherwise I just use single brackets around the embedded list.

The URL scheme for Spotify is spotify:SPOTIFY_URL. You can get the Spotify URL from the app (in the share settings) or via a google search. I've even written a search tool using their API here.

How to Manage These Actions

One of the major downsides of LCP is that it's difficult to edit very long actions in the app's editor. However, there is a way around this. Import this action or just create a new action called Import and enter this string:


Then keep your music actions in their own text files in Dropbox. For example, I currently have my unabridged Spotify action as a text file called spotify.txt in the root of my Dropbox folder. I then just use the following action to import it:


LCP will import that text file, and ask you if you want to add it, just like if you were to use one of the importable actions at This way, you can make your edits in any Dropbox text editor instead of within the app itself.

Last built: Tue, Mar 31, 2015 at 2:05 PM

By Jeffrey Kishner, Monday, June 16, 2014 at 11:57 AM.