summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpdat/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpdat/client.py b/mpdat/client.py
index 37a91e1..5974ed0 100644
--- a/mpdat/client.py
+++ b/mpdat/client.py
@@ -97,6 +97,8 @@ class MPDatClient(mpd.MPDClient):
yield songs
songs = []
songs.append(song)
+ if songs:
+ yield songs
def get_playlist_albums_time(self):
for album in self.get_playlist_albums():