Fix Search & Stats for video files
Sindre,
Adding video support was like opening a can of worms. I found a few little things that need to be changed because of video support.
#1 The search doesn't support video's very well. The movies, show up under the "songs" breakdown. Maybe add a "Videos" section (based on the video masks defined).
#2 The Artist/Album/Song stats should separated out videos. I'm showing 1799.56 GB (~ 27,955 hours) after the search index rebuilt because it's counting the size of the videos too.
Maybe show a separate size and count for videos:
13,890 artists
8,588 albums
113,351 songs (596.56 GB)
1001 videos (3012.33 GB)
I always felt the "guess" on the total hours was just that, a guess and can't possibly be accurate with variable bit-rates. Just a suggestion to remove that statistic while you are updating that code.
Everything else seems good! Thanks so much!
Adding video support was like opening a can of worms. I found a few little things that need to be changed because of video support.
#1 The search doesn't support video's very well. The movies, show up under the "songs" breakdown. Maybe add a "Videos" section (based on the video masks defined).
#2 The Artist/Album/Song stats should separated out videos. I'm showing 1799.56 GB (~ 27,955 hours) after the search index rebuilt because it's counting the size of the videos too.
Maybe show a separate size and count for videos:
13,890 artists
8,588 albums
113,351 songs (596.56 GB)
1001 videos (3012.33 GB)
I always felt the "guess" on the total hours was just that, a guess and can't possibly be accurate with variable bit-rates. Just a suggestion to remove that statistic while you are updating that code.
Everything else seems good! Thanks so much!