Page 1 of 1

Change library shared in DLNA

PostPosted: Mon May 04, 2020 2:50 am
by alfa98
Hi.
Is it possible to configure the dlna profile to share only a specific library?
I use serviio 2.0

Re: Change library shared in DLNA

PostPosted: Mon May 04, 2020 1:05 pm
by atc98092
Serviio 2.0 introduced user accounts, and you can limit library access to an individual account. But be aware that over DLNA, that restriction is assigned to a particular player. So once that user account is assigned to that player, the restriction applies to whomever is using that player. Also, the restriction is for the complete library location. You can't pick and choose from subfolders or separate files. You might need to break up your library locations so they can be controlled separately. You can filter by MPAA ratings as well. This of course assumes that all of your media has a rating assigned, and many older movies or TV shows do not.

Re: Change library shared in DLNA

PostPosted: Mon May 04, 2020 6:36 pm
by alfa98
Hi. And how can I divide the positions of the libraries so I can control them separately?

Re: Change library shared in DLNA

PostPosted: Mon May 04, 2020 8:43 pm
by atc98092
OK, let's take a generic example, and I'll be using the Windows file structure format. You have videos for kids, and videos for grownups. Right now, they're all located on E:\videos. In the Serviio console, you have a single shared folder shown in the library as E:\videos. So, we want to segregate the kids and adult media. Under the E:\videos folder, create two new folders: one labels kids and one labeled something else. So now you have E:\videos\kids and E:\videos\grownups (or whatever). Now move the Kids media into the Kids folder, and the remaining media into the grownups folder, leaving nothing under E:\videos.

Now go into your Serviio console. Open your current library location with the Edit button. Change the Folder from E:\Videos to E:\videos\kids, and add the display name of Kids. Click OK, which takes you back to the main library page. Now click the Add button and add a second location that is pointed at your new grownups folder. Once that is done, then click Save back on the main screen. You now have separate library segments that can be assigned a user account restriction if desired. After you've created the user account(s), you can add them in the same panel that you used to edit the folder location. All user accounts will be listed, and you can select or deselect the users that can access this particular library location.

Now to restrict the kids player to just the kids media. In the Serviio console, click the Status tab and find the player you wish to restrict. When you find it, click Edit at the right edge of the screen. In the Edit window, the Assigned user is at the bottom, just above the OK button. Notice that by default it is unassigned, which means this player can access the entire library. Click the box and select the user account you created for the kids folder. Now click the OK button, then the Save button on the main Status page. That player can now only access media that the user account has been allowed access to. So they won't even see any of the titles in the unauthorized section, let alone be able to play them.