Search found 906 matches

by DaledeSilva
Mon Aug 14, 2023 9:21 am
Forum: MediaMonkey 5 developer forum
Topic: List of event types for app.listen?
Replies: 9
Views: 4973

Re: List of event types for app.listen?

Just thought I'd have a deeper think about your new link so I could give you some feedback. To start off, please note that it's way nicer to use, but here's something that I think could help. When I look at the page, I still find that I get a strong overload of visual noise that makes it hard to sca...
by DaledeSilva
Mon Aug 14, 2023 8:44 am
Forum: MediaMonkey 5 developer forum
Topic: List of event types for app.listen?
Replies: 9
Views: 4973

Re: List of event types for app.listen?

Just to make sure I understand, are you speaking about just the old documentation, or do you feel the same about the new documentation? Apologies for taking so long to reply. I was talking only about this API reference: https://www.mediamonkey.com/docs/api/ However, I have been jumping between that...
by DaledeSilva
Fri Jul 21, 2023 10:21 am
Forum: MediaMonkey 5 developer forum
Topic: Event for when MM ready?
Replies: 2
Views: 2583

Event for when MM ready?

I found in this documentation that I can use window.whenReady(callback) to know when MM and all scripts are loaded, however, I'm trying to attack some app.listener events and I'm getting errors mminit.js:2558 Uncaught Error: addEventListener function not found! Event change at Object.app.listen (mmi...
by DaledeSilva
Fri Jul 21, 2023 10:15 am
Forum: MediaMonkey 5 developer forum
Topic: How to listen for tracklist selection changes?
Replies: 1
Views: 1727

How to listen for tracklist selection changes?

Hi, I'm trying to listen for any change the user makes to their selection in either the now playing list or the main tracklist, but I'm having trouble. From this forum post I figured out that I can use app.listen like this... app.listen( uitools.getSelectedTracklist(), 'change', ()=>{ console.log(&q...
by DaledeSilva
Fri Jul 21, 2023 10:08 am
Forum: MediaMonkey 5 developer forum
Topic: List of event types for app.listen?
Replies: 9
Views: 4973

Re: List of event types for app.listen?

FYI, there's been a new development since the last discussion on this thread. I've written code which parses our Delphi code declarations and translates it into TypeScript, meaning that we now have much more complete documentation for native classes, functions/methods, and events. Before, only clas...
by DaledeSilva
Thu Jul 20, 2023 8:47 am
Forum: MediaMonkey 5 developer forum
Topic: Editing tracks in a tracklist
Replies: 2
Views: 1911

Re: Editing tracks in a tracklist

<r>I figured out the problem (Or how to get around).<br/> I was treating the list of tracks returned from <B><s>[b]</s>uitools.getSelectedTracklist<e>[/b]</e></B> as a <B><s>[b]</s>Tracklist<e>[/b]</e></B> object and only looking at <URL url="https://www.mediamonkey.com/docs/api/classes/Tracklist.ht...
by DaledeSilva
Thu Jul 20, 2023 8:39 am
Forum: MediaMonkey 5 developer forum
Topic: Submenus in Tracklist Menu Items
Replies: 2
Views: 1849

Re: Submenus in Tracklist Menu Items

Oh dear. I just figured it out by stumbling upon this other forum question and seeing the code there. The documentation page here says that submenu should be defined here in the hierarchy: { action: {}, order, grouporder, submenu, } But those docs are incorrect, it should be: The documentation page ...
by DaledeSilva
Mon Jul 17, 2023 7:38 am
Forum: MediaMonkey 5 developer forum
Topic: Submenus in Tracklist Menu Items
Replies: 2
Views: 1849

Submenus in Tracklist Menu Items

I've been trying to create a submenu in the tracklist menu, however, I can't figure out how to make it work. I can make single items work that aren't in a submenu, but if I give it the property of submenu with an array (like specified in these docs ), it's stays as a single item with no menu of chil...
by DaledeSilva
Mon Jul 17, 2023 6:52 am
Forum: MediaMonkey 5 developer forum
Topic: Editing tracks in a tracklist
Replies: 2
Views: 1911

Editing tracks in a tracklist

I've attempted to edit access tracks from the now playing list in two ways. The first is what the documentation seemed to encourage as far as I could tell. However, even though I'm using the commands to lock the list, I still get Uncaught (in promise) Error: Read lock not acquired! . (I also get it ...
by DaledeSilva
Sun Jun 04, 2023 9:28 am
Forum: Need Help with Addons? (MMW4)
Topic: Forget Crossfade Script [MM3] -(auto crossfade switching)
Replies: 75
Views: 108157

Re: Forget Crossfade Script [MM3] -(auto crossfade switching)

@Kriffe I’ve worked on it the last couple of days, so should be this week!
by DaledeSilva
Sun Jun 04, 2023 7:21 am
Forum: MediaMonkey 5 developer forum
Topic: List of event types for app.listen?
Replies: 9
Views: 4973

Re: List of event types for app.listen?

The "change" event works; it seems to fire twice when a track is added to the list, but I can work my way around that. It's still a lot faster than the MM4 COM API! I had completely missed the event tab in the documentation. I'll make sure to remove the prefix and lower-case them. Thank y...
by DaledeSilva
Sat Jun 03, 2023 9:10 am
Forum: MediaMonkey 5 developer forum
Topic: How should the VBS-JS Converter works ?
Replies: 13
Views: 28218

Re: How should the VBS-JS Converter works ?

It's been a long time since MM5 came out, but for anyone else that goes to use this script, the menu button the run the converter appear next to the search box for me. It's not in any dropdown menus and can't be added to the standard top tool bar by editing layout - it doesn't appear to be an action...
by DaledeSilva
Mon Apr 03, 2023 4:44 pm
Forum: Need Help with Addons? (MMW4)
Topic: Forget Crossfade Script [MM3] -(auto crossfade switching)
Replies: 75
Views: 108157

Re: Forget Crossfade Script [MM3] -(auto crossfade switching)

That’s very good timing Kriff. I’ve been revamping my website and literally yesterday made the decision that I should just take down the pages linking to my MM plugins. But now I see people still use them so I’ll leave them up. :) Also, I didn’t know it had broken with newer versions. Gimme a week o...
by DaledeSilva
Sat Apr 15, 2017 12:00 am
Forum: Need Help with Addons? (MMW4)
Topic: Forget Crossfade Script [MM3] -(auto crossfade switching)
Replies: 75
Views: 108157

Re: Forget Crossfade Script [MM3] -(auto crossfade switchin

Hello!!! I recently got an email from someone asking where they can find Forget Crossfade since my site was no longer up. I took down my site a couple of months ago to rebuild and since I've been using Spotify for the last few years I completely forgot that people would still be looking for my scrip...
by DaledeSilva
Sun Nov 10, 2013 7:32 am
Forum: Need Help with Addons? (MMW4)
Topic: MediaMonkey iTunes plugin (d_itunes4.dll)
Replies: 1308
Views: 648500

Re: MediaMonkey iTunes plugin (d_itunes4.dll)

@Mark
Excellent work! Thank you for you donated time and assistance which makes everyone's lives easier :)