Add suppport for track.getCorrection
This commit is contained in:
parent
71d59a17ca
commit
db9bc4f216
|
@ -2953,6 +2953,12 @@ class Track(_Opus):
|
|||
def __init__(self, artist, title, network, username=None):
|
||||
super(Track, self).__init__(artist, title, network, "track", username)
|
||||
|
||||
def get_correction(self):
|
||||
"""Returns the corrected track name."""
|
||||
|
||||
return _extract(
|
||||
self._request(self.ws_prefix + ".getCorrection"), "name")
|
||||
|
||||
def get_duration(self):
|
||||
"""Returns the track duration."""
|
||||
|
||||
|
|
Loading…
Reference in a new issue