#Music #Playlist #Duration

app playlist-duration

Computes the total music time of a playlist

7 releases

✓ Uses Rust 2018 edition

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

#44 in Audio

Download history 26/week @ 2019-10-15 47/week @ 2019-10-22 12/week @ 2019-10-29 8/week @ 2019-11-05 10/week @ 2019-11-12 10/week @ 2019-11-19 17/week @ 2019-11-26 15/week @ 2019-12-03 26/week @ 2019-12-10 9/week @ 2019-12-24 2/week @ 2019-12-31 12/week @ 2020-01-07 15/week @ 2020-01-14

66 downloads per month

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

~2.5MB
~61K SLoC