Play count calculation

I’m curious how the play count calculation works. I’ve got a number of songs that I have skipped through so played less than 30 seconds of and these have counted towards that songs play count. Is there a minimum duration of the song that needs to be played for it to be counted as played? Is this customisable if so?

It depends on the media provider so hard to give an exact answer.

But for most it’s tied to the position in the file and not the time you are actually playing the media.