[LAU] Calculating total play time

Alf Haakon Lund alf at mellomrommet.no
Wed Feb 4 20:56:22 UTC 2015


On 03. feb. 2015 23:31, Janina Sajka wrote:
> Hi,
>
> I need to calculate the total playing time of the audio files in a
> particular folder. These are variously encoded--flac, ogg, and even some
> mp3.
>
> Anyone know how to do this, preferably from the cli? Or, perhaps one of
> the music player apps can provide this datum for a folder?

You could use gmusicbrowser to achieve this the GUI way, and probably 
clementine too - but it seems the soxi solution offered in Eric Wong's 
post is a lot more elegant.

Alf


More information about the Linux-audio-user mailing list