API available?

To discuss development of addons / skins / customization of MediaMonkey.

Moderators: jiri, drakinite, Addon Administrators

crap_inhuman
Posts: 933
Joined: Sat Jan 26, 2013 6:00 am
Location: Friedberg / Hessen / Germany
Contact:

API available?

Post by crap_inhuman »

I can't find the SongsDB5 name-space.

Is the api implemented ? https://www.mediamonkey.com/wiki/Contro ... plications
Metal up your ass !
-----------------------------------------------
I added my first 2 videos on youtube. The language is german.

Discogs Autorisierung: https://www.youtube.com/watch?v=oryxKKtnEnc
Discogs Tagger Bedienung: https://www.youtube.com/watch?v=85Wk-5rd-W0
PetrCBR
Posts: 1763
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: API available?

Post by PetrCBR »

Hi. Don't you have installed as portable install ? Also JS scripting is preferred instead of using old COM.

You can check this how to use devtools api.
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
Ludek
Posts: 4945
Joined: Fri Mar 09, 2007 9:00 am

Re: API available?

Post by Ludek »

The COM model in MM5 should work, but isn't cross-platform and is limited (e.g. you cannot build/control UI using the COM).
So as Petr wrote the JS scripting is preffered.

If you don't need to access MM5 externally try standard scripts/addons, viz following links:
https://www.mediamonkey.com/wiki/Gettin ... d_(Addons)
https://www.mediamonkey.com/wiki/Import ... s_(Addons)
viewtopic.php?f=27&t=81285
+ watch the Scripts folder inside MM install folder for inspiration

If you need to access MM5 from external apps then the Chrome DevTools protocol should work:
viewtopic.php?p=447737#p447737
crap_inhuman
Posts: 933
Joined: Sat Jan 26, 2013 6:00 am
Location: Friedberg / Hessen / Germany
Contact:

Re: API available?

Post by crap_inhuman »

PetrCBR wrote: Wed Jan 06, 2021 8:53 am Hi. Don't you have installed as portable install ? Also JS scripting is preferred instead of using old COM.

You can check this how to use devtools api.
I first had a portable install, but after searching for the name-space i reinstall mm5 normal.

I know that JS is preferred, but i found the wiki page "Controlling MM5 from External Applications", and i tried to use it.
If there is no COM name-space for MM5, the wiki page should be updated :wink:
Metal up your ass !
-----------------------------------------------
I added my first 2 videos on youtube. The language is german.

Discogs Autorisierung: https://www.youtube.com/watch?v=oryxKKtnEnc
Discogs Tagger Bedienung: https://www.youtube.com/watch?v=85Wk-5rd-W0
PetrCBR
Posts: 1763
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: API available?

Post by PetrCBR »

Browse to MM install fodler and run MediaMonkey.exe /RegComServer

EDIT: I've found the issue why COM server wasn't registered even in normal install .. will be fixed in next build.
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
crap_inhuman
Posts: 933
Joined: Sat Jan 26, 2013 6:00 am
Location: Friedberg / Hessen / Germany
Contact:

Re: API available?

Post by crap_inhuman »

PetrCBR wrote: Wed Jan 06, 2021 11:25 am Browse to MM install fodler and run MediaMonkey.exe /RegComServer

EDIT: I've found the issue why COM server wasn't registered even in normal install .. will be fixed in next build.
Thank you !
Metal up your ass !
-----------------------------------------------
I added my first 2 videos on youtube. The language is german.

Discogs Autorisierung: https://www.youtube.com/watch?v=oryxKKtnEnc
Discogs Tagger Bedienung: https://www.youtube.com/watch?v=85Wk-5rd-W0
Post Reply