#music #playlist #duration

app playlist-duration

Computes the total music time of a playlist

7 releases

0.1.6 Oct 18, 2019
0.1.5 Oct 17, 2019
0.1.4 Sep 6, 2019
0.1.3 Nov 11, 2018

#101 in Audio

WTFPL license

10KB
230 lines

Playlist-Duration

Computes the length of a given playlist.

$ playlist-duration foo.mp3 bar.flac my_directory/

Format supported:

  • mp3
  • flac
  • ogg (Vorbis + Opus)
  • m3u : Caution, m3u is implemented naively. Recursive m3u playlists should not be used. Also, it manages only paths and not urls, to avoid downloading the whole file just to know its duration.

Dependencies

~3MB
~75K SLoC