New free and best application for remote control MediaMonkey

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

Moderator: Gurus

Postby Pako » Sun Apr 27, 2008 12:18 am

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
Pako
 
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Postby dreadlyone » Sun Apr 27, 2008 1:48 am

That's fantastic and easy.

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

Postby dreadlyone » Wed Apr 30, 2008 11:09 pm

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.
dreadlyone
 
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Postby Pako » Sat May 03, 2008 6:03 am

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
Pako
 
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Postby dreadlyone » Sun May 04, 2008 12:13 am

Works perfectly. Thanks for the script.

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

Postby Pako » Wed May 07, 2008 3:54 pm

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
Pako
 
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Postby dreadlyone » Wed May 07, 2008 9:49 pm

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

Postby dreadlyone » Thu May 08, 2008 2:13 am

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.
dreadlyone
 
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Postby Pako » Sun May 11, 2008 12:28 pm

You are using option "Shuffle tracks" ?
If yes, it is (without direct support MM) impossible.
Pako
Pako
 
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Postby dreadlyone » Sun May 11, 2008 11:25 pm

No, I don't normally use shuffle tracks.
dreadlyone
 
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Postby Pako » Fri May 16, 2008 2:58 pm

New action "Get basic song info of next track" included in build 1402.
Is it done well ?
Pako
Pako
 
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Postby dreadlyone » Mon May 19, 2008 2:58 pm

You've done it again Pako. Another excellent update. It works perfectly. Thank you very much for making my ideas reality.
dreadlyone
 
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Re: New free and best application for remote control MediaMonkey

Postby Pako » Wed Oct 22, 2008 1:52 pm

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
Pako
 
Posts: 19
Joined: Fri Nov 09, 2007 9:14 am

Re: New free and best application for remote control MediaMonkey

Postby Melloware » Thu Oct 23, 2008 6:14 am

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!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware
 
Posts: 329
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US

Re: New free and best application for remote control MediaMonkey

Postby BigBlack » Fri Feb 05, 2010 10:06 am

hey guys where i can find the eventghost.vbs? Thank you bye
BigBlack
 
Posts: 3
Joined: Sun Jan 03, 2010 8:22 am

PreviousNext

Return to News and Other Stuff

Who is online

Users browsing this forum: No registered users and 15 guests