From 7887242e845bd5ace5ed54d9496d2b1f88c39db0 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 2 Mar 2014 12:11:39 +0200 Subject: [PATCH] Add debugging for Python 3.3 --- pylast.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylast.py b/pylast.py index 76d26fa..13771f5 100644 --- a/pylast.py +++ b/pylast.py @@ -3045,6 +3045,7 @@ class User(_BaseObject): seq = [] for track in _collect_nodes(limit, self, "user.getRecentTracks", True, params): + print track.toprettyxml() if track.hasAttribute('nowplaying'): continue #to prevent the now playing track from sneaking in here @@ -3055,6 +3056,7 @@ class User(_BaseObject): seq.append(PlayedTrack(Track(artist, title, self.network), date, timestamp)) + print seq return seq def get_id(self):