Clear playlist on play
This commit is contained in:
parent
0f2872c2fb
commit
098c2e2d14
1 changed files with 1 additions and 0 deletions
1
mcg.py
1
mcg.py
|
@ -229,6 +229,7 @@ class MCGClient:
|
|||
def _play(self, album):
|
||||
"""Action: Performs the real play command.
|
||||
"""
|
||||
self._client.clear()
|
||||
track_ids = []
|
||||
for track in self._albums[album].get_tracks():
|
||||
track_id = self._client.addid(track.get_file())
|
||||
|
|
Loading…
Reference in a new issue