INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Custom Keyboard Shortcuts  (Read 1038 times)

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 946
Custom Keyboard Shortcuts
« on: November 03, 2021, 10:24:45 am »

Is there a way to add custom keyboard shortcuts for certain actions?
For example, I am updating my Cover Art for a lot of albums and it would be great to have a keyboard shortcut to "Add from File" and "Rebuild Thumbnail" in Cover Art
Many thanks
Hans
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Custom Keyboard Shortcuts
« Reply #1 on: November 03, 2021, 01:07:54 pm »

This should be possible.  I've added a half dozen custom keyboard shortcuts to my MC system.  Here's the wiki article on how to do it:

https://wiki.jriver.com/index.php/User_Defined_Global_Keyboard_Shortcuts

There are examples in the file that's linked in that article.  What you need to run commands is the MCC number of the "core command" that does what you want.  Luckily there are quite a few MCC commands for cover art.   In this document, you'll find a full list of all MCC commands.  The cover art commands seem to start at 23036 (MCC commands are all numbered).

https://wiki.jriver.com/index.php/Media_Center_Core_Commands

Each time you change the file (Resource.xml), you need to restart MC for it to take effect.

Good luck!
Brian.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Custom Keyboard Shortcuts
« Reply #2 on: November 03, 2021, 01:09:36 pm »

In case this helps you at all, here's an ancient post I made showing some of my keyboard shortcuts:

https://yabb.jriver.com/interact/index.php?topic=98402.0

Brian.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 946
Re: Custom Keyboard Shortcuts
« Reply #3 on: November 03, 2021, 03:47:43 pm »

In case this helps you at all, here's an ancient post I made showing some of my keyboard shortcuts:

https://yabb.jriver.com/interact/index.php?topic=98402.0

Brian.
Thank you so much, Brian
I really appreciate your help
Hans
EDIT: Just gave it a spin and it works beautifully. This is brilliant! Thank you again so much.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro
Pages: [1]   Go Up