Clear playlist on play

This commit is contained in:
coderkun 2012-07-12 16:46:02 +02:00
parent 0f2872c2fb
commit 098c2e2d14

1
mcg.py
View file

@ -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())