mirror of
https://github.com/home-assistant/core.git
synced 2026-08-31 10:16:17 -05:00
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