forked from home-assistant/core
return what playlist is playing
This commit is contained in:
@@ -304,6 +304,11 @@ class ItunesDevice(MediaPlayerDevice):
|
||||
""" Album of current playing media. (Music track only) """
|
||||
return self.current_album
|
||||
|
||||
@property
|
||||
def media_playlist(self):
|
||||
""" Title of the currently playing playlist. """
|
||||
return self.current_playlist
|
||||
|
||||
@property
|
||||
def supported_media_commands(self):
|
||||
""" Flags of media commands that are supported. """
|
||||
|
Reference in New Issue
Block a user