Build an open future with us.

Invest in Mycroft and become a community partner.

[Music] Google Play Music


#1

Skill name: google-music-skill

User story:

  • As a music lover, I want to be able to play my Google Play Music songs, playlists artists using voice commands so I can enjoy music wherever my Mycroft Device is.
  • As a music lover, I want to be able to search for songs on Google Play Music by various attributes so I can find music during other activities such as reading.
  • As a music lover, I want to be able to go to sleep using Google Play Music by playing music for a length of time, and then that music fades out, so I get a good night’s sleep.
  • As a music lover, I want to be able to wake up using Google Play Music by playing a song, first that music fades in and then last several minutes, so I get a good morning.

What third party services, data sets or platforms will the Skill interact with?

Google Play Music

Are there similar Mycroft Skills already?

What will the user Speak to trigger the Skill?

  • Play {{playlist_name}}
  • Play {{genre}}
  • Play {{artist}}
  • Play for {{number_of_minutes}} then go to sleep
  • Search for {{playlist_name}} | {{track_name}} | {{album_name}}
  • Next track | Next song
  • Previous track | Previous song
  • What’s playing?

What phrases will Mycroft Speak?

  • Now playing {{playlist_name}}
  • Now playing {{genre}}
  • Now playing {{artist}}
  • Now playing for {{number_of_minutes}}
  • I found {{search_term}} in {{num_artists}} | {{num_tracks}} | {{num_albums}}. Should I list them?
  • I’m sorry, I couldn’t find any music matching {{search_term}}
  • Playing next track | song
  • Playing previous track | song
  • The current track | song is {{track}}

What Skill Settings will this Skill need to store?

  • OAuth information for the user’s Google Play Music account.
  • Last played tracks so the user can do things like “play that last song again”

Other comments?

Put any other comments you think are relevant in here


#2

Not quite a full relationship with Google Play, but if you have the Google Play Music Desktop Player installed for Linux, you can use my new skill to at least apply some of these controls:

Waiting for the pull request to be approved to get this into the Community Skills list, but you can install directly from github.


#3

I found this unofficial api in Python

https://unofficial-google-music-api.readthedocs.io/en/latest/


#4

had that same problem to download listen to [Google play music free](http://http: //www.playstoreappdownload.mobi/google-play-music-free/)


#5

I’d like to see something like this added. My son plays with Alexa Echo dot and my daughter plays with Google Home and both have a similar type of skill. The setup for my daughter’s Google Home is timer based, and for my son its playlist based, but both stop after approximately an hour.