New free and best application for remote control MediaMonkey

Discussion about anything that might be of interest to MediaMonkey users.

Moderator: Gurus

Pako
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Post by Pako »

dreadlyone wrote:Can you change the formating of the resulting output to something like
Slow Down - Loose Ends - Zagora - 1990
Show OSD: {eg.result.replace(","," - ")}
dreadlyone wrote:Also, I have my Firefly remote setup to set ratings and then output the new rating to the OSD. The outputted text on the OSD displays the MM database value which is in the range of 0-100. Is there a way to get the MM DB results and divide by 20 so the OSD result ranges from 0-5?
Show OSD: {int(eg.result)/20}

Python is simple, elegant, and powerful. :wink:

Pako
dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone »

That's fantastic and easy.

Thanks for the help.
dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone »

Would it be possible to add Partymode and Visualization to the commands for MM in Eventghost?

I have been trying to use EmulateKeyboard commands in EG to trigger the Partymode and Visualization options in MM with no luck unfortunately.
Pako
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Post by Pako »

dreadlyone wrote:Would it be possible to add Partymode and Visualization to the commands for MM in Eventghost?
Try this script (copy code and paste to EG tree):

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1390">
    <Folder Name="MM test">
        <Macro Name="MediaMonkey: Partymode">
            <Action>
                Window.FindWindow(u'MediaMonkey.exe', u'MediaMonkey', u'TFMainWindow', None, None, None, True, 0.0, 0)
            </Action>
            <Action>
                Window.BringToFront()
            </Action>
            <Action>
                EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(17,0,0,0)\nwin32api.keybd_event(18,0,0,0)\nwin32api.keybd_event(77,0,0,0)\nwin32api.keybd_event(77,0,2,0)\nwin32api.keybd_event(18,0,2,0)\nwin32api.keybd_event(17,0,2,0)')
            </Action>
        </Macro>
        <Macro Name="MediaMonkey: Visualisation">
            <Action>
                Window.FindWindow(u'MediaMonkey.exe', u'MediaMonkey', u'TFMainWindow', None, None, None, True, 0.0, 0)
            </Action>
            <Action>
                Window.BringToFront()
            </Action>
            <Action>
                EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(17,0,0,0)\nwin32api.keybd_event(18,0,0,0)\nwin32api.keybd_event(86,0,0,0)\nwin32api.keybd_event(86,0,2,0)\nwin32api.keybd_event(18,0,2,0)\nwin32api.keybd_event(17,0,2,0)')
            </Action>
        </Macro>
    </Folder>
</EventGhost>
Better way meanwhile isn't. Be missing support inside MM for this.
Pako
dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone »

Works perfectly. Thanks for the script.

Lon
Pako
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Post by Pako »

Action ShowOSD has now (from build 1397) multiline feature.
You can use this feature for example this way:
1)Output from action Get basic song info:"Love Hurts,Nazareth,Ballads,Ballads Of The 70's,2003"
2)Script in ShowOSD:
{eg.result.split(',')[1]}
{eg.result.split(',')[0]}
{eg.result.split(',')[3]}
{eg.result.split(',')[2]}
{eg.result.split(',')[4]}
3)Output on screen:
Nazareth
Love Hurts
Ballads Of The 70's
Ballads
2003


It is clear ?
Pako
dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone »

Yes, very clear thanks for the informing us of the new update. I will be taking advantage of the new multiline osd immediately.

Lon
dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone »

Got another request for you...

Since setting up and using the new multiline osd, an idea came to mind...

I have a FF key mapped to get a song and now it looks a lot better using the multiline osd using the following code and it looks fantastic to me.

Code: Select all

Artist:  {eg.result.split(',')[1]}
Title:  {eg.result.split(',')[0]}
Album:  {eg.result.split(',')[3]}
Year:  {eg.result.split(',')[4]}
Rating: {int(eg.result.split(',')[2])/20} Star(s)
Would it be at all possible to be able to query MM for the track info for the "next" track in the playlist? I went through all the MM information retrieval options in EG but haven't seen it so I am guessing there would be some coding involved if it is even possible.

For me personally, the only info necessary for the next playlist track would be the same as above for current track, Artist, Title, Album, Year and rating.

If you're wondering, this idea comes from internet radio stations or even music stations on satellite where it displays the current playing track and always shows the upcoming track.

If this info could be combined with basic info in the same OSD multiline output, that would just be awesome.

Finally, I hope I am not being too forward in asking for more features. I realize you do this stuff in your free time and I would hate to think that any requests I make for your script would turn a hobby into a chore.

Thanks for your help and this amazing script.
Pako
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Post by Pako »

You are using option "Shuffle tracks" ?
If yes, it is (without direct support MM) impossible.
Pako
dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone »

No, I don't normally use shuffle tracks.
Pako
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Post by Pako »

New action "Get basic song info of next track" included in build 1402.
Is it done well ?
Pako
dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone »

You've done it again Pako. Another excellent update. It works perfectly. Thank you very much for making my ideas reality.
Pako
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Re: New free and best application for remote control MediaMonkey

Post by Pako »

MediaMonkey plugin (part of EventGhost) now has a new feature - Jukebox. It works so that you enter any number (for example, on your remote control) and MediaMonkey starts playing album with the same ID.
To work as described, it is necessary add another new plugin into configuration of EventGhost. This new plugin is called Multitap. Multitap has three modes of work:
1) enter of more than one-digit numbers
2) SMS mode - writing text as a mobile phone
3) Single Key mode - using one button, you can generate different events from your list
Multitap plugin is part of the installation package Eventghost (as well as a new version of the plugin MM).

Pako
Melloware
Posts: 339
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US
Contact:

Re: New free and best application for remote control MediaMonkey

Post by Melloware »

Pako,

This is a REALLY impressive plugin for EventGhost. I know how difficult it can be since I just wrote the EventPhone plugin for EventGhost myself and I just wanted to say I think your MM plugin is very impressive!

If anyone needs to control EventGhost from their iPhone or iPod touch I have written EventPhone if you want to check it out.

http://melloware.com/products/eventphone/

Keep up the great work Pako!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
MonkeyTunes - DACP Server for MediaMonkey
Intelliremote - Take Back Control of your HTPC!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
BigBlack
Posts: 3
Joined: Sun Jan 03, 2010 8:22 am

Re: New free and best application for remote control MediaMonkey

Post by BigBlack »

hey guys where i can find the eventghost.vbs? Thank you bye
Post Reply