INTERACT FORUM

More => Old Versions => JRiver Media Center 32 for Windows => Topic started by: gappie on February 07, 2024, 10:18:53 am

Title: Updates on a Server
Post by: gappie on February 07, 2024, 10:18:53 am
i have a small wish. i would like an other option in the update channel (i wished before :) ).
when i wake up i turn on only my computer and music installation on an other floor. then use jremote to startup some music to wake up and drink my coffee. when mc downloads an update it wants to install it after startingup the computer and the startup of the mc server stalls waiting for me to wonder why jremote is not working, climb the stairs etc finding that the computer waits for me to say that it is ok to do the update.
so i always disable the automatic updates (not recommended).
it would be nice if there is an option to let mc just start up and give an notification that there is an update downloaded and ready to install.... yes / maybe later.

thanks
 8)
gab
Title: Re: Updates on a Server
Post by: Matt on February 07, 2024, 11:36:53 am
Hi gappie.  Next build we'll try this:
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it.

Thanks.
Title: Re: Updates on a Server
Post by: zybex on February 07, 2024, 11:56:52 am
Won't that be bad for headless servers? Some people want auto-updates to happen, maybe it should be an option.
Title: Re: Updates on a Server
Post by: Matt on February 07, 2024, 12:04:28 pm
Won't that be bad for headless servers? Some people want auto-updates to happen, maybe it should be an option.

Little revision!
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it (times out and continues in 30 seconds for headless servers).
Title: Re: Updates on a Server
Post by: mattkhan on February 07, 2024, 12:43:12 pm
I have wanted this feature for ages so +1 to that, 30s is not really good to cut it though as that is like that auto import feature which I think you eventually got rid of. I think you either want it immediately or you want to confirm with no timeout.
Title: Re: Updates on a Server
Post by: gappie on February 07, 2024, 01:59:18 pm
Hi gappie.  Next build we'll try this:
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it.

Thanks.
Thank you very much!
Hi gappie.  Next build we'll try this:
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it.

Thanks.
but that would take the whole purpose away. im like a headless server in the morning and would like the change  ;D
I have wanted this feature for ages so +1 to that, 30s is not really good to cut it though as that is like that auto import feature which I think you eventually got rid of. I think you either want it immediately or you want to confirm with no timeout.
exactly, and ofcource i know im old school, i turn off my computers at the end of the day. a boomer thing someone told me recently. ;D

thanks
 8)
gab
Title: Re: Updates on a Server
Post by: Matt on February 07, 2024, 02:34:07 pm
I made it continue if you let it timeout.  This way it will work the same except for the delay.
Title: Re: Updates on a Server
Post by: gappie on February 07, 2024, 02:48:14 pm
I made it continue if you let it timeout.  This way it will work the same except for the delay.
but why, who cares for the 30 seconds time out. not the headless server people nor me, or as i understand, mattkahn.
when it would stop the update after the timeout (or set the timeout in the hours range).. that would be solving the problem

 8)
gab
Title: Re: Updates on a Server
Post by: Matt on February 07, 2024, 02:50:35 pm
Want timeout to not update?
Title: Re: Updates on a Server
Post by: JimH on February 07, 2024, 02:59:18 pm
Maybe a 10 second timeout would be reasonable?
Title: Re: Updates on a Server
Post by: Matt on February 07, 2024, 03:00:12 pm
Maybe a 10 second timeout would be reasonable?

And what answer on timeout?
Title: Re: Updates on a Server
Post by: gappie on February 07, 2024, 03:05:06 pm
Want timeout to not update?
yes? so i can update when im behind the machine and can say yes when asked. and jremote keeps working. but that would not help the headless server people, are there any around to say something, because i think the way i use it is as a headless server.
for instance reaper audio, the other software i use a lot (and which does not have a server to start up) always tells that there is an update and asks if i want to download and install the update. and i do that when it does not break the work (in case of mc, morning) flow. i do it when i find it convenient.

hope that cleares it up a bit, what i want to say.
  :P
gab
Title: Re: Updates on a Server
Post by: Matt on February 07, 2024, 03:07:24 pm
Alright, next build:
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it (times out and cancels in 30 seconds for headless servers).
Title: Re: Updates on a Server
Post by: Matt on February 07, 2024, 03:09:14 pm
We can make it an option if it's enough of a sticking point.  Hopefully it won't be.
Title: Re: Updates on a Server
Post by: gappie on February 07, 2024, 03:13:02 pm
sounds great to me Matt. lets see
thanks a lot.
 8)
gab

PS: i enabled the automatic update in anticipation.  ;D
Title: Re: Updates on a Server
Post by: DJLegba on February 07, 2024, 03:27:47 pm
Doesn't the timeout just make headless servers operate as if "Disable automatic updates" is always selected? Seems like that option is already available just by selecting "Disable automatic updates".
Title: Re: Updates on a Server
Post by: gappie on February 07, 2024, 03:46:15 pm
Doesn't the timeout just make headless servers operate as if "Disable automatic updates" is always selected? Seems like that option is already available just by selecting "Disable automatic updates".
yes it would. just no time out and an notification would be ideal, and that is what the first post of this new thread is about.
 8)
peace
gab
Title: Re: Updates on a Server
Post by: Awesome Donkey on February 07, 2024, 04:28:18 pm
We can make it an option if it's enough of a sticking point.  Hopefully it won't be.

It probably will be once it's in a public build, to someone at least. :P

