mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-03 10:57:33 +01:00
Let watcher handle update of collection songs when organizing
Fixes bug duplicating songs in the db when moving songs across collection id's. Fixes #623
This commit is contained in:
parent
18a67e1f20
commit
fb634bc2d4
@ -238,7 +238,7 @@ void Organize::ProcessSomeFiles() {
|
|||||||
files_with_errors_ << task.song_info_.song_.basefilename();
|
files_with_errors_ << task.song_info_.song_.basefilename();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (job.remove_original_) {
|
if (job.remove_original_ && song.source() == Song::Source_Device) {
|
||||||
// Notify other aspects of system that song has been invalidated
|
// Notify other aspects of system that song has been invalidated
|
||||||
QString root = destination_->LocalPath();
|
QString root = destination_->LocalPath();
|
||||||
QFileInfo new_file = QFileInfo(root + "/" + task.song_info_.new_filename_);
|
QFileInfo new_file = QFileInfo(root + "/" + task.song_info_.new_filename_);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user