<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Importing data from clementine throws an error in sqlite3]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I just liked Clementine, now I'm forced to move to Strawberry and wanted to transfer all data from Clementine to Strawberry, following the guide on <a href="https://wiki.strawberrymusicplayer.org/wiki/Import_collection_library_and_playlists_from_Clementine" rel="nofollow ugc">https://wiki.strawberrymusicplayer.org/wiki/Import_collection_library_and_playlists_from_Clementine</a>. I get stuck at the command</p>
<pre><code>INSERT INTO strawberry.playlist_items
   (ROWID,
   playlist,
   collection_id,
   title,
   album,
   artist,
   albumartist,
   track,
   disc,
   year,
   originalyear,
   genre,
   compilation,
   composer,
   performer,
   grouping,
   comment,
   lyrics,
   beginning,
   length,
   bitrate,
   samplerate,
   directory_id,
   url,
   filetype,
   filesize,
   mtime,
   ctime,
   unavailable,
   playcount,
   skipcount,
   lastplayed,
   compilation_detected,
   compilation_on,
   compilation_off,
   compilation_effective,
   art_automatic,
   art_manual,
   effective_albumartist,
   effective_originalyear,
   cue_path,
   rating
   )
   SELECT ROWID,
      playlist,
      library_id,
      title,
      album,
      artist,
      albumartist,
      track,
      disc,
      year,
      originalyear,
      genre,
      compilation,
      composer,
      performer,
      grouping,
      comment,
      lyrics,
      beginning,
      length,
      bitrate,
      samplerate,
      directory,
      COALESCE(filename, ) AS url,
      filetype,
      filesize,
      mtime,
      ctime,
      unavailable,
      playcount,
      skipcount,
      lastplayed,
      sampler,
      forced_compilation_on,
      forced_compilation_off,
      effective_compilation,
      art_automatic,
      REPLACE(art_manual, '.config/Clementine/albumcovers','.local/share/strawberry/strawberry/collectionalbumcovers') AS art_manual,
      effective_albumartist,
      effective_originalyear,
      cue_path,
      rating FROM clementine.playlist_items WHERE type = 'Library';
</code></pre>
<p dir="auto">sqlite3 throws an error:</p>
<pre><code>Parse error near line 25: near ")": syntax error
  lerate,       directory,       COALESCE(filename, ) AS url,       filetype,   
                                      error here ---^
</code></pre>
<p dir="auto">I don't know how to remedy this, I am not well versed in SQL, I only know that COALESCE takes at least two arguments, and I don't think that a space is considered an argument. But what else should be there?<br />
Thanks for your help!</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/6015/importing-data-from-clementine-throws-an-error-in-sqlite3</link><generator>RSS for Node</generator><lastBuildDate>Thu, 28 May 2026 00:26:04 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/6015.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 May 2026 16:07:26 GMT</pubDate><ttl>60</ttl></channel></rss>