Is there a console we can use while developing addons?

Get help for different MediaMonkey 5 Addons.

Moderators: jiri, drakinite, Addon Administrators

delaysix
Posts: 12
Joined: Thu Aug 30, 2018 10:58 pm

Is there a console we can use while developing addons?

Post by delaysix »

I am trying to add musixmatch as a lyric source. Is there a console of some sorts that we can use while developing? I am trying to see if the right container containing the lyrics is getting grabbed.
fizzjob
Posts: 417
Joined: Fri Mar 30, 2007 12:37 pm

Re: Is there a console we can use while developing addons?

Post by fizzjob »

delaysix wrote: Thu Sep 09, 2021 2:19 pm I am trying to add musixmatch as a lyric source. Is there a console of some sorts that we can use while developing? I am trying to see if the right container containing the lyrics is getting grabbed.
You can debug using Chrome's debugging tools (I had to do this to get the Genius source working). Just navigate to http://localhost:9222/.
Image
Ludek
Posts: 4959
Joined: Fri Mar 09, 2007 9:00 am

Re: Is there a console we can use while developing addons?

Post by Ludek »

To open DevTools in Chrome there is also shortcut Alt+Ctrl+Shift
Or right click something > 'Open DevTools in Chrome'
Then go to 'Source' tab and you can put breakpoints directly to lyricsSources: https://www.dropbox.com/s/yv60573my7heu ... 0.png?dl=0

You will need debug build though.

EDIT: You might get inspired by the viewtopic.php?p=486709#p486709
Post Reply