Can't get example beatlets to work

Willem van der Marel's Avatar

Willem van der Marel

05 Jan, 2021 03:02 PM

Hi there.

I've been looking to export some data from my library and thought I could do it with one of the examples shown on the website. I have copied the contents of the library batch action (write data to log, copy it, process it further)

I have copied the example as shown on https://www.beatunes.com/en/beatlet-librarybatchaction.html#javascriptlibrarybatchaction to a file, name the file PrintEachNameInLibrary.js and saved it in the plug-ins directory. But somehow that's where I get stuck. I don't see the plugin under the available plugins in the preferences and can't find a menu item either. Am I missing something? Any help would be much appreciated.

Kind regards
Willem
* beaTunes: 5.2.14-SNAPSHOT
* JVM: OpenJDK 64-Bit Server VM
* Version: 11.0.7+10-LTS
* Vendor: BellSoft
* OS: Mac OS X 10.15.7, x86_64
* Library: FileSystem
* Memory: 92m - 1664m
* Registered as: Willem van der Marel

  1. Support Staff 1 Posted by hendrik on 05 Jan, 2021 07:23 PM

    hendrik's Avatar

    Hi Willem,

    saved it in the plug-ins directory.

    What's the full path of the plugin directory you saved it in? Please also see this article.

    For good measure, please also upload your logs via the app's Help menu.

    Thanks,

    -hendrik

  2. 2 Posted by Willem van der ... on 07 Jan, 2021 03:25 PM

    Willem van der Marel's Avatar

    Hi Hendrik,

    thanks for your swift reply: I saved the file to the following path:
    /Users/wvdmarel/Library/Application
    Support/beaTunes/Plug-Ins (on one accpo

    The logfiles are in the attached Zip file.

    Kind regards
    Willem

  3. Support Staff 3 Posted by hendrik on 07 Jan, 2021 08:39 PM

    hendrik's Avatar

    Thanks for the logs, Willem.

    It looks like starting with v5.2 a necessary module for JavaScript was not included in the distribution and nobody noticed. :-/

    Sorry about that.

    Could you please download and install the latest dev snapshot for Mac? It should at least try to load your beaTlet.

    Here's the link: https://www.beatunes.com/download/beaTunes-5-2-19-SNAPSHOT.dmg

    If it still does not work with that build, please upload your logs again. You might also want to look at them yourself. Any errors during loading a beaTlet will be logged there.

    -hendrik

  4. 4 Posted by Willem van der ... on 08 Jan, 2021 03:43 PM

    Willem van der Marel's Avatar

    Downloaded the snapshot and it's working. Now comes the heavy part: coding what I want.... Thanks for the support!

  5. Support Staff 5 Posted by hendrik on 08 Jan, 2021 07:58 PM

    hendrik's Avatar

    Now comes the heavy part: coding what I want....

    Let me know, if you have any questions. I am happy to help (not with JavaScript, but with the API).

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac