Snickrade ihop ett litet script som sparar undan google now's "Lyssnar efter musik..." resutat till en spellista i spotify.
Profile: MusicSearch (329)
State: AutoInput UI State [ Configuration:Apps: Appen Google Sök
Text: Lyssnar efter musik …
Variables: lyssnar ]
Enter: Music (279)
A1: AutoInput UI Query [ Configuration:Only Visible: false
Only Clickable: false
App Package: com.google.android.googlequicksearchbox
Check Screen State: false
Text: Google play
Variables: album, artist, track Package:com.joaomgcd.autoinput Name:AutoInput UI Query Timeout (Seconds):20 ]
A2: Variable Set [ Name:%sokresultat To:%artist %album %track Do Maths:Off Append:Off ]
A3: Flash [ Text:Lägger till i Spotify.
Artist %artist
Album %album
Låt %track Long:On ]
A4: AutoWeb Web Service [ Configuration:API: Spotify
API Action: Search
Search Query: %sokresultat
Type: track Package:com.joaomgcd.autoweb Name:AutoWeb Web Service Timeout (Seconds):120 ]
A5: AutoSpotify Playlists [ Configuration
laylist: Googlenow
Create If Doesn't Exist: true
Add Songs: %sokresultat
Image Size: Medium Package:com.joaomgcd.autospotify Name:AutoSpotify Playlists Timeout (Seconds):20 ]
Kräver Autoweb & Autoinput & Autospotify.
Finns säkert en del att trimma för den som vill det, men det fungerar i alla fall.
Click to expand...