Automating MediaMonkey via RemoteControl

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

C5 Hardtop
Posts: 1
Joined: Fri Jan 06, 2012 9:39 am

Automating MediaMonkey via RemoteControl

Post by C5 Hardtop »

I'm looking to control MediaMonkey through my remote control. Been using remote desktop to select and play songs using a laptop but I have a Philips Pronto TSU9800 that is scriptable (javascript).

The idea is to build an interface to MediaMonkey and use XML and TCP to transfer data from the audio PC to the remote. The remote will send XML data for what it wants to play. The PC will be constantly listening and sending data (track progress data for example). I'd probably use C# on the audio pc side to tx/rx xml containing data from MediaMonkey and receive actionable data from the remote.

Its sounding like a big project, but I know its doable with the extensive API MediaMonkey exposes and the remotes capability to use sockets, xml, display images, text and pretty much anything javascript can do. For example, the remote shows the current weather using Accuweather, XML, sockets via WIFI and javascript (as well as control equipment :)).

With that background, would someone provide a 1000' view/overview of what I would need to do on the MediaMonkey side that would give me overview information of the API's? I see a granular list of API's, properties and so on. Fantastic as I'll need that. But an overview of the classes would be benificial so I can quickly understand what API's I'll need to start out with.

What API's would I use to do the following with MediaMonkey v3.2.4.1304:
  • Get all Artist & album Artist
    Then get albums for a given item in that list.
    Then get songs within the given album
    Play all songs within the given album
    Play selected songs within the given album
    Get real time Track progress information
    Start/Stop/skip tracks
Thanks!
Thanasis
Posts: 84
Joined: Sun Aug 28, 2011 2:53 am

Re: Automating MediaMonkey via RemoteControl

Post by Thanasis »

You better consider using .vbs instead of .js
You don't need to define any APIs when you run .vbs through Media Monkey. You will need the API when you run your code externally.

If you run vbs externally you need to define the following :

Code: Select all

Dim SDB : Set SDB = CreateObject("SongsDB.SDBApplication")
For what you are trying to do, refer to the list of Objects and Functions here:
http://www.mediamonkey.com/wiki/index.p ... pplication

If you are uncertain of how to use a line then write back...
(One Line per question please as time is limited)
Thanasis
Posts: 84
Joined: Sun Aug 28, 2011 2:53 am

Re: Automating MediaMonkey via RemoteControl

Post by Thanasis »

(shit, I haven't seen that this is only your 1st post, otherwise I wouldn't have given you an answer)

I am sure you will never come back, that is why I say this.....
Post Reply