by J_T_W » Thu May 26, 2022 8:29 pm
(I'll reference your Subsonic Server as SERVER, the remote computer as REMOTE, and the shared external drive as SHARE).
If on SERVER you can open the Windows Explorer and navigate to \\REMOTE\SHARE without needing to specify a user name and password, then when logged into Subsonic as the administrative account, you can navigate to Settings\Media Folders and use the \\REMOTE\SHARE as the folder target either in the default Name\Folder fields, or as a new Name\Folder using the Add Media Folder option (plus Save). Make sure 'Enabled" is checked (and Save if not already).
Note 1. If on SERVER you had to enter a username\password to access SHARE, then you can't use a UNC in the Subsonic Folder field, as Subsonic has no way to use any other credentials than what it is running under. What this means is that any time SERVER or REMOTE is restarted, disconnect/reconnected, feels like it, etc., REMOTE would request credentials again to access the UNC and SERVER couldn't provide them. So, your best option then is to ensure you're logged into SERVER using the credentials that Subsonic would run under, and then map a network drive to \\REMOTE\SHARE using the Reconnect and Different Credentials options. You can then configure Subsonic to use the mapped drive letter in the Subsonic Folder field.
Note 2. REMOTE isn't going to guarantee that your external drive gets the same drive letter each time it is connected. To that, is your SHARE is the administrative share for the drive (say REMOTE shows your external drive as E:\ then the administrative share is E$ and that UNC is \\REMOTE\E$) you will want to not use that, and instead share out the drive using a different share name (e.g., "MUSIC"). That helps resolve any resolution issues SERVER would have finding SHARE on REMOTE.
Note 3. Once you have specified a Subsonic Folder location, don't change it. If you use \\REMOTE\SHARE today, have Subsonic scan and use that location, then tomorrow change the Subsonic Folder to (say) E:\SHARE, everything is essentially lost and you're starting from scratch with play count, favorites, playlists, etc. Referencing back to Note 2, if say a month from now you buy a bigger external drive for your music files, move them all over to the new drive, but decide to also keep the original drive plugged in, you can simply delete the old share, then reshare the new location as the old share name and Subsonic won't break.
Final Note. As you can guess from Note 3, if for any reason you decide to not have your music collection on REMOTE and move the external drive back to SERVER, or move the contents to a different computer (we'll call it REMOTE2), etc. - updating Subsonic with the new Folder location will lose your data and you'll need to start over again. Therefore, you might consider using a computer name alias for REMOTE, maybe something like "MEDIA", which would then allow you to use a UNC (Note 1 caveat) of \\MEDIA\SHARE. When you replace or move your media files off of REMOTE, you could then remove the alias from REMOTE, configure it on the new device, recreate the share on the new device, and Subsonic doesn't break.