Create SongData object and add to Now Playing...

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

MichaelB14
Posts: 3
Joined: Wed Dec 29, 2004 11:05 pm

Create SongData object and add to Now Playing...

Post by MichaelB14 »

All I am trying to do is create a songData object and add it to the Now Playing list and play it.

I can not for the life of me figure out how to do it.

Any help would be GREATLY appreciated.

ALso, I don't see any Events in the SDK. Are there events?
jiri
Posts: 5419
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

All I am trying to do is create a songData object and add it to the Now Playing list and play it.
I'm not sure if you tried the latest 2.3 beta version, you should be able to achieve this there.
ALso, I don't see any Events in the SDK. Are there events?
There are events for scripts, also in 2.3 there come support for standard COM events.

Let us know if you miss anything else there.

Jiri.

P.S.: The latest COM/scripting objects help is at http://www.mediamonkey.com/beta/MediaMo ... ipting.chm
MichaelB14
Posts: 3
Joined: Wed Dec 29, 2004 11:05 pm

Post by MichaelB14 »

I downloaded the beta and now see the NewSongData method...

I did figure out how to select a song and add it to the "Now Playing" and play it.

I looked thru thehelp file again and only see a couple of events and they all deal with things like treenodes. I was hoping there was events for the player itself. Like when a song begins, or ends...

My last question is is there a property or method to return me the current play time? I looked thru the sdbProgress, but that doesn't seem to be what I need...

Thanks for your help.
Peke
Posts: 17493
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Post by Peke »

Curently MM do not return Current play time within script, it is on To-Do.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
jiri
Posts: 5419
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

It will be possible to access playback time from scripts in the next release.

Jiri
Post Reply