Tweet This Post

Following up on a previous post using nested lists in Launch Center Pro to perform search queries in Due, I've written an action to immediately play albums in Ecoute.

If you're reading this on your iOS device, tap on this link to install the action. You can then adapt it to your needs.

Here is the action:

 

 

The opening is standard for nested lists, it's just launch://?url= followed by itself, URL-encoded.

It's followed by a simple list:

[list:|Alter Bridge=|Eminem=]

The complicated part is the lists inside the lists.

If we URL-decode everything between the first = and the | before Eminem, we get:

launch://?url=ecoute%3A%2F%2Fplay%3Fterms%3D[list:|Fortress|One Day Remains=One%20Day%20Remains]

It starts with yet another launch://?url= followed by an URL-encoded ecoute://play?terms=, which is the Ecoute URL scheme to play the results matching a search query. Then there's the second list. The key thing to note here is that any album title containing more than one words has to be URL-encoded, so I had to stick in the definition for One Day Remains.

Below are screenshots of what the first two steps should look like. (I added Artists and Albums respectively after the list: because LCP was for some reason putting "Brightness" at the top of the lists.)

04/01/14; 09:11:41 AM

Last built: Mon, May 12, 2014 at 8:52 AM

By Jeffrey Kishner, Tuesday, April 1, 2014 at 9:11 AM.