mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
Oops, update playlist.sip
This commit is contained in:
parent
8f4c1dbbf6
commit
05f73962a8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user