Author Topic: show AT&RT functions in the Function Selector menu?  (Read 1095 times)

hiccup

  • Hero Member
  • *****
  • Posts: 9124
I wonder if it would be possible to have the function selector panel include functions that become available when the Additional Tagging & Reporting Tools plugin is installed?




boroda

  • Hero Member
  • *****
  • Posts: 5234
+1. Steven, plugin developers (e.g. me) could provide some helper function to give MB some info about implemented custom functions, if it's too hard to parse all plugin's functions and their syntax on the MB side.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
+1. Steven, plugin developers (e.g. me) could provide some helper function to give MB some info about implemented custom functions, if it's too hard to parse all plugin's functions and their syntax on the MB side.
+1. Plugins feeding that information to MusicBee themselves would probably be best in my opinion.
A new API function to return an array of strings that represent each supported function is how I imagine this would work.
One benefit to that being that a plugin developer can choose which functions to expose to the user and which to keep experimental/hidden (much like how MusicBee does it).
Strength and Honour (2025)


Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34977
+1. Steven, plugin developers (e.g. me) could provide some helper function to give MB some info about implemented custom functions, if it's too hard to parse all plugin's functions and their syntax on the MB side.
sent you a PM with the info

boroda

  • Hero Member
  • *****
  • Posts: 5234
Steven has added support to the latest MB 3.6 patch for a plugin helper function which returns all plugin VT functions, including their parameter names as a string array.

AT&RT plugin, 9.0 beta 3 uses this new MB feature:

https://www.mediafire.com/file/dv6g20wpk8k4965/mb_TagTools_9.0.beta.zip/file

Screenshot:

Last Edit: August 19, 2024, 08:20:28 PM by boroda

hiccup

  • Hero Member
  • *****
  • Posts: 9124
AT&RT plugin, 9.0 beta 3 uses this new MB feature
That's great.
When I have the opportunity I will give both this and the latest TitleCase implementation some solid tire-kicking ;-)