New free and best application for remote control MediaMonkey

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

Moderator: Gurus

Pako
Berichten: 19
Lid geworden op: vr nov 09, 2007 9:14 am

Bericht door Pako »

dreadlyone schreef:Can you change the formating of the resulting output to something like
Slow Down - Loose Ends - Zagora - 1990
Show OSD: {eg.result.replace(","," - ")}
dreadlyone schreef: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
Berichten: 48
Lid geworden op: ma jan 07, 2008 2:06 pm

Bericht door dreadlyone »

That's fantastic and easy.

Thanks for the help.
dreadlyone
Berichten: 48
Lid geworden op: ma jan 07, 2008 2:06 pm

Bericht door 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
Berichten: 19
Lid geworden op: vr nov 09, 2007 9:14 am

Bericht door Pako »

dreadlyone schreef: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: Selecteer alles

<?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
Berichten: 48
Lid geworden op: ma jan 07, 2008 2:06 pm

Bericht door dreadlyone »

Works perfectly. Thanks for the script.

Lon
Pako
Berichten: 19
Lid geworden op: vr nov 09, 2007 9:14 am

Bericht door 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
Berichten: 48
Lid geworden op: ma jan 07, 2008 2:06 pm

Bericht door 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
Berichten: 48
Lid geworden op: ma jan 07, 2008 2:06 pm

Bericht door 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: Selecteer alles

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
Berichten: 19
Lid geworden op: vr nov 09, 2007 9:14 am

Bericht door Pako »

You are using option "Shuffle tracks" ?
If yes, it is (without direct support MM) impossible.
Pako
dreadlyone
Berichten: 48
Lid geworden op: ma jan 07, 2008 2:06 pm

Bericht door dreadlyone »

No, I don't normally use shuffle tracks.
Pako
Berichten: 19
Lid geworden op: vr nov 09, 2007 9:14 am

Bericht door Pako »

New action "Get basic song info of next track" included in build 1402.
Is it done well ?
Pako
dreadlyone
Berichten: 48
Lid geworden op: ma jan 07, 2008 2:06 pm

Bericht door dreadlyone »

You've done it again Pako. Another excellent update. It works perfectly. Thank you very much for making my ideas reality.
Pako
Berichten: 19
Lid geworden op: vr nov 09, 2007 9:14 am

Re: New free and best application for remote control MediaMonkey

Bericht door 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
Berichten: 339
Lid geworden op: ma aug 18, 2008 9:46 am

Re: New free and best application for remote control MediaMonkey

Bericht door 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
Berichten: 3
Lid geworden op: zo jan 03, 2010 8:22 am

Re: New free and best application for remote control MediaMonkey

Bericht door BigBlack »

hey guys where i can find the eventghost.vbs? Thank you bye
Plaats reactie