Fix documentation for media_content_type (#472)

This needs to be a property, not a function.
This commit is contained in:
Frederik Gladhorn 2020-04-23 19:08:29 +02:00 committed by GitHub
parent 6692398f0f
commit ddd0ef7d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,7 @@ Required. Returns one of the defined constants from the below list that matches
class MyMediaPlayer(MediaPlayerDevice): class MyMediaPlayer(MediaPlayerDevice):
# Implement the following method. # Implement the following method.
@property
def media_content_type(self): def media_content_type(self):
"""Content type of current playing media.""" """Content type of current playing media."""