Skip to content

A suite of scripts/actions for MediaMonkey 5/2024 that can help optimise a large audio collection

Notifications You must be signed in to change notification settings

Corneloues/Soundchaser-TagTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New Action Instructions

File based activities

  1. Go to the src/actions folder
  2. Open the template.js
  3. Save the new template as <ActionName>.js
  4. Find a suitable material icon
  5. Download the icon from the material icon GitHub. You will need to search for the icon due to GitHub limits
  6. Load the svg into Photopea
  7. Resize to 64x64
  8. Save as svg and jpg
  9. Place a <ActionName>.svg and <ActionName>.jpg in the skin\icon folder

Action naming and registration

  1. Open the template <ActionName>.js
  2. Search for "ActionTemplate" and replace with <ActionName>
  3. Add requirejs('actions/<ActionName>') to init.js
  4. Copy the commented // (function () { ... })(); at the end of local.js
  5. Search for "ActionTemplate" and replace with <ActionName>
  6. Replace "Action Tooltop" with something more meaningful

Update constants

  1. Update the actionTitle
  2. Update the confirmMessage - %s will inject the total number of highlighted tracks to the message
  3. Update the completeMessage

Menu item ordering

  1. grouporder: 100 - All custom actions use the same group order to keep menu items together
  2. order: - Set to 10 higher than the highest order value in existing action files
    • ClearComments: order 10
    • PadTrackNo: order 20
    • New actions should follow this pattern

Code the worker

  1. The template will always expect one or more files to have been selected in the MediaMonkey browser
  2. the TrackWorker() function receives a list of tracks.
  3. A single track is processed in the tracks.forEach(track => { /* here */ });
  4. Always code for a single track and let the scaffolding do the hard work

About

A suite of scripts/actions for MediaMonkey 5/2024 that can help optimise a large audio collection

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •