INTERACT FORUM

Please login or register.

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

Author Topic: Mysterious Error Messages when using MC Core Commands on macOS  (Read 260 times)

abachem

  • Recent member
  • *
  • Posts: 23

When using MC Core Commands as described in the Wiki then there will be executed correctly, but I always get the following error (warning) messages, which does not give me any hint what I am doing wrong. Can anybody help me?
I am using latest Build MC 33.0.72 Silicon on my macmini M4.  [solved]

Example: Using MCC command 10004 in the Terminal

Command: /Applications/Media\ Center\ 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher /MCC 10004

Error Message:
objc[39350]: Class JRNSWindowDelegate is implemented in both /Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc240) and /Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib (0x10778ed08). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[39350]: Class JRWebView is implemented in both /Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc268) and /Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib (0x10778ed30). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[39350]: Class JRWKWebView is implemented in both /Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc2b8) and /Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib (0x10778ed80). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[39350]: Class JRNSView is implemented in both /Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc308) and /Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib (0x10778edd0). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[39350]: Class JRNSWindow is implemented in both /Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc358) and /Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib (0x10778ee20). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[39350]: Class SPInvocationGrabber is implemented in both /Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc088) and /Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib (0x10778eec0). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[39350]: Class SPMediaKeyTap is implemented in both /Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc128) and /Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib (0x10778ef10). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[39350]: Class JRCmdRelay is implemented in both /Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc1c8) and /Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib (0x10778ef60). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
sent a notification!!!
Logged

EnglishTiger

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1259
Re: Mysterious Error Messages when using MC Core Commands on macOS
« Reply #1 on: April 14, 2025, 05:52:00 am »

Although not somebody familiar with using MCC commands I can spot a mistake in yours - the MCC 1004 is missing it's parameter and at a guess it should be MCC 1004,4 if you are using the command to get MC to play the previous item. in the playlist.
Logged
Intel NUC13ANBi5 13th gen I5-1340P cpu

Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

ET Skins, TrackInfo Plugins and Other Goodies - https://englishtiger.uk/index.html

abachem

  • Recent member
  • *
  • Posts: 23
Re: Mysterious Error Messages when using MC Core Commands on macOS
« Reply #2 on: April 14, 2025, 12:45:28 pm »

yes, you are right, it must be /MCC 10004,4 for previous item. But unfortunately this makes no difference. I tried also /MCC 10001, a command with no parameter. The error messages are always the same.

But anyway, thank you very much for your quick answer!
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2959
Re: Mysterious Error Messages when using MC Core Commands on macOS
« Reply #3 on: April 15, 2025, 03:36:24 am »

Quote
/Applications/Media Center 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher (0x102afc240)
/Applications/Media Center 33.app/Contents/MacOS/libJRTools.dylib

I'm not sure if this folder layout is normal on a Mac, but it looks like there's a duplicate install of MC within the MC folder. Do a database backup, then try cleaning up the install folder. Perhaps it's better to completely remove MC33 (after doing the backup!) then reinstall MC.
Logged

MrBiff

  • World Citizen
  • ***
  • Posts: 153
Re: Mysterious Error Messages when using MC Core Commands on macOS
« Reply #4 on: April 15, 2025, 04:07:27 pm »

I'm not sure if this folder layout is normal on a Mac, but it looks like there's a duplicate install of MC within the MC folder. Do a database backup, then try cleaning up the install folder. Perhaps it's better to completely remove MC33 (after doing the backup!) then reinstall MC.

It's OK.  The Launcher.app package is stored within the Media Center.app package.

The errors the OP has seen aren't uncommon (but are still annoying).

Issue the command as:
Code: [Select]
open /Applications/Media\ Center\ 33.app/Contents/MacOS/Launcher.app --args /MCC 10004,4

Always use the open(1) command to run an app-style command (vs. command line executable).

Otherwise, you can run the packaged program and toss STDERR into the bit bucket:

Code: [Select]
/Applications/Media\ Center\ 33.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher /MCC 10004,4 2> /dev/null
Logged

abachem

  • Recent member
  • *
  • Posts: 23
Re: Mysterious Error Messages when using MC Core Commands on macOS
« Reply #5 on: April 17, 2025, 04:20:26 am »

Thank you all for your help. MrBiff's suggestion with the command 'open /Applications/Media\ Center\ 33.app/Contents/MacOS/Launcher.app --args /MCC 10004,4' works fine. I use KeyboardMaestro.com to connect the command with a key when MC is running and this works now perfectly. [solved]
Logged
Pages: [1]   Go Up