fsktom / rusty-endsong-parser

Better, more performant version of https://github.com/fsktom/endsong-parser-python written in Rust
0 stars 0 forks source link

Print time played alongside plays #71

Open fsktom opened 1 year ago

fsktom commented 1 year ago
>>> print artist
Artist name?
  >> Wizardthrone
Wizardthrone | 103 plays
    Frozen Winds Of Thyraxia | 67 plays
        Frozen Winds Of Thyraxia | 67 plays
    Forbidden Equations Deep Within The Epimethean Wasteland | 27 plays
        Forbidden Equations Deep Within The Epimethean Wasteland | 27 plays
    Hypercube Necrodimensions | 9 plays
        Hypercube Necrodimensions | 2 plays
        Beyond The Wizardthrone (Cryptopharmalogical Revelations Of The Riemann Zeta Function) | 1 plays
        Black Hole Quantum Thermodynamics | 1 plays
        Forbidden Equations Deep Within The Epimethean Wasteland | 1 plays
        Frozen Winds Of Thyraxia | 1 plays
        Incantation Of The Red Order | 1 plays
        Of Tesseractual Gateways And The Grand Duplicity Of Xhul | 1 plays
        The Coalescence Of Nine Stars In The System Once Known As Markarian-231 | 1 plays

make it also show the time played alongside the plays

fsktom commented 1 year ago

See also #67 (scaling of Durations, when (and if) to use minutes/hours/days... automatically)

Also issue is here that pirnt doesn't take &[SongEntry], but the results ofgather` functions