parent
acd9b2e136
commit
29d1e9e7cb
|
@ -459,6 +459,7 @@ QVariantMap Player::GetMetadata(const PlaylistItem& item) const {
|
|||
AddMetadata("samplerate", song.samplerate(), &ret);
|
||||
AddMetadata("bpm", song.bpm(), &ret);
|
||||
AddMetadata("composer", song.composer(), &ret);
|
||||
AddMetadata("mtime", song.length() * 1000, &ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -267,7 +267,7 @@ class Song {
|
|||
int skipcount_;
|
||||
int lastplayed_;
|
||||
|
||||
int length_;
|
||||
int length_; // Seconds.
|
||||
int bitrate_;
|
||||
int samplerate_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue