Page 1 of 1

Support for Windows "Mounted Volume" is needed

PostPosted: Sun Feb 18, 2018 9:42 pm
by williMeier
I couldn't choose a "Mounted Volume" as a library directory in serviio.
Would be great if this can be done in a future Serviio version.
But don't wait too long, because in the meantime I could switch to "SimpleDLNA" ;) :?

Regards
Frank

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Mon Feb 19, 2018 12:02 am
by atc98092
What exactly do you mean by a Windows mounted volume? If you are referring to a mapped network share, there are two different ways to use that. Serviio runs on your computer as a Windows service, and the user name it uses is the general SYSTEM account. This account has limited network permissions. The first method leaves that account alone, while the second requires a change.

The first is to use the network UNC (\\network_location_name\share_name). You need to make sure that the network share has open permissions to allow anything on the network to connect.

The other method should be able to use the mapped drive letter you have, but it's possible you need to use the UNC as above as well. Open the Control Panel, go to Administrative Tools, then open the Services applet. Scroll down to the Serviio entry and double-click on the entry. In the panel that opens click the Log On tab. You will see Local Service as the account used. Change the account to the one you use to log into Windows. You have to enter your account password. Once that is done, you need to restart the Serviio service, either here in the Services applet or by rebooting the computer. Now when you select the networked drive (or use the UNC), Serviio uses your personal account to access the location.

If I have misunderstood what you are attempting to do, please provide additional details.

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Fri Feb 23, 2018 11:29 am
by williMeier
It's not a share. It's simply a second disk which is mounted to a folder.

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Fri Feb 23, 2018 8:32 pm
by atc98092
OK, you should be able to just set your shared folder to C:\Data. Isn't that an option when you browse for a folder to share? Doesn't it appear as a choice?

I have multiple shared locations that are not the root of a drive. In fact, all of my locations are folders on an internal drive:

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Sun Feb 25, 2018 10:53 pm
by williMeier
OK, you should be able to just set your shared folder to C:\Data. Isn't that an option when you browse for a folder to share? Doesn't it appear as a choice?


No. And this ist exactly my problem. Have a look to my very first 2 screens.
I've just tried it again. No luck. If it helps I could post the screens that are describing the whole configuration of serviio and the ui clicks done for serviio.

Possibly an electron-problem?
-> https://github.com/electron/electron/issues/9002

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Sun Feb 25, 2018 11:02 pm
by atc98092
Sorry, I missed that image in your post. That doesn't make sense, as it should just be seen as a drive mapping.

However, it's possible that the mount only exists under your user account, which is not the account Serviio uses by default. See my original post about changing the computer account that Serviio runs under. Change it from Local Service to your personal user account and I'll bet that mounted location appears.

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Thu Mar 01, 2018 10:24 pm
by williMeier
I ran serviio as local user. Sorry, but no. The folder does not appear in serviio console.

Again:
Possibly an electron-problem?
-> https://github.com/electron/electron/issues/9002

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Fri Mar 02, 2018 10:48 pm
by atc98092
OK, I'll try to play with that over the weekend and see if my results are the same.

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Sat Mar 03, 2018 4:55 pm
by atc98092
Well, I gave it a shot and have the same issue. There's something about the way that Windows classifies the mount that doesn't appear as a "normal" folder. It even shows a different icon, looking like a drive, rather than a folder. I have no idea if the method Serviio uses to browse for that location is capable of "seeing" the location. Because of the way Windows displays it, there may be nothing that can be done. I'll keep looking for any way to modify the way Windows displays it, but Zip will have to determine if Serviio can work with it.

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Thu Mar 15, 2018 12:14 am
by williMeier
Thank you for your effort. Now I'm not alone anymore ;)

What does Zip think about this "issue"? Maybe perhaps an Electron problem?
Some thing like -> https://github.com/electron/electron/issues/9002

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Thu Mar 15, 2018 1:43 am
by williMeier
btw: I've testet the listing of the directories with c#. no probs. "data" appears as a regular directory.

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Thu Mar 15, 2018 12:31 pm
by atc98092
I thought I might have found a registry entry that would allow it, but it wasn't successful. Haven't found anything else so far.

Zip will have to chime in about if it's something he can change. I doubt it's related to Electron, since it does the same thing when using a web browser to access the console.

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Mon Mar 19, 2018 4:48 pm
by zip
I get the list of folders via Java. So maybe Java doesn't recognize these as FS folders.

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Wed Mar 21, 2018 1:39 am
by williMeier
what is left to do?

Re: Support for Windows "Mounted Volume" is needed

PostPosted: Wed Mar 21, 2018 2:34 pm
by zip
add a bitbucket ticket and I'll look at it at some point