I run Roon Server on a Mac Mini. My music is stored on a NAS. As well as importing all the music into Roon, I have it all imported into iTunes. In iTunes, most of the music resides on the path:
/NAS/Music/AAC
From there, the music is organised by artist and album. I imported the music into iTunes a long while ago, without copying it to the iTunes library. Now, for about a third of the tracks in the library, when I do a Get Info the file information says the path is, for example:
/Users/serveruser/Library/RoonMounts/RoonStorage_5f6b4ebb942640c3fc990cff7ef61ecb7ab0c093/AAC/Alan Parsons Project, The/I Robot/01 - I Robot.mp3
All the tracks in the library up to around the artists whose name starts with a J are like this. After that, track locations are like this:
/Volumes/Music/AAC/Michael Jackson/Dangerous/02 - Why You Wanna Trip On Me.mp3
which is what I would expect. To further complicate things, that particular RoonStorage folder doesnât actually exist. Within RoonMounts there is a Music folder, and two other RoonStorage folders with different number strings on them. However, the files play fine in iTunes. Within Roon, if I pick an album and select Other Versions, the file name there has the same number string as above (one that doesnât actually exist in the RoonMounts folder).
How could this have happened in iTunes? I donât see how iTunes and Roon are related at all. I donât even point Roon at the iTunes library - it only looks at NAS folders.
Hi @Stephen_Dawson ---- Thank you for the report and sharing your feedback with us, both are appreciated.
Moving forward, can you provide me with a screenshot of your âstorageâ tab found under settings so I have an idea of exactly what you are seeing on your end.
Lastly, can you provide some further insight into when you first started noticing this behavior OR has this always been your experience while working with Roon? Important data points to consider:
Have your storage location(s) been adjusted at all since noticing this issue?
I really have no idea how long all those iTunes files have been pointing at RoonMounts. Havenât touched that iTunes for months and months, but just happened to look at a fileâs info yesterday. I canât even begin to imagine why iTunes would pick up on RoonMounts - iTunes and Roon are completely separate. I havenât adjusted any storage locations or moved a DB since everything was set up a long while ago.
Is it normal for the file name that appears when you select Other Versions to reference RoonMounts? And do you know why the folder in that filename doesnât actually exist? Iâm guessing itâs actually referencing the Music folder in RoonMounts, but using an alias or something. Which would also explain why files still play properly in iTunes.
Hi @Stephen_Dawson ---- Thank you for the follow up and providing the requested screenshot, both are very appreciated! Apologies for the slow response.
When you are woking with a NAS + Roon on OSX a " Roon mounts" folder will be generated no matter what, so this is behaving as expected. However, the real question here (as youâve pointed out) is, why would that be showing up in the iTunes location?
With this in mind, may I ask you to please verify the following for me:
How is your music imported into iTunes? When new media is added to your computer is automatically added to your iTunes library?
RoonMounts is typically hidden under âLibraryâ (In Finder: âGoâ - > Hold down âAltâ unhides âLibraryâ) any thoughts on how this may have ended up in iTunes?
When I add music, it goes straight on the NAS. Fact is, I havenât added anything new for probably a couple of years, because I now use streaming services. When added to iTunes, I do not let iTunes copy the NAS music to the iTunes library. It is all âreferencedâ on the NAS.
As I said, only about a third of the tracks, everything up to somewhere in the Js by artist name, seem to reference Roonmounts in the file info. I am totally perplexed as to how this could have happened. The iTunes library was built a long time ago. I replaced the hard drive in the mini at one stage, but everything was cloned across.
Also, is it normal for the Roonmounts folder to show up in the file path when I look at album versions? Plus, why canât I see the actual folder name (that is in the album version display and in the strange iTunes file info) inside the Roonmounts folder? Is it that, as I suspect, it is some sort of alias to the Music folder inside Roonmounts? There are two other folders inside Roonmounts with different number strings, and these are both empty.
Hi @Stephen_Dawson ----- Thank you for touching base with me and providing the requested insight. Both are very appreciated.
Moving forward, we believe that weâve traced this to some unexpected iTunes behavior that can update paths for tracks in your iTunes library. Our guess is that this might have happened during some temporary connection problem with your NAS, which is pretty common.
While this isnât a Roon issue, we wanted to walk you through a walk around that may help:
In Roon, please remove the watched folder you are noticing this behavior with and then close the application.
Please reboot the device hosting your Roon core.
In finder select âGoâ then âNetworkâ and you should see your network storage device on that list.
Select the NAS and connect to it, so it is now mounted in âfinderâ. (You should see âconnectedâ at the top of the Finder window
OK, seem to have got it all back into shape now. Certainly strange how iTunes seems to pick up on Roonâs version of the NAS mount. Started to get a bit worried after I removed the NAS watched folders and re-added them, and then Roon started to re-import all the tracks. But it seems like all my edits survived the process. Does it just re-hookup the imported tracks to the database?
Can you also please answer my other 2 queries about whether the path shown in the Album Versions dialog is correct in referencing RoonMounts, and why the long string of numbers in the file path doesnât actually reference any actual folder in RoonMounts?
Hopefully Iâll manage to hit the correct level of detail here:
When you add a network share to Roon as a watched folder on Mac or Linux, we need to âmountâ the shared directory into the local directory structure on your system. This is just how network shares work on non-Windows systems, and is also what OSX does if you navigate to a shared directory in Finder. One difference is that Roon mounts shares in /Users/name/Library/RoonMounts/RoonStorage_guidinhex, while OSX mounts them to /Volumes/Mounts/sharename
It turns out that thereâs some code buried in OSX that knows that both /Users/name/Library/RoonMounts/RoonStorage_guidinhex and /Volumes/Mounts/sharename
point to the same network share, and replaces the RoonStorage_guidinhex with sharename when you view the folder in the Finder. The actual paths and directory names donât change, but the display in Finder does. Thatâs why the long string of numbers doesnât appear to match the folder name. The album versions tab is showing the âcorrectâ path, although we normally prefer to display it differently.
This is also my guess at how the paths in iTunes got so confused, at some point the /Volumes/Mounts/sharename mount was gone for some reason, but the /Users/name/Library/RoonMounts/RoonStorage_guidinhex one still existed, and iTunes remapped some of the paths so that it could still find the files.
Hopefully this makes everything reasonably clear, let me know if I missed the correct detail level.
iTunes certainly seems to have a mind of its own when it comes to the share names. I suppose as long as the files still play it doesnât matter that much.