BillOatman 596 Posted March 17, 2024 Posted March 17, 2024 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.
Solution Luke 42077 Posted March 18, 2024 Solution Posted March 18, 2024 Hi, yes that task probably just needs to update the % more frequently. Thanks. 1
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