SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

External Scripting

Oh man, I was so excited when I saw scripting that I almost broke my pants. Then I saw it’s only JS/EL, so no external scraping. I’m keeping my fingers crossed for the future though. :wink:

Thanks for the update, Paul.

Hi, the scripter added lets you set mutiple fields to any combination of any other field/and javascript expression language. You can also use fields directly from MusicBrainz and/or Discogs match if one exists

It would be useful if you could give us some concrete examples of what you would use exteral scripting for I’m as Im not clear of the use case for it.

I was really hoping to be able to use the Genius API to fetch lyrics, among other things.

I’ve seen you talk about the possibility of being able to add plugins or scripts in the past, so when I saw “scripting” in the feature list, I thought that day had come.

Okay I can see the benefit of that api, but if you have to write simple code to use the api you could then write code to update the lyrics field of your songs so Im not entirely what is the advantage of doing it from within Jaikoz

You are correct and I will end up doing that, a separate js script. It would be nice to have Jaikoz be my one-stop-shop, with a genius script in the AC doing everything at once for me in one go, and the ability to see if that field populated correctly. I also was thinking of an allmusic scraper for genres/moods. Again, this can be done with a standalone script, but it would be nice to see them get setup automatically in Jaikoz.

Don’t take this as a complaint or wish-list, just explaining where my head is at.

Hi okay I can see it would be nice to see for example the lyrics field gets updated visually and then you have option to see the values added before saving.

So what is required ?

It seems the option to run a Javascript program from Jaikoz with an api that lets that program read/write to Jaikoz metadata fields?

Yes. When I was first poking through the new Scripter stuff, I was envisioning making “Genius Lyrics” and “allmusic Genres” scripts similar to how the Scripter has “Remove Discno Padding”. I don’t think “add to overall” would still function the same.

I’m not a programmer by any stretch, but I’m able to beat on things until I get what I want (usually), so I’m not sure what’s involved. Like how would libraries/tools be handled? How would I get cheerio and axios into Jaikoz? Or would I install it on the local machine as I normally would? Actually, they’re probably already in there.

Maybe have a folder to place your .class files that Jaikoz can see? No need for an editor inside Jaikoz, just some way to run a script on the current files loaded. I’m just brainstorming at this point… I know it’s annoying, sorry.