mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
return what playlist is playing
This commit is contained in:
parent
4be33bb15b
commit
e84ddb036f
@ -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. """
|
||||
|
Loading…
x
Reference in New Issue
Block a user