<?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[Playcounts&#x2F;Lasted played not showing up for tracks opened via playlist]]></title><description><![CDATA[<p dir="auto">I used to store my music collection at<br />
<code>/media/WD1TB/music/collection</code><br />
I bought a new hard drive to store my music on, so that now my music exists at<br />
<code>/media/WD2TB/music/collection</code><br />
Based on my past experience with Clementine/Strawberry, I did not change my music library path because I didn't want my playcount/etc statistics to be lost. (I just tried and confirmed this does happen still, even though the subdirectory <code>collection</code> contains exactly the same files.)</p>
<p dir="auto">So instead, I created a symlink<br />
<code>/media/WD1TB/music =&gt; /media/WD2TB/music</code></p>
<p dir="auto">Now I've started noticing some unexpected behavior. When I load some tracks from the "Collection" menu, the old playcounts/etc are correctly shown, and get correctly updated. However, when I load a <em>playlist</em> that contains the same tracks, I do not see playcount/etc. information, nor does it get updated after playing the track.</p>
<p dir="auto">Any idea what's going on here, and how to fix it (or debug further)?</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/335/playcounts-lasted-played-not-showing-up-for-tracks-opened-via-playlist</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 13:09:16 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/335.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Jul 2021 18:54:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Playcounts&#x2F;Lasted played not showing up for tracks opened via playlist on Tue, 26 Apr 2022 16:51:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/887">@orinovet</a> Thanks for the suggestion. A bind mount does seem to be a good simple workaround for the problem!</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1633</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1633</guid><dc:creator><![CDATA[torgo]]></dc:creator><pubDate>Tue, 26 Apr 2022 16:51:44 GMT</pubDate></item><item><title><![CDATA[Reply to Playcounts&#x2F;Lasted played not showing up for tracks opened via playlist on Thu, 27 Jan 2022 16:49:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/136">@torgo</a> i have not tested this, but maybe you can use a 'bind mount', instead of a symlink.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1373</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1373</guid><dc:creator><![CDATA[OriNOVet]]></dc:creator><pubDate>Thu, 27 Jan 2022 16:49:29 GMT</pubDate></item><item><title><![CDATA[Reply to Playcounts&#x2F;Lasted played not showing up for tracks opened via playlist on Tue, 04 Jan 2022 16:35:16 GMT]]></title><description><![CDATA[<p dir="auto">Sorry for the late reply <a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1">@jonas</a> .<br />
I tried the integrity check and it came back <code>ok</code>.</p>
<p dir="auto">I did a bit more thinking about this, and I think I pinned down the problem.</p>
<p dir="auto">Suppose I open a file from the "Collection" menu and right click --&gt; "Edit Track Info." Then <code>Path</code> shows up as <code>/media/WD1TB/music/collection/whatever.mp3</code>, even though this is just a symlink to <code>/media/WD2TB/music/collection/whatever.mp3</code>.</p>
<p dir="auto">However, now suppose I open a playlist that has <code>/media/WD2TB/music/collection/whatever.mp3</code> as one of the entries. Then "Edit Track Info" shows the <code>Path</code> as <code>/media/WD2TB/music/collection/whatever.mp3</code>. Presumably that file is not found in the collection/library, so it has empty playcounts and lastplayed information.</p>
<p dir="auto">Now here's the part that doesn't make sense to me, and which I think might be undesirable behavior in Strawberry. Suppose I go into that playlist and manually edit the filename so that it is <code>/media/WD1TB/music/collection/whatever.mp3</code>, which again is just a symlink to <code>/media/WD2TB/music/collection/whatever.mp3</code>. When I open the playlist, "Edit Track Info" follows the symlink and <em>still</em> says the <code>Path</code> is <code>/media/WD2TB/music/collection/whatever.mp3</code>, so that the file is again not found in the collection/library.</p>
<p dir="auto">So it seems like Strawberry's behavior with respect to symlinks is different when opening something through collection than it is through a playlist.</p>
<hr />
<p dir="auto">A related question on how the database is organized. Is it really the case that files are indexed and searched for by their absolute paths, as suggested by the behaviour above? If so, what is the recommended procedure for changing where the collection is mounted?</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1301</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1301</guid><dc:creator><![CDATA[torgo]]></dc:creator><pubDate>Tue, 04 Jan 2022 16:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to Playcounts&#x2F;Lasted played not showing up for tracks opened via playlist on Thu, 26 Aug 2021 12:21:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/136">@torgo</a><br />
Integrity check the db</p>
<p dir="auto"><a href="https://github.com/strawberrymusicplayer/strawberry/wiki/Database-integrity-check" rel="nofollow ugc">https://github.com/strawberrymusicplayer/strawberry/wiki/Database-integrity-check</a></p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1008</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1008</guid><dc:creator><![CDATA[jonaski]]></dc:creator><pubDate>Thu, 26 Aug 2021 12:21:37 GMT</pubDate></item><item><title><![CDATA[Reply to Playcounts&#x2F;Lasted played not showing up for tracks opened via playlist on Thu, 26 Aug 2021 01:17:02 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> could you suggest some things to look into here? I'm happy to investigate further on my own, but I'm stuck, could use a pointer.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1006</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1006</guid><dc:creator><![CDATA[torgo]]></dc:creator><pubDate>Thu, 26 Aug 2021 01:17:02 GMT</pubDate></item><item><title><![CDATA[Reply to Playcounts&#x2F;Lasted played not showing up for tracks opened via playlist on Wed, 28 Jul 2021 15:08:41 GMT]]></title><description><![CDATA[<p dir="auto">Anyone have any advice on what to look at here?<br />
Is there some place I can read about how the database is organized/works and how it interacts with playlists? That might give me some clues I can look at.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/958</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/958</guid><dc:creator><![CDATA[torgo]]></dc:creator><pubDate>Wed, 28 Jul 2021 15:08:41 GMT</pubDate></item></channel></rss>