Jump to content
rusinov

Apple Music search with Alfred

Recommended Posts

I use Alfred for searching in iTunes Store but I can't find a custom search for Apple Music catalog, any tips?

Edited by rusinov

Share this post


Link to post

Here's what I have so far:

 

http://workupload.com/archive/7H6r3hL

 
it prefers songs and music videos in results
(a version searching only for albums would be easy enough to create)
 
however, right now it opens the result in you browser as i can't figure out the URL scheme to open iTunes to that song or collection.
 
If anybody figures it out, feel free to let me know and I'll host this on github.
Edited by gingerbeardman
new download link

Share this post


Link to post

 

Yeah, I found that and others but I can't get any links to open their respective pages in iTunes.

 

If you can find an iTunes link starting with http:// that you can change to start with itms:// that when entered in Safari opens iTunes to a specific page, let me know!

 

eg.

 

David Bowie "Blackstar"

http://itunes.apple.com/gb/album/blackstar/id1059043043

Becomes

itms://itunes.apple.com/gb/album/blackstar/id1059043043

Which opens iTunes, but not to the correct tab.

Edited by gingerbeardman

Share this post


Link to post

Thank you Gingerbeardman.

 

A few things:

- The Search iTunes Music Store take me to the UK store. Is it possible to switch to US store?

- More importantly for me, I would like to be able to search Apple Music, not the iTunes Music Store. Do you have plans to develop such a workflow?

 

Thanks

Matthew

Share this post


Link to post
Posted (edited)
On 21/02/2018 at 7:58 PM, mlondon said:

Thank you Gingerbeardman.

 

A few things:

- The Search iTunes Music Store take me to the UK store. Is it possible to switch to US store?

- More importantly for me, I would like to be able to search Apple Music, not the iTunes Music Store. Do you have plans to develop such a workflow?

 

Thanks

Matthew

Sure, the ability to edit the store region is already in the script.

 

1. Open Alfred

2. Find workflow

3. Right click workflow

4. "Open in Finder"

5. open files song.py and album.py

6. change line COUNTRY = u'GB' to COUNTRY = u'US'
 

Edited by gingerbeardman

Share this post


Link to post
1 minute ago, gingerbeardman said:

Sure, the ability to edit the store region is already in the script.

 

1. Open Alfred

2. Find workflow

3. Right click workflow

4. "Open in Finder"

5. open files song.py and album.py

6. change line COUNTRY = u'GB' to COUNTRY = u'US'
 

 

And regarding searching Apple Music instead of iTunes Store? :)

Share this post


Link to post
Posted (edited)
4 hours ago, gandalfsaxe said:

 

And regarding searching Apple Music instead of iTunes Store? :)

 

Sorry I have not had time to look into that.

 

 

Edited by gingerbeardman

Share this post


Link to post
Posted (edited)
On 16/04/2018 at 8:00 PM, gandalfsaxe said:

 

And regarding searching Apple Music instead of iTunes Store? :)

 

OK @gandalfsaxe a bit more digging and it was possible to do this with minor changes—I just had to find the correct documentation.

 

Let me know if you need to search for anything other than song and album.

 

See above for updated download link!

 

Edited by gingerbeardman

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×