minidlna: Only show shortcut to users in group

Add docstring.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2019-12-08 14:48:17 -05:00
parent ec7a74bf20
commit 11447c5788
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -86,6 +86,7 @@ class MiniDLNAApp(app_module.App):
icon=icon_filename,
url='/_minidlna/',
login_required=True,
allowed_groups=[group[0]],
)
daemon = Daemon('daemon-minidlna', managed_services[0])
@ -97,6 +98,7 @@ class MiniDLNAApp(app_module.App):
def init():
"""Initialize the module."""
global app
app = MiniDLNAApp()
register_group(group)