From 05f73962a870cfc824c9afea999b034876fe81b4 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 17 Apr 2011 15:23:11 +0000 Subject: [PATCH] Oops, update playlist.sip --- src/scripting/python/playlist.sip | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/scripting/python/playlist.sip b/src/scripting/python/playlist.sip index 897f7ed30..9716389bc 100644 --- a/src/scripting/python/playlist.sip +++ b/src/scripting/python/playlist.sip @@ -48,16 +48,11 @@ public: }; enum LastFMStatus { - //new song to scrobble - LastFM_New = 0, - //song already scrobbled - LastFM_Scrobbled, - //song we don't want to scrobble, e.g. if we seeked through it - LastFM_Skipped, - //error submitting - LastFM_Error, - //invalid Song, e.g. tags not available - LastFM_Invalid + LastFM_New = 0, // Haven't scrobbled yet, but we want to later + LastFM_Scrobbled, // Scrobbled ok + LastFM_Seeked, // The user seeked so don't scrobble + LastFM_Error, // Tried to scrobble but got an error + LastFM_Invalid, // The song isn't suitable for scrobbling }; static const char* kRowsMimetype; @@ -113,7 +108,9 @@ public: // Scrobbling qint64 scrobble_point_nanosec() const; LastFMStatus get_lastfm_status() const; + bool have_incremented_playcount() const; void set_lastfm_status(LastFMStatus status); + void set_have_incremented_playcount(); // Changing the playlist void InsertItems (const PlaylistItemList& items, int pos = -1, bool play_now = false, bool enqueue = false);