BillOatman 500 Posted March 17 Share Posted March 17 I have C# code that runs the RefreshGuide scheduled task, then waits for it to complete by making this call every 5 seconds until it sees a Idle status. Quote http://{host}:{port}/emby/ScheduledTasks/{id}?api_key={key} that I deserialize into this class public class Root { public string Name { get; set; } public string State { get; set; } public double CurrentProgressPercentage { get; set; } public string Id { get; set; } public LastExecutionResult LastExecutionResult { get; set; } public List<object> Triggers { get; set; } public string Description { get; set; } public string Category { get; set; } public bool IsHidden { get; set; } public string Key { get; set; } } butĀ CurrentProgressPercentage always seems to be at 15% from the start until it finishes. I have noticed that the server dashboard also seems to always be at that percentage as well, probably due to this. Link to comment Share on other sites More sharing options...
Solution Luke 37066 Posted March 18 Solution Share Posted March 18 Hi, yes that task probably just needs to update the % more frequently. Thanks. 1 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