[RFE] API

Would be great, if one could could extend the const ClientPlatform to incl. ClientPlatform.WebAdmin

 

That way, one could restrict "channels/Apps" to show on clients, and only be avail on the WebAdmin

 

/Tommy

This is already possible :)
 
Client.Platform = Chrome, Safari, Firefox, etc.
Client.Product = Web Client
This is already possible :)
 
Client.Platform = Chrome, Safari, Firefox, etc.
Client.Product = Web Client

Interesting, and left out in the sparse docs I found so far :-)

Can that also be used in the info.plist somehow?

/Tommy

Edit: And I should have known Product subclass existed, SIGH

https://forums.plex.tv/topic/95778-detect-device-which-calls-the-channel/

Can that also be used in the info.plist somehow?

Sort of, you can use the "PlexClientPlatforms" key and list the compatible platforms. In case of the web client you'd have to list the browser names:

PlexClientPlatforms
Chrome,Firefox,Safari

Early 2021 clean-up: implemented