Methods Added Post 5.0

From MediaMonkey Wiki
Revision as of 16:17, 11 April 2022 by Drakinite (talk | contribs) (Added app.filesystem.getFileInfoAsync method)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Methods and features added to MediaMonkey after version 5.0.0

If you are making an addon for MediaMonkey that includes any of the following methods or features, please do the following:

  1. Include the property minAppVersion inside info.json, with the appropriate version.
  2. When uploading your addon to the MediaMonkey addons listing, insert the appropriate minimum app version.

We have put methods/features that are most likely to be used by addon developers on the top of the list.

Method/Feature minAppVersion Information
skin_options [info.json] 5.0.2 Allows your skin to have configurable skin settings, visible in both Tools > Options > Skins and in Tools > Addons.
ColorPicker [controls] 5.0.2 Color picker control.
setLessValues() 5.0.2 Set runtime values for LESS variables, for skins, without destroying existing values. See: https://www.mediamonkey.com/docs/api/classes/Window.html#method_setLessValues
decodeHTML() 5.0.2 Decodes HTML-encoded strings (e.g. turns ">" into ">")
SharedList.getAllValues() 5.0.2 Gets an array of all values of the specified property key.
app.filesystem.getFileInfoAsync(path) 5.0.3 For the provided file path, retrieves an object with the following properties: dateCreated, dateModified, dateAccessed, size.
getLanguageName() 5.0.2 (Internal method for languages)
getLanguageNativeName 5.0.2 (Internal method for languages)
app.focusAssistIsOn() 5.0.2 (Internal method)
SongList.splitToBatches() 5.0.2 (Internal method)
app.notifyLessChange() 5.0.2 (Internal method for LESS compilation)
setAriaActiveDescendant() 5.0.1 For screen reader support: Sets a focused element's active descendant.
clearAriaID() 5.0.1 For screen reader support: Clears the element's unique ID.
setIconAriaLabel() 5.0.1 For screen reader support: Sets the aria-label attribute of the icon within the provided element.
isElementDisabled() 5.0.1 Determines whether a control is disabled.
simulateFullClick() 5.0.1 Simulates a click on an element.
addEnterAsClick() 5.0.1 Allows an enter keypress to be treated as a click for a given element.
uitools.openHelpContent() 5.0.1 (Internal method for MM5 webhelp)
SharedList.getGroupIdx() 5.0.1 (Internal method)

Side note: The property minAppVersion was added in 5.0.2, so it will technically not be enforced when a user attempts to install an addon on 5.0.0 or 5.0.1. However, we would like our addon developers to please get in the habit of checking the correct compatibility for their addons and skins.