#!/usr/bin/env python

import dbus
try:
    player = dbus.SessionBus()\
                 .get_object(
                     'org.mpris.MediaPlayer2.google-play-music-desktop-player',
                     '/org/mpris/MediaPlayer2'
                 )
    player.Raise(dbus_interface='org.mpris.MediaPlayer2', timeout=0)
except:
    pass
