<?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[Wiki]]></title><description><![CDATA[Wiki]]></description><link>https://forum.strawberrymusicplayer.org/category/9</link><generator>RSS for Node</generator><lastBuildDate>Sun, 10 May 2026 07:48:22 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/category/9.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Feb 2026 06:22:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Requests for a Wiki account]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/3619">@str008</a><br />
Sent you username and password in private message.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/5971/requests-for-a-wiki-account</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/topic/5971/requests-for-a-wiki-account</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Thu, 26 Feb 2026 06:22:06 GMT</pubDate></item><item><title><![CDATA[Duplicate entries when importing database from Clementine]]></title><description><![CDATA[<p dir="auto">Unfortunately this wasn't the right fix. After re-doing the procedure (with a full rescan in Clementine and a reset database in Strawberry) Strawberry duplicated every entry in my list.</p>
<p dir="auto">Note that I have 36 directories in my library, the reason why this issue matters to me.</p>
<p dir="auto">After pondering for a while I decided to compare table entries for a specific directory path from a song and then I noticed this:</p>
clementine.db:
  table:         column(s):
  songs                    directory: 45
  directories    rowid: 36
  subdirectories rowid:  7 directory: 45

strawberry.db:
  table:         column(s):
  songs                    directory_id: 45
                           directory_id: 36 (duplicate that appeared after rescan)
  directories    rowid: 36
  subdirectories rowid: 36 directory_id: 45
                 rowid: 72 directory_id: 36 (duplicate that appeared after rescan)

<p dir="auto">I think the issue is that Clementine seems to associate songs-&gt;directory with subdirectories-&gt;directory while Strawberry associates directory_id with directories-&gt;rowid.</p>
<p dir="auto">Unfortunately my sql skills are very rusty so I didn't want to spend even more time trying to come up with a fix. Instead I opted for a different  procedure:</p>

Removed strawberry.db and Strawberry cache directory, start Strawberry and exit to reset the database.
Migrated the directories table (using sql because of efficiency.)
Copied over album covers.
Started Strawberry again, did a full rescan, then exit.
Used this script by Rolf to import song statistics and ratings:<br />
<a href="https://forum.strawberrymusicplayer.org/topic/113/import-ratings-from-other-players-esp-clementine">https://forum.strawberrymusicplayer.org/topic/113/import-ratings-from-other-players-esp-clementine</a>
Started Strawberry again and did full rescan again.

<p dir="auto">After creating a playlist with the 'All tracks' smart playlist the total song count was almost the same. A minor discrepancy was caused by a corrupt file name (which broke the scan of one directory) and a few corrupted media files. But that's easy to fix.</p>
<p dir="auto">i(Btw. I didn't care about migrating playlists since I've got only a hand full of smart playlists which I can easily recreate manually.)</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/5951/duplicate-entries-when-importing-database-from-clementine</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/topic/5951/duplicate-entries-when-importing-database-from-clementine</guid><dc:creator><![CDATA[shadowfire]]></dc:creator><pubDate>Sun, 25 Jan 2026 04:04:36 GMT</pubDate></item><item><title><![CDATA[Installing_GStreamer_Spotify_plugin]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/3527">@strawbeson</a><br />
You only need to build and install the spotify plugin if it's older than 0.14.0. meson and ninja are usually found in the package repositories if you are on Linux. macOS and Windows already have the plugin bundled with the installer.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/5903/installing_gstreamer_spotify_plugin</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/topic/5903/installing_gstreamer_spotify_plugin</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Sat, 08 Nov 2025 11:30:33 GMT</pubDate></item><item><title><![CDATA[Clementine--&gt;Strawberry migration]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/3464">@normanb</a><br />
The cause of this issue is that Strawberry does not find hidden album art in the album folder but amarok and clementine do.</p>
<p dir="auto">I have taken the Clementine patch issued in 2012 and modified it for the current gentoo release of Strawberry and raised it as an issue on the strawberry github. <a href="https://github.com/strawberrymusicplayer/strawberry/issues/1809" rel="nofollow ugc">https://github.com/strawberrymusicplayer/strawberry/issues/1809</a></p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/5854/clementine-strawberry-migration</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/topic/5854/clementine-strawberry-migration</guid><dc:creator><![CDATA[normanb]]></dc:creator><pubDate>Wed, 27 Aug 2025 15:00:26 GMT</pubDate></item><item><title><![CDATA[Clementine--&gt;Strawberry migration, fixes to SQL]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1289">@cookie</a> Thanks for sharing the script.</p>
<p dir="auto">I used it today, and I had to make some changes. In the latest version of strawberry, apparently there is no longer a songs_fts table.</p>
<p dir="auto">Additionally, I had an issue. After importing my collection from clementine, strawberry would rescan and generate duplicate entries for all my songs. Thus, for each song, I was seeing two entries in strawberry.</p>
<p dir="auto">I dug a bit and found the the filetype numbers in strawberry and clementine are different. Additionally, all entries in the songs table in my clementine database had directory_id set to 2 (where it should be 1).</p>
<p dir="auto">I modified the script you provided to fix both issues.</p>

The different filetypes. I am not sure if strawberry would eventually correct these values.
The directory_id (<strong>Notice that this was a problem in my database in particular, others may not need my fix</strong>

<p dir="auto">I include the modified script here in case it is useful for anyone</p>
-- "full/path/to" needs to be replaced with the absolute path to your user home directory
ATTACH 'full/path/to/.config/Clementine/clementine.db' AS clementine;
ATTACH 'full/path/to/.local/share/strawberry/strawberry/strawberry.db' AS strawberry;

DELETE FROM strawberry.directories;
DELETE FROM strawberry.subdirectories;
DELETE FROM strawberry.songs;
DELETE FROM strawberry.playlists;
DELETE FROM strawberry.playlist_items;

INSERT INTO strawberry.directories (path, subdirs) SELECT path, subdirs FROM clementine.directories;
INSERT INTO strawberry.subdirectories (directory_id, path, mtime) SELECT directory, path, mtime FROM clementine.subdirectories;
INSERT INTO strawberry.songs (ROWID, 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, title, album, artist, albumartist, track, disc, year, originalyear, genre, compilation, composer, performer, grouping, comment, lyrics, beginning, length, bitrate, samplerate, directory, filename, filetype, filesize, mtime, ctime, unavailable, playcount, skipcount, lastplayed, sampler, forced_compilation_on, forced_compilation_off, effective_compilation, art_automatic,
-- SQLFIX: Not sure if an equivalent expression is needed for the 'art_automatic' column, above, too?
REPLACE(art_manual, '.config/Clementine/albumcovers','.local/share/strawberry/strawberry/collectionalbumcovers'),
effective_albumartist, effective_originalyear, cue_path, rating FROM clementine.songs WHERE unavailable = 0;

UPDATE strawberry.songs SET source = 2;
UPDATE strawberry.songs SET artist_id = "";
UPDATE strawberry.songs SET album_id = "";
UPDATE strawberry.songs SET song_id = "";

INSERT INTO strawberry.playlists (ROWID, name, last_played, special_type, ui_path, is_favorite, dynamic_playlist_type, dynamic_playlist_data, dynamic_playlist_backend)
   SELECT ROWID, name, last_played, special_type, ui_path, is_favorite, dynamic_playlist_type, dynamic_playlist_data, dynamic_playlist_backend FROM clementine.playlists WHERE dynamic_playlist_type ISNULL;

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,
      -- SQLFIX Constraint violation on the insert without this case as strawberry has "NOT NULL" constraint on url column, whereas clementine didn't
      case when filename IS NULL then "" else filename end,
      filetype,
      filesize,
      mtime,
      ctime,
      unavailable,
      playcount,
      skipcount,
      lastplayed,
      sampler,
      forced_compilation_on,
      forced_compilation_off,
      effective_compilation,
      art_automatic,
      -- SQLFIX: Not sure if an equivalent expression is needed for the 'art_automatic' column, above, too?
      REPLACE(art_manual, '.config/Clementine/albumcovers','.local/share/strawberry/strawberry/collectionalbumcovers'),
      effective_albumartist,
      effective_originalyear,
      cue_path,
      rating      
    FROM clementine.playlist_items WHERE type = 'Library';

UPDATE strawberry.playlist_items SET source = 2;
UPDATE strawberry.playlist_items SET type = 2;
UPDATE strawberry.playlist_items SET artist_id = "";
UPDATE strawberry.playlist_items SET album_id = "";
UPDATE strawberry.playlist_items SET song_id = "";

-- @chank0 Convert all filetypes to auxiliary values
UPDATE strawberry.songs SET filetype=1000 WHERE filetype=0;
UPDATE strawberry.songs SET filetype=1001 WHERE filetype=1;
UPDATE strawberry.songs SET filetype=1002 WHERE filetype=2;
UPDATE strawberry.songs SET filetype=1003 WHERE filetype=3;
UPDATE strawberry.songs SET filetype=1004 WHERE filetype=4;
UPDATE strawberry.songs SET filetype=1005 WHERE filetype=5;
UPDATE strawberry.songs SET filetype=1006 WHERE filetype=6;
UPDATE strawberry.songs SET filetype=1007 WHERE filetype=7;
UPDATE strawberry.songs SET filetype=1008 WHERE filetype=8;
UPDATE strawberry.songs SET filetype=1009 WHERE filetype=9;
UPDATE strawberry.songs SET filetype=1010 WHERE filetype=10;
UPDATE strawberry.songs SET filetype=1011 WHERE filetype=11;
UPDATE strawberry.songs SET filetype=1012 WHERE filetype=12;
UPDATE strawberry.songs SET filetype=1013 WHERE filetype=13;
UPDATE strawberry.songs SET filetype=1014 WHERE filetype=14;
UPDATE strawberry.songs SET filetype=1015 WHERE filetype=15;
UPDATE strawberry.songs SET filetype=1016 WHERE filetype=16;
UPDATE strawberry.songs SET filetype=1017 WHERE filetype=17;
UPDATE strawberry.songs SET filetype=1099 WHERE filetype=99;

-- @chank0 And now set the types understood by strawberry
UPDATE strawberry.songs SET filetype=0 WHERE filetype=1000;
UPDATE strawberry.songs SET filetype=10 WHERE filetype=1001; -- ASF was 1 in clementine, 10 in strawberry
UPDATE strawberry.songs SET filetype=2 WHERE filetype=1002; -- FLAC was 2 in clementine, 2 in strawberry
UPDATE strawberry.songs SET filetype=9 WHERE filetype=1003; -- MP4 was 3 in clementine, 9 in strawberry
UPDATE strawberry.songs SET filetype=12 WHERE filetype=1004; -- MPC was 4 in clementine, 12 in strawberry
UPDATE strawberry.songs SET filetype=8 WHERE filetype=1005; -- MPEG was 5 in clementine, 8 in strawberry
UPDATE strawberry.songs SET filetype=4 WHERE filetype=1006; -- OGGflac was 6 in clementine, 4 in strawberry
UPDATE strawberry.songs SET filetype=7 WHERE filetype=1007; -- OggSpeex was 7 in clementine, 7 in strawberry
UPDATE strawberry.songs SET filetype=5 WHERE filetype=1008; -- OggVorbis was 8 in clementine, 5 in strawberry
UPDATE strawberry.songs SET filetype=11 WHERE filetype=1009; -- AIFF was 9 in clementine, 11 in strawberry
UPDATE strawberry.songs SET filetype=1 WHERE filetype=1010; -- WAV was 10 in clementine, 1 in strawberry
UPDATE strawberry.songs SET filetype=13 WHERE filetype=1011; -- Trueaudio was 11 in clementine, 13 in strawberry
UPDATE strawberry.songs SET filetype=90 WHERE filetype=1012; -- cdda was 12 in clementine, 90 in strawberry
UPDATE strawberry.songs SET filetype=6 WHERE filetype=1013; -- OGGopus was 13 in clementine, 6 in strawberry
UPDATE strawberry.songs SET filetype=3 WHERE filetype=1014; -- Wavpack was 14 in clementine, 3 in strawberry
UPDATE strawberry.songs SET filetype=22 WHERE filetype=1015; -- Spc was 15 in clementine, 22 in strawberry
UPDATE strawberry.songs SET filetype=23 WHERE filetype=1016; -- VGM was 16 in clementine, 23 in strawberry
UPDATE strawberry.songs SET filetype=17 WHERE filetype=1017; -- APE was 17 in clementine, 17 in strawberry
UPDATE strawberry.songs SET filetype=91 WHERE filetype=1099; -- Stream was 99 in clementine, 91 in strawberry

-- @chank0: My clementine DB has directory_id=2 in all songs, but it should be directory=1
-- No one else should need this line. Uncomment only if you understand what you are doing
-- UPDATE strawberry.songs SET directory_id=1;

DETACH clementine;
DETACH strawberry;

]]></description><link>https://forum.strawberrymusicplayer.org/topic/737/clementine-strawberry-migration-fixes-to-sql</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/topic/737/clementine-strawberry-migration-fixes-to-sql</guid><dc:creator><![CDATA[chank0]]></dc:creator><pubDate>Sun, 18 Sep 2022 17:20:44 GMT</pubDate></item><item><title><![CDATA[New wiki available]]></title><description><![CDATA[<p dir="auto">I have created a new wiki site for documentation here: <a href="https://wiki.strawberrymusicplayer.org/" rel="nofollow ugc">https://wiki.strawberrymusicplayer.org/</a><br />
It can currently be edited by anyone. It works just like <a href="http://wikipedia.org" rel="nofollow ugc">wikipedia.org</a>.<br />
Most things that was on GitHub has been moved.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/675/new-wiki-available</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/topic/675/new-wiki-available</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Sat, 02 Jul 2022 20:05:21 GMT</pubDate></item></channel></rss>