Personally if I'm honest I kinda wish MC could self-update itself completely without any user intervention. Yeah, I know on Windows it prompts for UAC, but there's ways to work around that and there are times I kinda wish it'd just automatically update itself at certain times (e.g. 2AM or something) without any user intervention at all.

The only downside to that is MC would start in the foreground and I like to keep my MC server minimized into the taskbar. Yeah, using Media Server would workaround this, but I want the full MC window up and running, just minimized to the taskbar on start. But that's a whole different thing altogether.
Title: Re: Updates on a Server
Post by: JimH on February 08, 2024, 12:50:45 am
It probably will be once it's in a public build, to someone at least. :P

Personally if I'm honest I kinda wish MC could self-update itself completely without any user intervention. Yeah, I know on Windows it prompts for UAC, but there's ways to work around that and there are times I kinda wish it'd just automatically update itself at certain times (e.g. 2AM or something) without any user intervention at all.
I was thinking the same thing.  Just update. 
Title: Re: Updates on a Server
Post by: gappie on February 08, 2024, 01:16:31 am
I was thinking the same thing.  Just update.
i will not turn of the uac when not neccesary, now i have the automatic update turned of (not recommended), because it not update automatically, it just stalls until im at the machine again, and when it would update automatically i would not know, and i really think it is nice when one gets a notification that there is a new version of the software installed or about to install, so one can check out what changed and how that could help or influences the way i use it.

 8)
gab
Title: Re: Updates on a Server
Post by: Awesome Donkey on February 08, 2024, 06:55:50 am
You don't need to disable UAC. There's ways to update apps without UAC prompts that some other apps do, e.g. allowing installs in the %APPDATA% (user profile) directory like apps like Chrome do, having an elevated process running in the background at startup which handles auto updates without UAC prompts, etc.
Title: Re: Updates on a Server
Post by: zybex on February 08, 2024, 09:08:32 am
MC installs a service which runs as System; it can be used to start the installer with elevated permissions, bypassing UAC. Only the first-time install would need to be run as Administrator (or request permission) in order to install that same service.

Sounds like an Auto-Update mode setting is needed. Here's a design proposal for the options:

The Automatic mode should use a Scheduler Task to determine when to check and perform the updates. That way the user can control when they want it to happen.
Title: Re: Updates on a Server
Post by: gappie on February 08, 2024, 09:31:05 am
MC installs a service which runs as System; it can be used to start the installer with elevated permissions, bypassing UAC. Only the first-time install would need to be run as Administrator (or request permission) in order to install that same service.

Sounds like an Auto-Update mode setting is needed. Here's a design proposal for the options:
  • Disabled: no automatic check for updates
  • Ask: show a notification popup with no timeout, with UpdateNow / RemindMeLater(cancel) / SkipThisVersion buttons. Same for a manual check for updates. User must accept or dismiss the popup, but MC is already running in the background.
  • Automatic: show an action-panel notification with 30 second timeout, then install the update. Optionally offer the same options as "ask" (default to UpdateNow after 30 seconds)

The Automatic mode should use a Scheduler Task to determine when to check and perform the updates. That way the user can control when they want it to happen.
That would work for me

 8)
gab
Title: Re: Updates on a Server
Post by: Awesome Donkey on February 08, 2024, 10:54:33 am
MC installs a service which runs as System; it can be used to start the installer with elevated permissions, bypassing UAC. Only the first-time install would need to be run as Administrator (or request permission) in order to install that same service.

Sounds like an Auto-Update mode setting is needed. Here's a design proposal for the options:
  • Disabled: no automatic check for updates
  • Ask: show a notification popup with no timeout, with UpdateNow / RemindMeLater(cancel) / SkipThisVersion buttons. Same for a manual check for updates. User must accept or dismiss the popup, but MC is already running in the background.
  • Automatic: show an action-panel notification with 30 second timeout, then install the update. Optionally offer the same options as "ask" (default to UpdateNow after 30 seconds)

The Automatic mode should use a Scheduler Task to determine when to check and perform the updates. That way the user can control when they want it to happen.


I like the way you think. :D
Title: Re: Updates on a Server
Post by: marko on February 08, 2024, 11:18:16 am
So, our HTPC has no keyboard or mouse, just a remote. One of the keys on that remote causes an immediate reboot which happens very quickly indeed.

The MC client there, is set to startup in theater view. When there's an update sitting, it's auto-installed at launch time. There's no UAC prompt, which, IIRC, could be down to me sliding the setting down one notch.

The reboot and MC update is done in less than 30 seconds. How will this proposal affect us here?
Title: Re: Updates on a Server
Post by: zybex on February 08, 2024, 12:29:45 pm
Setting it to "automatic" would do the same. If a Scheduler task is added you would be able to control the update time.
Title: Re: Updates on a Server
Post by: rec head on February 10, 2024, 07:17:38 am
...
Sounds like an Auto-Update mode setting is needed. Here's a design proposal for the options:
  • Disabled: no automatic check for updates
  • Ask: show a notification popup with no timeout, with UpdateNow / RemindMeLater(cancel) / SkipThisVersion buttons. Same for a manual check for updates. User must accept or dismiss the popup, but MC is already running in the background.
  • Automatic: show an action-panel notification with 30 second timeout, then install the update. Optionally offer the same options as "ask" (default to UpdateNow after 30 seconds)
...

I asked about this years ago but probably didn't have as good as a solution as this in mind. To solve the OP's problem I turn off auto-update and do it manually .
Title: Re: Updates on a Server
Post by: Matt on February 10, 2024, 08:33:19 am
The build we just posted can optionally ask for confirmation before installing.  Thanks for the help.