Summary: | Bug in Left Panel when using MySQL Frontend | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Alexandre Maciel <digitalman> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.2.1 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Screenshot Showing the Bug |
Description
Alexandre Maciel
2005-03-10 00:42:50 UTC
Created attachment 10051 [details]
Screenshot Showing the Bug
CVS commit by aoliveira: Track is set as a number in the database, so shouldn't be added rounded by quotes. Fixes 101208 (after you rescan your collection). BUG: 101208 CCMAIL: amarok-devel@lists.sf.net M +2 -2 collectiondb.cpp 1.314 --- kdeextragear-1/amarok/src/collectiondb.cpp #1.313:1.314 @@ -1032,6 +1032,6 @@ CollectionDB::addSong( MetaBundle* bundl command += escapeString( bundle->title() ) + "','"; - command += escapeString( bundle->comment() ) + "','"; - command += escapeString( bundle->track() ) + "', "; + command += escapeString( bundle->comment() ) + "', "; + command += ( bundle->track().isEmpty() ? "NULL" : escapeString( bundle->track() ) ) + " , "; command += artist == i18n( "Various Artists" ) ? "1," : "0,"; |