mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-14 10:24:19 +01:00
parent
acd9b2e136
commit
29d1e9e7cb
@ -459,6 +459,7 @@ QVariantMap Player::GetMetadata(const PlaylistItem& item) const {
|
|||||||
AddMetadata("samplerate", song.samplerate(), &ret);
|
AddMetadata("samplerate", song.samplerate(), &ret);
|
||||||
AddMetadata("bpm", song.bpm(), &ret);
|
AddMetadata("bpm", song.bpm(), &ret);
|
||||||
AddMetadata("composer", song.composer(), &ret);
|
AddMetadata("composer", song.composer(), &ret);
|
||||||
|
AddMetadata("mtime", song.length() * 1000, &ret);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -267,7 +267,7 @@ class Song {
|
|||||||
int skipcount_;
|
int skipcount_;
|
||||||
int lastplayed_;
|
int lastplayed_;
|
||||||
|
|
||||||
int length_;
|
int length_; // Seconds.
|
||||||
int bitrate_;
|
int bitrate_;
|
||||||
int samplerate_;
|
int samplerate_;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user