tag:help.beatunes.com,2009-07-24:/discussions/problems/56324-overlappingfilelockbeaTunes: Discussion 2020-02-14T12:24:03Ztag:help.beatunes.com,2009-07-24:Comment/480470162020-01-29T15:46:45Z2020-01-29T15:46:45ZOverlappingFileLock<div><p>Hi Ben,</p>
<p>Interesting setup! :-) Do you use the Pi just as a file server or is there more to it (just being nosy, feel free to ignore)?</p>
<p>Sounds like locking is handled slightly differently with SSHFS and WinFsp. Can you please stop beaTunes and install the current dev snapshot from <a href="https://www.beatunes.com/download/beaTunes-5-2-6-SNAPSHOT-x64.exe">https://www.beatunes.com/download/beaTunes-5-2-6-SNAPSHOT-x64.exe</a> Does it solve the issue?</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/480470162020-01-29T21:59:21Z2020-01-29T21:59:22ZOverlappingFileLock<div><p>Whatever is different about the snapshot fixes the problem -- thanks! Purchased.</p>
<p>The Pi is serving my music with a little custom cloud player I'm slowly writing (<a href="https://github.com/BenjaminPelletier/streamtagger">https://github.com/BenjaminPelletier/streamtagger</a>). Mapping a network drive in this way lets me manage file content from my Windows 10 machine (where I keep a superset of music and where I mostly do development).</p>
<p>There is one additional problem I noticed: I would queue a bunch of songs for analysis, the analysis would finish, but then some of those files wouldn't show the results of the analysis in the library. I'd select those files, try analysis again, and some of their results still wouldn't show up in the library. Everything eventually succeeded after about 5 tries (logs uploaded). Not really a concern for me now because everything's analyzed.</p></div>Bentag:help.beatunes.com,2009-07-24:Comment/480470162020-01-30T11:37:02Z2020-01-30T11:37:02ZOverlappingFileLock<div><blockquote>
<p>There is one additional problem I noticed: I would queue a bunch of songs for analysis, the analysis would finish, but then some of those files wouldn't show the results of the analysis in the library. I'd select those files, try analysis again, and some of their results still wouldn't show up in the library. Everything eventually succeeded after about 5 tries (logs uploaded). Not really a concern for me now because everything's analyzed.</p>
</blockquote>
<p>Are the analysis results really written to the files? From the logs it seems to me that they are not. Do values perhaps disappear again, after synchronization?</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/480470162020-01-30T12:05:08Z2020-01-30T12:05:08ZOverlappingFileLock<div><p>For some reason, simply opening a file from your special setup creates a file lock (IMHO, it shouldn't). beaTunes then tries to lock the file itself, which leads to the <code>OverlappingFileLockException</code>, because the file is already locked by beaTunes' process, even though beaTunes never requested this.</p>
<p>Are you in touch with the SSHFS-WIN/WinFsp author? Perhaps s/he has some insight into what is happening here and why opened files are automatically locked.</p>
<blockquote>
<p>Whatever is different about the snapshot fixes the problem -- thanks! Purchased.</p>
</blockquote>
<p>If we cannot get this to run properly, I'm happy to send you a refund.</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/480470162020-02-02T16:24:10Z2020-02-02T16:24:10ZOverlappingFileLock<div><p>Hey Ben,</p>
<p>any news on this? just wondering...</p>
<p>Cheers,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/480470162020-02-10T09:26:59Z2020-02-10T09:26:59ZOverlappingFileLock<div><p>Hey Ben,</p>
<p>just wanted to check in with you one more time, before I close this issue. Have you been able to obtain more info on this? Or does it work for you now?</p>
<p>Thanks,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/480470162020-02-11T06:20:57Z2020-02-11T06:20:57ZOverlappingFileLock<div><p>Thanks for your attention to this and sorry for the delay in following up. I still haven't had a chance to inspect the MP3 tags in depth, but the Windows File Explorer indicates that the standard BPM field isn't set, so I assume your interpretation is correct. I'm not in contact with either of the tools' authors unfortunately so that's probably not an accessible avenue at the moment. No need for a refund (I think it's worth $35 to see how your algorithms tag my music), but if you are taking feature requests, something that dumps a CSV or something similar of my library including the file path and beaTunes' special tags (especially BPM, key, color, and mood) would be super appreciated :)</p></div>Bentag:help.beatunes.com,2009-07-24:Comment/480470162020-02-14T12:24:00Z2020-02-14T12:24:00ZOverlappingFileLock<div><blockquote>
<p>I'm not in contact with either of the tools' authors unfortunately so that's probably not an accessible avenue at the moment.</p>
</blockquote>
<p>I believe both tools are on GitHub, which means you could easily raise an issue to get in touch.</p>
<blockquote>
<p>if you are taking feature requests, something that dumps a CSV or something similar of my library including the file path and beaTunes' special tags (especially BPM, key, color, and mood) would be super appreciated :)</p>
</blockquote>
<p>Have you tried right-clicking on a playlist and exporting the playlist as CSV?</p></div>hendrik