Skip to content

Commit

Permalink
Re-read FMPS_Rating from file when changed
Browse files Browse the repository at this point in the history
When the FMPS_Rating changes in a file, Clementine will now re-read it
and change the rating in the library database.  This lets you modify
song ratings outside of Clementine and then load the new ratings into
Clementine.  Previously Clementine would ignore changed ratings in a
file's metadata after a song had been scanned into the library.
  • Loading branch information
alphapapa authored and ArnaudBienner committed Apr 25, 2015
1 parent 20583b8 commit bb5a952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,7 @@ bool Song::IsMetadataEqual(const Song& other) const {
d->samplerate_ == other.d->samplerate_ &&
d->art_automatic_ == other.d->art_automatic_ &&
d->art_manual_ == other.d->art_manual_ &&
d->rating_ == other.d->rating_ &&
d->cue_path_ == other.d->cue_path_ &&
d->lyrics_ == other.d->lyrics_;
}
Expand Down Expand Up @@ -1141,7 +1142,6 @@ void Song::MergeUserSetData(const Song& other) {
set_playcount(other.playcount());
set_skipcount(other.skipcount());
set_lastplayed(other.lastplayed());
set_rating(other.rating());
set_score(other.score());
set_art_manual(other.art_manual());
}

0 comments on commit bb5a952

Please sign in to comment.