Is it possible add converted files counter to web api?
This tool is perfect to show how important converter is.
Converted files counter
Re: Converted files counter
You mean webinterface or really API?
Also, you mean some kind of overall counter, that counts up forever, correct?
One problem with that is that it is more or less impossible to find out the number of coverted files - started with the fact that a job does not have to actually process any file (e.g. delete jobs).
One way that i see is that you insert a corresponding batch at start or end of your workflow which takes a number from a local text file, counts it up and stores the new number back to the text file...
Also, you mean some kind of overall counter, that counts up forever, correct?
One problem with that is that it is more or less impossible to find out the number of coverted files - started with the fact that a job does not have to actually process any file (e.g. delete jobs).
One way that i see is that you insert a corresponding batch at start or end of your workflow which takes a number from a local text file, counts it up and stores the new number back to the text file...
emcodem, wrapping since 2009 you got the rhyme?
Re: Converted files counter
Hi PoznanskaPyra,
You must realise that although FFAStrans is perfect for converting video files, it's a workflow tool and have no clue actually about what is going on any given job. It just executes a bunch of actions the user has put into a workflow. One of those things MIGHT be conversion but it can be litteraly "anything". So there is nothing in FFAStrans to suggest it can count conversions as such. One COULD implement a feature for counting the number of times a specific node or a node type has been executed but I think this is probably not what you want.
So basically, what emcodem suggest to put the counting in the workflow is currently the way to go.
-steinar
You must realise that although FFAStrans is perfect for converting video files, it's a workflow tool and have no clue actually about what is going on any given job. It just executes a bunch of actions the user has put into a workflow. One of those things MIGHT be conversion but it can be litteraly "anything". So there is nothing in FFAStrans to suggest it can count conversions as such. One COULD implement a feature for counting the number of times a specific node or a node type has been executed but I think this is probably not what you want.
So basically, what emcodem suggest to put the counting in the workflow is currently the way to go.
-steinar
-
- Posts: 7
- Joined: Mon Jan 04, 2021 3:02 pm
Re: Converted files counter
Maybe ended jobs counter is better idea?
Re: Converted files counter
Well it's a similar problem: One Job can split up into many subjobs... so what do you want to count, each job or all subjobs?
Whats the difference between the existing counters on the webinterface and what you want to do? ...is it that your number counts up forever?
Whats the difference between the existing counters on the webinterface and what you want to do? ...is it that your number counts up forever?
emcodem, wrapping since 2009 you got the rhyme?