| Summary: | Dont try to write tags if they are not changed. | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Erik Parmann <eparmann> |
| Component: | general | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Erik Parmann
2005-08-06 18:52:11 UTC
SVN commit 443701 by aoliveira:
Only try to write the new tag if it's different from the old one.
BUG: 110299
M +2 -1 playlist.cpp
--- trunk/extragear/multimedia/amarok/src/playlist.cpp #443700:443701
@@ -1484,7 +1484,8 @@
if( column == PlaylistItem::Score )
CollectionDB::instance()->setSongPercentage( item->url().path(), newTag.toInt() );
else
- ThreadWeaver::instance()->queueJob( new TagWriter( item, oldTag, newTag, column ) );
+ if (oldTag != newTag)
+ ThreadWeaver::instance()->queueJob( new TagWriter( item, oldTag, newTag, column ) );
}
m_itemsToChangeTagsFor.clear();
|