mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +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) """
|
""" Album of current playing media. (Music track only) """
|
||||||
return self.current_album
|
return self.current_album
|
||||||
|
|
||||||
|
@property
|
||||||
|
def media_playlist(self):
|
||||||
|
""" Title of the currently playing playlist. """
|
||||||
|
return self.current_playlist
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def supported_media_commands(self):
|
def supported_media_commands(self):
|
||||||
""" Flags of media commands that are supported. """
|
""" Flags of media commands that are supported. """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user