Wouter01 / MediaMate-Releases

72 stars 0 forks source link

15s Skip / Rewind with media keys #65

Open avichou opened 2 weeks ago

avichou commented 2 weeks ago

I'm just curious, how do you achieve 15s rewind and skip functions?

I ask because i'd like to implement it as a global shortcut, using better touch tool for example, so that i could rewind my music even when mediamate isn't working in the background. so far it's a feature and function i havent found in any other apps, hence why im genuinely curious !

how did you achieve it ? is there a global shortcut/script to control the currently playing song ? if so, would you mind disucssing about it a bit ? thanks !

image
Wouter01 commented 1 week ago

Hi,

MediaMate uses private APIs for this feature. AFAIK, these cannot be used in a script. You might want to look into if this is possible using AppleScript?

avichou commented 1 week ago

Hi,

MediaMate uses private APIs for this feature. AFAIK, these cannot be used in a script. You might want to look into if this is possible using AppleScript?

im too dumb for it but yeah ill try to have a look in the meantine, using mediamate works just fine ;p

may i ask, what shortcut have you set it to ?

and do you think it'd be possible to achieve it with next/previous buttons (fn bar/top row on macbook) + a key combination? or is it impossible

i mean having command+f7 for example . it feels very logical doesnt it

Wouter01 commented 1 week ago

I have just tried and it's possible to set the shortcut to F7, so you should be able to do that

avichou commented 1 week ago

I have just tried and it's possible to set the shortcut to F7, so you should be able to do that

sorry, f7 works (but i gotta press on fn too for that) . i meant to ask, is it possible to have f7 function to work. aka, have the "previous" key working. so far i can't make it .

btw is f7 used for anything important ?

Wouter01 commented 1 week ago

I have just tried and it's possible to set the shortcut to F7, so you should be able to do that

sorry, f7 works (but i gotta press on fn too for that) . i meant to ask, is it possible to have f7 function to work. aka, have the "previous" key working. so far i can't make it .

btw is f7 used for anything important ?

This is currently not possible.

avichou commented 1 week ago

I have just tried and it's possible to set the shortcut to F7, so you should be able to do that

sorry, f7 works (but i gotta press on fn too for that) . i meant to ask, is it possible to have f7 function to work. aka, have the "previous" key working. so far i can't make it . btw is f7 used for anything important ?

This is currently not possible.

is it feasible, i mean is it something yuou can achieve on your end, or is it impossible due do the way macOS works?

Wouter01 commented 1 week ago

I have just tried and it's possible to set the shortcut to F7, so you should be able to do that

sorry, f7 works (but i gotta press on fn too for that) . i meant to ask, is it possible to have f7 function to work. aka, have the "previous" key working. so far i can't make it . btw is f7 used for anything important ?

This is currently not possible.

is it feasible, i mean is it something yuou can achieve on your end, or is it impossible due do the way macOS works?

It's certainly possible, but it would require quite a lot of changes to the app, so it can take some time