INTERACT FORUM

Please login or register.

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

Author Topic: Q: Multiple instances of MC  (Read 2940 times)

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Q: Multiple instances of MC
« on: June 17, 2016, 11:33:23 am »

Hi guys,

regarding my "crazy" home system I wonder what is possible regarding multiple instances of MC on the SAME machine?
I know that I can configure MC to allow launching multiple versions of MC.

My questions are the following (before experimenting with it):


(1) Is it possible to have TOTALLY different configurations (configuration file paths) for each of these MCs as if they were running on different machines?
Must these versions of MC be installed in different directories to achieve this? How independent can these instances really be?

(2) Can one instance be the library server and the other a pure client which connects to this server (as it is possible when they are on two different machines).
Or is it better to share the same library in a different way?

(3) Can MCWS be configured with a different port for each instance (but the same base address; e.g. localhost) so that I can communicate to each instance independently?

(4) Can any MC instance be "bound" to a specific monitor? Or must I manually ensure that the windows end up there?


Maybe I can reach my goal to have a multi-user system for video playback on one machine this way :)
Logged

eddyshere

  • Galactic Citizen
  • ****
  • Posts: 469
Re: Q: Multiple instances of MC
« Reply #1 on: June 17, 2016, 08:11:02 pm »

creating and running MC in VM's on a single machine worked for me in the early days...
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5233
  • "Linux Merit Badge" Recipient
Re: Q: Multiple instances of MC
« Reply #2 on: June 17, 2016, 09:03:03 pm »

creating and running MC in VM's on a single machine worked for me in the early days...

I'll second this; the only way to get the kind of separation of configuration (but-with-client-server relationships) you're looking for is with VMs.

You might be able to get some of what you want just running multiple instances, but 1) and 4), for example, will never work without VMs, although you might be able to achieve some of 1) by running different major versions of MC, but that's asking for trouble with item 2).
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Q: Multiple instances of MC
« Reply #3 on: June 17, 2016, 09:53:58 pm »

(1) No, they will share registry settings. Even if installed in different directories. They won't be independent.

(2) No. If one instance is a Server, the setting that allows you to run multiple instances will be reset to not allow multiple instances, each time you run MC Server. Don't even think about having two copies of MC connecting to the one set of library files at the same time. Ever.

(3) No. You could only try to do this if two MC Servers (running Media Network) were operating on the one PC. You can't run two copies of MC Server on one PC. See (2).

(4) I don't think so, except at the OS/Video Driver/Video Hardware level if you can bind a program to a specific monitor. Hence, a VM with separate OS required, as MWillems says.


So, down the VM path for you.  8)
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: Q: Multiple instances of MC
« Reply #4 on: June 18, 2016, 04:15:53 am »

Ok, thank you for your replies :)

So even the "portable" install won't help for separating two instances configuration-wise?

VMs are wasting a lot of resources. Therefore this does not seem like a good solution...
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Q: Multiple instances of MC
« Reply #5 on: June 18, 2016, 06:51:54 pm »

A portable install on a separate hard drive or USB drive would be a separate installation.

But I haven't used one, so I don't know if it would support Media Network, for example. There would probably still be the issue of two MC Servers running in the one memory space, or even one Server and one Client. MC detects if another instance is running. It may have trouble separating two instances in memory.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner
Pages: [1]   Go Up