Converted files counter

Use this forum to request features. Maybe you'll get lucky!
Post Reply
PoznanskaPyra
Posts: 7
Joined: Mon Jan 04, 2021 3:02 pm

Converted files counter

Post by PoznanskaPyra »

Is it possible add converted files counter to web api?
This tool is perfect to show how important converter is.
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Converted files counter

Post by emcodem »

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...
emcodem, wrapping since 2009 you got the rhyme?
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Converted files counter

Post by admin »

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
PoznanskaPyra
Posts: 7
Joined: Mon Jan 04, 2021 3:02 pm

Re: Converted files counter

Post by PoznanskaPyra »

Maybe ended jobs counter is better idea?
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Converted files counter

Post by emcodem »

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?
emcodem, wrapping since 2009 you got the rhyme?
Post Reply