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
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
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
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
On 4/17/2018 at 2:58 AM, 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'
 

 

Would someone be willing to help a newbie? I have no idea... none. But I desparately want a workflow that will search the australian itunes store so that when i am DJing if I dont have a song, its easy to download it from the store (not apple music).

 

Is there anyone that can help?

Share this post


Link to post
On 2/19/2019 at 6:42 AM, MandyB said:

 

Would someone be willing to help a newbie? I have no idea... none. But I desparately want a workflow that will search the australian itunes store so that when i am DJing if I dont have a song, its easy to download it from the store (not apple music).

 

Is there anyone that can help?

 

what exactly is the problem?

Share this post


Link to post
On 2/19/2019 at 5:42 AM, MandyB said:

 

Would someone be willing to help a newbie? I have no idea... none. But I desparately want a workflow that will search the australian itunes store so that when i am DJing if I dont have a song, its easy to download it from the store (not apple music).

 

Is there anyone that can help?

Which of the 6 steps do you get stuck at?

Share this post


Link to post
On 4/17/2018 at 12:02 AM, gingerbeardman said:

 

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!

 

 

Thanks! What I actually wanted is a little simpler: Instead of a built-in search that shows up in Alfred, I just want to search from alfred, but then redirected to the application (for Mac AppStore and iTunes for Apple Music). Like you can do with spotify using "spotify:search:{query}". You know how to do this?

Share this post


Link to post
21 hours ago, gandalfsaxe said:

 

Thanks! What I actually wanted is a little simpler: Instead of a built-in search that shows up in Alfred, I just want to search from alfred, but then redirected to the application (for Mac AppStore and iTunes for Apple Music). Like you can do with spotify using "spotify:search:{query}". You know how to do this?

 

My searches should copy the correct link to the clipboard when you press enter, just open that in Safari (or using Alfred) to open iTunes to the correct place.

 

You may be able to bypass Alfred completely using iTunes URL Scheme, but I cannot help you with that.

 

https://stackoverflow.com/questions/31194155/apple-music-url-scheme

 

Edited by gingerbeardman

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...