<?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[How to restore stats]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Recently I bought a new PC so I copied Strawberry config folders to the new PC for restoring the statistics (playcounts &amp; ratings) and the configurations of my library but it didn't work for the stats although I use the same user name (exactly the same path)</p>
<pre><code>~/.config/strawberry
~/.local/share/strawberry/
</code></pre>
<p dir="auto">What I'm missing?</p>
<ul>
<li>Linux Mint 20.2 XFCE</li>
<li>Strawberry 0.9.3</li>
</ul>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/373/how-to-restore-stats</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 14:48:30 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/373.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Sep 2021 12:21:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to restore stats on Fri, 15 Oct 2021 13:33:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1">@jonas</a> said in <a href="/post/1028">How to restore stats</a>:</p>
<blockquote>
<p dir="auto">I plan to make a new release soon, there will be an option to turn on  song fingerprinting and tracking to prevent losing playcounts and ratings.</p>
</blockquote>
<p dir="auto">The recent release (Version 1.0) still doesn't fix this issue.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1100</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1100</guid><dc:creator><![CDATA[mbnoimi]]></dc:creator><pubDate>Fri, 15 Oct 2021 13:33:16 GMT</pubDate></item><item><title><![CDATA[Reply to How to restore stats on Sun, 05 Sep 2021 02:40:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1">@jonas</a> said in <a href="/post/1028">How to restore stats</a>:</p>
<blockquote>
<p dir="auto">The other option is to import the data to the new DB based on artist/album/title, you can use parts of the guide I made here, but you have to modify the query to import only playcounts and rating from the other DB.</p>
</blockquote>
<p dir="auto">Thanks a lot for the good guide.</p>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1">@jonas</a> said in <a href="/post/1028">How to restore stats</a>:</p>
<blockquote>
<p dir="auto">I plan to make a new release soon, there will be an option to turn on  song fingerprinting and tracking to prevent losing playcounts and ratings.</p>
</blockquote>
<p dir="auto">I prefer to wait for your release in case you'll produce it within less than 1 month. Do you?</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1030</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1030</guid><dc:creator><![CDATA[mbnoimi]]></dc:creator><pubDate>Sun, 05 Sep 2021 02:40:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to restore stats on Sat, 04 Sep 2021 15:15:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/634">@mbnoimi</a><br />
You can either use the original DB file and modify the paths with SQL commands before you start strawberry.<br />
The other option is to import the data to the new DB based on artist/album/title, you can use parts of the guide I made here, but you have to modify the query to import only playcounts and rating from the other DB.</p>
<pre><code>https://github.com/strawberrymusicplayer/strawberry/wiki/Import-collection-library-and-playlists-data-from-Clementine
</code></pre>
<p dir="auto">I plan to make a new release soon, there will be an option to turn on  song fingerprinting and tracking to prevent losing playcounts and ratings.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1028</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1028</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Sat, 04 Sep 2021 15:15:57 GMT</pubDate></item><item><title><![CDATA[Reply to How to restore stats on Sat, 04 Sep 2021 12:54:25 GMT]]></title><description><![CDATA[<p dir="auto">I opened the original <code>strawberry.db</code> for comparing with the new one and I noticed the difference.<br />
It seems the paths of my library are not the same (I enhanced my library without updating old <code>strawberry.db</code>) so <code>songs.url</code> values are different.</p>
<p dir="auto"><strong>Example</strong>:</p>
<ul>
<li>Original: <code>songs</code> row is</li>
</ul>
<pre><code>INSERT INTO "main"."songs" ("title", "album", "artist", "albumartist", "track", "disc", "year", "originalyear", "genre", "compilation", "composer", "performer", "grouping", "comment", "lyrics", "artist_id", "album_id", "song_id", "beginning", "length", "bitrate", "samplerate", "bitdepth", "source", "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") VALUES ('SALAMUN ALA DUNYA', 'SALAMUN ALA DUNYA', 'Adam Ali', 'Adam Ali', '-1', '-1', '2018', '-1', '', '0', '', 'Adam Ali', '', '', '', '', '', '', '0', '125016000000', '260', '48000', '-1', '2', '1', 'file:///home/mbnoimi/Music/Adam%20Ali/SALAMUN%20ALA%20DUNYA/SALAMUN%20ALA%20DUNYA.mp3', '8', '4060798', '1595214021', '1590594062', '0', '31', '4', '1625400994', '0', '0', '0', '0', '', '', 'Adam Ali', '-1', '', '0.800000011920929');
</code></pre>
<ul>
<li>Current: <code>songs</code> row is</li>
</ul>
<pre><code>INSERT INTO "main"."songs" ("title", "album", "artist", "albumartist", "track", "disc", "year", "originalyear", "genre", "compilation", "composer", "performer", "grouping", "comment", "lyrics", "artist_id", "album_id", "song_id", "beginning", "length", "bitrate", "samplerate", "bitdepth", "source", "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") VALUES ('SALAMUN ALA DUNYA', 'SALAMUN ALA DUNYA', 'Adam Ali', 'Adam Ali', '-1', '-1', '2018', '-1', '', '0', '', 'Adam Ali', '', '', '', '', '', '', '0', '125016000000', '260', '48000', '-1', '2', '1', 'file:///home/mbnoimi/Music/Adam%20Ali/SALAMUN%20ALA%20DUNYA/Adam%20Ali%20-%20SALAMUN%20ALA%20DUNYA%20-%20SALAMUN%20ALA%20DUNYA.mp3', '8', '4060798', '1629923620', '1630573650', '0', '0', '0', '-1', '0', '0', '0', '0', '', '', 'Adam Ali', '-1', '', '-1');
</code></pre>
<p dir="auto">Do you have any suggest for restoring <code>playcount</code> and <code>rating</code> values?</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1027</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1027</guid><dc:creator><![CDATA[mbnoimi]]></dc:creator><pubDate>Sat, 04 Sep 2021 12:54:25 GMT</pubDate></item></channel></rss>