Adding UI for an addOn

Post a reply

In an effort to prevent automatic submissions, we require that you complete the following challenge.
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review

Expand view Topic review: Adding UI for an addOn

Re: Adding UI for an addOn

by MiPi » Mon Feb 26, 2018 12:30 pm

In scripts, you can use common HTML5+JS. Chromium is used for rendering, so any HTML5/JS standard supported by Chromium (currently version 64) can be used.
MM5 contains framework for auto-tagging (see bin\helpers\autoTagFramework.js, there is some description), so there is probably no need to create own UI for another tagger. Currently MM5 contains 3 taggers (implemented in helpers/searchMusicbrainz.js, helpers/searchTVDB.js, helpers/searchIMDb.js), you can register another in the same way.

Re: Adding UI for an addOn

by crap_inhuman » Mon Feb 26, 2018 11:40 am

Thank you for trying to help me. I don't know where to start writing an user Interface. JS? Chromium?

I try to convert Discogs Tagger to MMW 5. So i need an UI like in the Discogs Tagger in MMW 4.

Sorry if this question is a dumb one...

Re: Adding UI for an addOn

by MiPi » Mon Feb 26, 2018 10:38 am

Hi, could be more specific, what do you need? I am not sure. Currently e.g. lastFM script (in Scripts/lastFM) adds own panel to options dialog by using dlgOptions_add.js. Maybe try to describe some sample, which would help you, and we can make it.

Adding UI for an addOn

by crap_inhuman » Fri Feb 23, 2018 7:51 am


what is the best way to write a Chromium UI with objects that can be handled by the script?
With an example?

Thank's for any help.