Skip to content

Latest commit

 

History

History
81 lines (65 loc) · 4.39 KB

ideas.md

File metadata and controls

81 lines (65 loc) · 4.39 KB

Ideas

Plausible

Comparisons

Instead of having separate struts for Songs without Album and Songs with Album, have one and just add a method that would compare with album and another that would compare without album.

Traits, associated functions etc

Inspiration video

implement find() for Vec<SongEntry>

so that you can do entries.find().artist("Sabaton") or entries.find().song("The Final Solution", "Coat of Arms", "Sabaton")

maybe also entries.print_top(Aspect::Songs, 10) instead of the current display::print_top(&entries, Aspect::Songs, 10)?

=> implemented!

Example endsong.json

Strip your endsong.json file of private information and shorten it a bit to make an example endsong.json file to be used by people wanting to try this out

Ignore entries below a certain threshold of listening time

An option where you set a perctange. E.g. if you played a song for less than 30% of its entire length, this listen is ignored.

Where it would take the max song length from? Go through all these song entries and see which one has got the highest ms_played.

Problem: it would need to go through all songs for maximum ms_played and then again to select which ones should be ignored (performance impact?)

Pure Theory