Author Topic: [Done, thank you Steven] Please make the size column use the "appropriate" units  (Read 3525 times)

MeeMeeMee

  • Full Member
  • ***
  • Posts: 235
Maybe this could be considered as a bug? MB didn't behave as I'd expect it to.
So I'm not sure I'm posting this in the right place, soz.

The size displayed (in the size column) seems to always be displayed in MB. I have some tiny tracks that are ~10K which gets displayed as 0MB, which conveys no information what so ever.
Especially when I needed that information to distinguish between corrupt files imported (that were ~700bypes in size) and all other stuff. I ended up with a bunch of tracks all the size of 0MB and I had to go over them one by one.

Please make the size display's units auto-adjust according to the actual file size (MB, KB, B).
(Here's where it all started: http://getmusicbee.com/forum/index.php?topic=9140.msg53584#msg53584)
Last Edit: March 24, 2013, 07:09:36 PM by MeeMeeMee
MusicBee 3.5.8516 / Windows 10 (64-bit) / Intel i5-3470 / 8GB RAM
Media on NAS (CIFS share)
20K+ tracks, predominantly FLAC ; converted to mp3 (lame -V 0) when synced to a Cowon D2+
________________________________________________________________________________________________
Get the latest patch: https://getmusicbee.com/patches/

Zak

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 2463
Maybe this could be considered as a bug? MB didn't behave as I'd expect it to.
So I'm not sure I'm posting this in the right place, soz.
A bug is when a program doesn't behave as the programmer intended it to, not as the user expected it to.

But what you have requested is a new feature, so it's in the right place anyway. :P
Bee excellent to each other...

MeeMeeMee

  • Full Member
  • ***
  • Posts: 235
A bug is when a program doesn't behave as the programmer intended it to, not as the user expected it to.
Agreed, but I it just might be considered an oversight, and therefore a bug.
Whichever way, I hope it'll be addressed.
MusicBee 3.5.8516 / Windows 10 (64-bit) / Intel i5-3470 / 8GB RAM
Media on NAS (CIFS share)
20K+ tracks, predominantly FLAC ; converted to mp3 (lame -V 0) when synced to a Cowon D2+
________________________________________________________________________________________________
Get the latest patch: https://getmusicbee.com/patches/

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34369

MeeMeeMee

  • Full Member
  • ***
  • Posts: 235
changed to K when <1MB file - not tested but should work
Sorry, Steven, but it doesn't seem to work. It does something, but the result still isn't as expected.
Some examples:
A FLAC track of 607 KB (621,806 bytes) has a displayed size of 6K.
Another wma file of 26.2 KB (26,898 bytes) has a displayed size of 0K.
Some other track of 917 KB (939,840 bytes) has a displayed size of 9K.

I tried it with v2.1.4827, cleared out my library so that it'll rescan files. Otherwise the displayed sizes stayed zeros. You store file sizes in the DB?
Last Edit: March 22, 2013, 06:17:45 PM by MeeMeeMee
MusicBee 3.5.8516 / Windows 10 (64-bit) / Intel i5-3470 / 8GB RAM
Media on NAS (CIFS share)
20K+ tracks, predominantly FLAC ; converted to mp3 (lame -V 0) when synced to a Cowon D2+
________________________________________________________________________________________________
Get the latest patch: https://getmusicbee.com/patches/

MeeMeeMee

  • Full Member
  • ***
  • Posts: 235
OK, it works now with v2.1.4831.
The funny thing is MB is doing a better job at this than Windows Explorer, which rounds up file sizes: 23.3KB is displayed as 24KB while in MB it's shown as 23.
When files are sorted by size both by MB and Windows Explorer the file order is the same (that, when multiple files are shown to have the same size - 23KB).
MusicBee 3.5.8516 / Windows 10 (64-bit) / Intel i5-3470 / 8GB RAM
Media on NAS (CIFS share)
20K+ tracks, predominantly FLAC ; converted to mp3 (lame -V 0) when synced to a Cowon D2+
________________________________________________________________________________________________
Get the latest patch: https://getmusicbee.com/patches/