add a play_media function

pull/488/head
Jon Maddox 2015-10-06 23:10:39 -04:00
parent dcf52332ca
commit d454cad5a6
1 changed files with 4 additions and 0 deletions

View File

@ -450,6 +450,10 @@ class MediaPlayerDevice(Entity):
""" Plays a YouTube media. """
raise NotImplementedError()
def play_media(self, media_type, media_id):
""" Plays a piece of media. """
raise NotImplementedError()
# No need to overwrite these.
@property
def support_pause(self):