[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-1/amarok/src
From: Christian Muehlhaeuser <muesli () gmail ! com>
Date: 2005-01-19 23:25:54
Message-ID: 20050119232554.0DFAD1BC0D () office ! kde ! org
[Download RAW message or body]
CVS commit by muesli:
* @mxcl: almost done ;-)
M +5 -2 collectiondb.cpp 1.270
--- kdeextragear-1/amarok/src/collectiondb.cpp #1.269:1.270
@@ -954,5 +954,5 @@ CollectionDB::addSong( MetaBundle* bundl
QString command = "INSERT INTO tags_temp "
- "( url, dir, createdate, album, artist, genre, year, title, \
comment, track, sampler, length ) " + "( url, dir, createdate, \
album, artist, genre, year, title, comment, track, sampler, length, bitrate, \
samplerate ) " "VALUES ('";
@@ -989,5 +989,8 @@ CollectionDB::addSong( MetaBundle* bundl
command += escapeString( bundle->track() ) + "', ";
command += artist == i18n( "Various Artists" ) ? "1" : "0";
- command += ", 0);";
+
+ command += ", 0"; // length
+ command += ", 0"; // bitrate
+ command += ", 0);"; // samplerate
//FIXME: currently there's no way to check if an INSERT query failed or not - \
always return true atm.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic