HawkXP71 120 Posted August 17 Posted August 17 I would like to change the title of a page based on if "Enable debug logging" is set to anything but no. is there any api to do so?
Solution softworkz 5375 Posted August 17 Solution Posted August 17 34 minutes ago, HawkXP71 said: I would like to change the title of a page based on if "Enable debug logging" is set to anything but no. is there any api to do so? Emby SDK Reference: BaseApplicationConfiguration.EnableDebugLevelLogging
HawkXP71 120 Posted August 18 Author Posted August 18 22 hours ago, softworkz said: Emby SDK Reference: BaseApplicationConfiguration.EnableDebugLevelLogging Question, I happen to be inside a JS function when I need this. The way that I solved it, is to use var url = ApiClient.getUrl("/emby/System/Configuration"); ApiClient.getJSON(url).then(response => { if (response.EnableDebugLevelLogging) { ....... Is there a better way?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now