Google Now and Madsonic

Android Client for Madsonic

Google Now and Madsonic

Unread postby troycarpenter » 28 Feb 2014, 21:38

I just tried the latest Google Now with Madsonic in terms of playing music. The first time I did it, I said:

"Ok Google, play Monster by Skillet". Google Now brought up a card asking me to buy the song from the play store as the default action. When I clicked on the play store icon in the lower left corner of the card, it presented me with all the music players I had installed, including Madsonic, which I selected. The song then started playing in Madsonic, and subsequent commands played directly in Madsonic without intervention.

However, trying to play an entire album or artist didn't work. After watching on screen what was happening, it looks like Google Now simply shunts a search into Madsonic, which then plays the first item returned in the search. The search results are usually displayed on the screen and the playlist can easily be amended from there. I don't exactly know what search is being passed into Madsonic. I don't know if there is even a way to differentiate an artist request vs. album request.

Anyway, it's better than nothing and if you only want to listen to one song at at time, it actually works.
User avatar
troycarpenter
 
Posts: 120
Joined: 03 Dec 2013, 19:16
Location: Georgia, USA
Has thanked: 19 times
Been thanked: 49 times

Re: Google Now and Madsonic

Unread postby rburns » 05 Mar 2014, 14:53

+1 that this does work. This is an actual added bonus for me.
I use handsfree options quite often, and I want to confirm that this does work.

Say" OK, Google"
"Play..." any song you have in your Madsonic directory
A Google Now card will display that reads, "Choose how you want to buy or play..."
Click the drop-down where it shows the Play Store.
DO NOT click the Play Store, but click the Icon that has a small arrow in top left
The resulting list will be all of the players you have on your phone, including Madsonic.
Click Madsonic which will change the icon.
Click Madsonic Text which is next to the icon.
Watch the magic happen
rburns
 
Posts: 20
Joined: 31 Aug 2013, 17:36
Has thanked: 1 time
Been thanked: 14 times

Re: Google Now and Madsonic

Unread postby zhdenny » 20 Mar 2015, 01:05

If you want to know more...you can actually perform a Madsonic search action in Tasker or similar with the following

Action: android.intent.action.SEARCH
Cat: Default
Mime Type: text/plain
Extra query:%search_term
Package: github.madmarty.madsonic
Class: github.madmarty.madsonic.activity.QueryReceiverActivity
Target: Activity

%search_term is the variable for whatever you search for. I use this action in Tasker along with a GetVoice action that lets me speak my search terms. The above action also only SEARCHES...it will not play the 1st result like Google Now does.

If anyone has any other cool things like this, please post.
zhdenny
 
Posts: 2
Joined: 11 May 2013, 06:04
Has thanked: 0 time
Been thanked: 3 times


Return to Client

Who is online

Users browsing this forum: No registered users and 2 guests

cron