INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Mac => Topic started by: carretero on March 12, 2017, 08:26:21 am

Title: Media Server load at startup
Post by: carretero on March 12, 2017, 08:26:21 am
I want only Media Server loading at startup.
I have specified "Run on Mac startup : Media Server" in Tools / Options / Startup / Mac Startup but after Mac boot the main MC UI is always opened.
Excuse me for my english, i am a french man !

 
Title: Re: Media Server load at startup
Post by: kvothe on March 13, 2017, 05:14:34 pm
As an alternative, try and do this:

1) Open System Preferences (under the Apple menu in upper left)
2) Open Users & Groups
3) Click on "Login Items" above your name, on the right.
4) Click the "+" icon below the list
5) Navigate to, and choose, the Media Server app and hit the "Add" button

This should tell MacOS to start Media Server each time you login (which includes after booting)
Title: Re: Media Server load at startup
Post by: carretero on March 14, 2017, 04:11:36 pm
There's no Media Server.app but Media Center 22.app.
When MacOS is starting, Media Server is running, it's not the problem.
The problem is the MC UI is always opened with preference "Run on Mac startup : Media Server".
On MacOS, is there an application named Media Server.app ?
Title: Re: Media Server load at startup
Post by: carretero on March 16, 2017, 12:12:02 pm
Any one can help me ?
Title: Re: Media Server load at startup
Post by: Awesome Donkey on March 16, 2017, 12:53:05 pm
Honestly, I've never tried running Media Server on non-Windows platforms. There's a chance it may be completely supported there at all (e.g. without the main window appearing) and it *may* not work the same way like it does on Windows.
Title: Re: Media Server load at startup
Post by: carretero on March 18, 2017, 07:19:49 am
Can MC Team help me ?
Is Media Server mode working in MacOS in the same way than Windows, MC UI is visible in Media Server in MacOS and not visible in Windows, is it a bug on MacOS ?
Title: Re: Media Server load at startup
Post by: JimH on March 18, 2017, 08:03:05 am
I don't understand your question.  Here's a topic on Media Server:
https://wiki.jriver.com/index.php/Media_Server

It should work as on Windows.
Title: Re: Media Server load at startup
Post by: blgentry on March 18, 2017, 10:08:44 am
I can confirm this behavior.  Tools > Options > Startup > Mac Startup > Run on Mac Startup > Media Server

Reboot the system and Media Center starts up with both the Media Server icon in the top bar *and* the MC main GUI also.  It should only start the Server part as far as I can tell.

I recommend to everyone that they just leave their computers on.  Computers last longer when you leave them running.  Macs are incredibly stable and will run for many months without ever needing a reboot.  That way this setting becomes kind of meaningless, since your computer is always booted.  But I'm not here to fight.  Do what you like with your computers.

Brian.
Title: Re: Media Server load at startup
Post by: carretero on March 18, 2017, 10:21:19 am
JimH,
With this Setting : Tools > Options > Startup > Mac Startup > Run on Mac Startup > Media Server
After computer reboot, MC main GUI windows is always opened, is it normal ?
Then what is the difference between these options : Mac Startup > Media Center and Media Server / Mac Startup > Media Server
I want to use my mac-mini has a Media Server (with no GUI) but not has a Media Center Client.
 
Title: Re: Media Server load at startup
Post by: JimH on March 18, 2017, 10:35:03 am
When you choose to start Media Server only, MC should normally not open.

We can take a look.
Title: Re: Media Server load at startup
Post by: carretero on March 18, 2017, 10:41:02 am
Thank's to take a look.
Title: Re: Media Server load at startup
Post by: Awesome Donkey on March 18, 2017, 10:44:09 am
Probably a Mac nuance.

As far as I know running Media Server on Windows has the Media Center 22.exe running in the background (with a system tray icon present) meaning there isn't a separate executable for Media Server. But since it's running (I believe via command line switch) this doesn't have any issues on Windows, e.g. it doesn't require the MC GUI to be running. In addition the MC GUI can be launched at any time which also causes no issues with this. That said, it probably doesn't work this way on a Mac. Running the Media Center 22.app likely causes it to run the full application in addition to Media Server to run at the same time since there's no switch (I'm just guessing here). There's a chance that for this to work, it might need a separate Media Server app or something like this, not sure. macOS can seriously be a pain sometimes. :P

Basically the questions are; can Media Server be ran with the Media Center 22.app with some sort of command line switch, without the MC GUI launching along with it? If so, can it handle MC's GUI being launched at the same time and closed without closing Media Server?

Probably Linux needs checked as well, but I suspect it's way more forgiving than macOS (and probably works).
Title: Re: Media Server load at startup
Post by: JimH on March 18, 2017, 10:45:51 am
Media Server is a slimmed down version of Media Center.  It is Media Center, but it isn't.
Title: Re: Media Server load at startup
Post by: Awesome Donkey on March 18, 2017, 10:49:40 am
Media Server is a slimmed down version of Media Center.  It is Media Center, but it isn't.

There's a command line switch on Windows to launch it, right? Something like /MediaServer I'm guessing?

EDIT: Yep, there is. I'll do some experimenting on macOS and see if I can get anything.
Title: Re: Media Server load at startup
Post by: Awesome Donkey on March 18, 2017, 11:10:01 am
Found a workaround solution.

Open System Preferences > Users & Groups > select the Login Items tab and right next to Media Center 22 check the Hide box.

Now, MC is still running at startup, but it's running minimized in the dock. This seems to be a viable solution as the MC GUI won't appear at startup and Media Server is indeed running (while MC it's running in the dock hidden/minimized). This is likely as good as it can get in this case and it likely can be done this way programmatically, perhaps (for the Media Server alone option)? However to do this correctly (and not have MC running in the dock at startup), a Media Server 22 executable might be needed within /Applications/Media\ Center\ 22.app/Contents/MacOS/

Also, you can close the running MC from the dock and Media Server will indeed still run.
Title: Re: Media Server load at startup
Post by: carretero on March 18, 2017, 12:44:26 pm
Yes, we can close the running MC from the dock but at every reboot, ..., every day !
Also when MC is running in the dock, MC is running. When i am playing Music from JRemote and i use Media Server zone, then MC UI on Media Server is opened, MC UI is not staying hidden in the dock !
Also it will be fine to have a Media Server app !
(please, excuse me for my english, i am a french man !)
 
Title: Re: Media Server load at startup
Post by: Awesome Donkey on March 24, 2017, 04:17:56 pm
Try 22.0.88, as there's a fix for this issue.

http://yabb.jriver.com/interact/index.php/topic,109971.0.html
Title: Re: Media Server load at startup
Post by: marko on March 24, 2017, 07:39:20 pm
hmf. Is this what broke the Windows one?

It's supposed to be "when Windows starts, launch Media Server"

So, if Windows is started, Media server only is launched, which is good and proper.
close MC, close Media Server, click the shortcut to launch MC, and what, no MC? No, because it only launched the server.

I tend to only be in this situation when troubleshooting or testing, as for me, server runs with Windows launch, and never normally turns off. Feels a bit on the odd side when you bump into it though.