status_verbose

This commit is contained in:
bkfox
2020-05-31 20:35:50 +02:00
parent 9db8859b6b
commit 02696960b0
4 changed files with 42 additions and 22 deletions

View File

@ -59,6 +59,10 @@ class BaseMetadata:
def is_playing(self):
return self.status == 'playing'
@property
def status_verbose(self):
return self.validate_status(self.status, True)
def fetch(self):
data = self.controller.send('request.metadata ', self.rid, parse=True)
if data: