Add artist_id, album_id and song id to songs
This commit is contained in:
@@ -197,10 +197,9 @@ class Song {
|
||||
const QString &comment() const;
|
||||
const QString &lyrics() const;
|
||||
|
||||
int playcount() const;
|
||||
int skipcount() const;
|
||||
int lastplayed() const;
|
||||
int artist_id() const;
|
||||
int album_id() const;
|
||||
int song_id() const;
|
||||
|
||||
qint64 beginning_nanosec() const;
|
||||
qint64 end_nanosec() const;
|
||||
@@ -219,6 +218,10 @@ class Song {
|
||||
uint mtime() const;
|
||||
uint ctime() const;
|
||||
|
||||
int playcount() const;
|
||||
int skipcount() const;
|
||||
int lastplayed() const;
|
||||
|
||||
const QString &art_automatic() const;
|
||||
const QString &art_manual() const;
|
||||
|
||||
@@ -265,7 +268,6 @@ class Song {
|
||||
bool IsEditable() const;
|
||||
|
||||
void set_id(int id);
|
||||
void set_album_id(int v);
|
||||
void set_valid(bool v);
|
||||
|
||||
void set_title(const QString &v);
|
||||
@@ -285,6 +287,10 @@ class Song {
|
||||
void set_comment(const QString &v);
|
||||
void set_lyrics(const QString &v);
|
||||
|
||||
void set_artist_id(int v);
|
||||
void set_album_id(int v);
|
||||
void set_song_id(int v);
|
||||
|
||||
void set_beginning_nanosec(qint64 v);
|
||||
void set_end_nanosec(qint64 v);
|
||||
void set_length_nanosec(qint64 v);
|
||||
|
||||
Reference in New Issue
Block a user