Adam_Kearn 1 Posted October 22, 2020 Share Posted October 22, 2020 Hey, I'm not really sure where to post this as will this covers all emby server editions. I'm not that botherd having to manualy update my emby server but it would be nice if on the dashboard there was a single button labled "Check for Updates" that would pull the latest release from github and automatlicly shutdown emby and install. I know this can be done with a simple batch script. But it would make things a lot cleaner. You can use CURL to poll for the latest release by doing. curl -Ls -w %{url_effective} -o /dev/null https://github.com/MediaBrowser/Emby.Releases/releases/latest This will return the latest release. I don't mind making my own batch/bash script to do this but it just would be more user friendly if something was implemented into the dashboard. You have proberly had this requested multiple of times in the past and Its proberly not on your prioity list which is understandable. I've attached a screenshot with a simple mockup of what it could look like. Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted October 22, 2020 Share Posted October 22, 2020 But there is a hidden Scheduled task that already does this, you can see and adjust in the api (link at the bottom of the dashboard). Application/plugins update runs at startup and every 24 hours. Seeing mixed results on interval but this was from a new portable install. { "Name": "Check for application updates", "State": "Idle", "Id": "1cc2f60a05befec8b1532ac44630a00f", "LastExecutionResult": { "StartTimeUtc": "2020-10-22T19:22:16.4787222Z", "EndTimeUtc": "2020-10-22T19:22:18.1232503Z", "Status": "Completed", "Name": "Check for application updates", "Key": "SystemUpdateTask", "Id": "1cc2f60a05befec8b1532ac44630a00f" }, "Triggers": [ { "Type": "StartupTrigger" }, { "Type": "IntervalTrigger", "IntervalTicks": 864000000000 } ], "Description": "Downloads and installs application updates.", "Category": "Application", "IsHidden": true, "Key": "SystemUpdateTask" }, { "Name": "Check for plugin updates", "State": "Idle", "Id": "c27fda37dfb6e39be141191aaa1c3060", "LastExecutionResult": { "StartTimeUtc": "2020-10-22T19:22:16.4509575Z", "EndTimeUtc": "2020-10-22T19:22:17.5685816Z", "Status": "Completed", "Name": "Check for plugin updates", "Key": "PluginUpdates", "Id": "c27fda37dfb6e39be141191aaa1c3060" }, "Triggers": [ { "Type": "StartupTrigger" }, { "Type": "IntervalTrigger", "IntervalTicks": 864000000000 } ], "Description": "Downloads and installs updates for plugins that are configured to update automatically.", "Category": "Application", "IsHidden": true, "Key": "PluginUpdates" } So is there really a need for a on demand button? Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted October 22, 2020 Share Posted October 22, 2020 i mean, you get the update available notification when there's an update available, on the release branch. not sure about the actual functional need here. if you're dying to try the most recent nightly, then chances are you're going to script it anyway. Link to comment Share on other sites More sharing options...
Luke 37064 Posted October 22, 2020 Share Posted October 22, 2020 Yes it already checks automatically a couple times per day. Link to comment Share on other sites More sharing options...
Adam_Kearn 1 Posted October 22, 2020 Author Share Posted October 22, 2020 (edited) I like to stay on the stable channel. I have a webhook that lets me know if there is an update available. I have to install the update manually every time. Edited October 22, 2020 by Adam_Kearn Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now