Pausing

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

greggy
Posts: 6
Joined: Thu Apr 21, 2005 8:12 am

Pausing

Post by greggy »

Hey

I wanted to make pausing mediamonkey easy by being able to use one of the programmable buttons above the keyboard on my laptop to pause mediamonkey, or continue playing it if it isn't already playing.

i am guessing that i will need to write a script that accesses the API to check whether mediamonkey is open and also whether it is playing or not, however i have no idea where to start doing this, so if anyone has a script or can shed some light on how to go about doing this, it would be much appreciated.

It always takes me too long to pause the song (and for some reason in the more recent versions of mediamonkey, i have found myself needing to double click the pause button) so a button on the keyboard would be useful.

thank you

Greggy

p.s. - i tried using this http://www.mediamonkey.com/forum/viewto ... ht=pausing but i could not understand it that much.
Peke
Posts: 18413
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Post by Peke »

Could you be more specific?

Are you saying that Multimedia keys do not work on your laptop?
What version of Windows you use?
What version Of MM you use?
What exactly you want to gain (Less latency)?
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
demm
Posts: 116
Joined: Tue Oct 21, 2003 11:31 am
Location: Austria
Contact:

Post by demm »

i can't help you on the issue with the multimedia buttons, but i can tell you that if mm is playing and you click once on the monkey icon in the tray, playback will pause. it will resume if you click on it again.
greggy
Posts: 6
Joined: Thu Apr 21, 2005 8:12 am

Post by greggy »

hey

sorry... the keys on top of my keyboard do work, however when people call me from other rooms in my house and my music is on, it always takes me a while to stop the music.

Above the keyboard keys on my laptop i have 2 programmable buttons which i can set to perform certain actions when pressed i.e. one currently opens mediamonkey. I wanted to make the other button pause the music if it is currently playing.

I use windows xp pro, the latest mediamonkey, and just want to make it easier for me to pause so i can hear the people speaking to me from other rooms.

Thank you, and sorry about confusion

Greg
greggy
Posts: 6
Joined: Thu Apr 21, 2005 8:12 am

Post by greggy »

demm wrote:i can't help you on the issue with the multimedia buttons, but i can tell you that if mm is playing and you click once on the monkey icon in the tray, playback will pause. it will resume if you click on it again.
thank you

i know this is the case, i just find it easier to use the keyboard, instead of having to locate the mouse on the screen, and click on the logo.

Greg
Peke
Posts: 18413
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Post by Peke »

If you want I could Email you my Keyboard fix I made for Myself which can be programmed to act as front end/Emulation of Multimedia keys on keyboard.
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
onkel_enno
Posts: 2157
Joined: Fri Jan 14, 2005 1:45 am
Location: Germany
Contact:

Post by onkel_enno »

I use these short scripts for my keys:

Code: Select all

Option Explicit
On Error Resume next
Dim SDB
Set SDB = CreateObject("SongsDB.SDBApplication")
SDB.ShutdownAfterDisconnect = False

if SDB.IsRunning then
	SDB.Player.Previous
	SDB.Player.Play
end if

Set SDB = Nothing

Code: Select all

Option Explicit
On Error Resume next
Dim SDB
Set SDB = CreateObject("SongsDB.SDBApplication")
SDB.ShutdownAfterDisconnect = False

if SDB.IsRunning then
	if SDB.Player.IsPlaying then
		SDB.Player.Pause
	else
		SDB.Player.Play
	end if
end if

Set SDB = Nothing

Code: Select all

Option Explicit
On Error Resume next
Dim SDB
Set SDB = CreateObject("SongsDB.SDBApplication")
SDB.ShutdownAfterDisconnect = False

if SDB.IsRunning then
	SDB.Player.Next
	SDB.Player.Play
end if

Set SDB = Nothing
But it only workes, if MM is already running.
greggy
Posts: 6
Joined: Thu Apr 21, 2005 8:12 am

Post by greggy »

You are a legend.

this works perfectly for what i want it for. thank you very much. i would only need to use it when mediamonkey is running, so that isn't a problem.

many thanks onkel_enno :D

Greg
Post Reply