Hide Folders From Different Media Renderers
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Hide Folders From Different Media Renderers
hi all we got a new tv down stairs and i only want it to show 1 folder in and still show all my other folders on other devices.
ive tried doing the whitelist thing in the feature suggestions but cant get it to work think im doing it wrong somewhere
this is what i got
im running ums 3.3.0 i have got about 5 shared folder and only want the philips tv render on see the downloads folder
ive tried doing the whitelist thing in the feature suggestions but cant get it to work think im doing it wrong somewhere
this is what i got
hi ive tried doing this but cant get it to work think i might be doing it wrong as it still shows all my folders this is what i gotSharkHunter wrote:I've added this here https://github.com/UniversalMediaServer ... 8b5b109b23.
A small note on how it wroks.
To your UMS.conf (currently no GUI options) you add lines of format
tag.option = value
where tag is either an IP address or a render name. The render name should with spaces changed to _ instead.
The option is one ofThe value is option dependent. The last 4 are boolean values. for folders and vfolders it is a list of folders. for plugins it's a list of allowed plugins
- folders
- vfolders
- plugins
- web
- recent
- new_media
- hide_set
Example
folders =
hide_video_settings = false
192.168.1.1.folders = c:\\child_safe
192.168.1.1.plugins = SafePlugin
192.168.1.1.hide_set = true
192.168.1.1.recent = true
This will for IP address 192.168.1.1:
1) Share the folder c:\child_safe
2) Only allow it to use plugin SafePlugin
3) Hide the Server Settings folder
4) Hide the Recently played list
All other renders will use the "global" settings ie. see all folders, and the ServerSettings and all Plugins.
Note that the plugin list (a comma separated list) is which plugins are ALLOWED and case sensitive. To allow all plugins except on you have to list all except the one that shouldn't be there
(If you have plugins A,B,C,D and want to allow access to A,C,D the add 192.168.1.1.plugins = A,C,D).
If an option is not present it will fallback to the "global" config or if that isn't present to the default value..
Code: Select all
folders >-------------------------------------------------------
# Media Locations
# ---------------
# GUI Option: Shared folders dialogue (list)
# Either define a list of specific folders containing media to be shared or
# allow the system to browse the whole disk of the server. The GUI provides a
# system navigation to generate a list of folders. The list should contain a
# comma-separated list of absolute path names, or leave it empty to let the
# system find media.
# Default: ""
folders =
hide_video_settings = false
Philips_TV.folders = C:\Users\Lip\Downloads
Philips_TV.plugins = SafePlugin
Philips_TV.hide_set = true
Philips_TV.recent = true