• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Size in Select Song dialog
#1
When processing a sync to cloud folder, a dialog "Select Song to Use" may appear to select one of several alternatives. In this dialog, the size of the files is rounded to KB. This makes it hard to use to select alternatives. E.g., two chordpro files of 891 and 896 bytes will both be shown as 1KB.
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#2
I've modified the logic to show bytes if the file is less than a kilobyte.

Thanks,
Mike
Reply
#3
Thanks, but do you have an urgent need to round it down? The difference between a 4724191 byte and a 4724319 byte mp3 file is equally important.
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#4
It was done for readability. I still think there is value in displaying MB as it's just a little easier to read 52 MB versus 52094839. What do you think of me showing both such as 52 MB (52094839 bytes)?

Thanks,
Mike
Reply
#5
I agree that 52MB is more readable than 52094839, but the intention of this particular dialog is to choose between what is likely to be two versions of the same file, so details matter. "Modified: two days ago" is very readable but also quite inaccurate.
How about "52,094,839 bytes"? This also resolves the issue whether MB is 1,000,000 or 1,024,000 or 1,048,576...
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#6
I get this dialog every time I synch to the gdrive folder, updating folder, even though there were no changes made on the tablet.
Any idea?


Attached Files Thumbnail(s)
   
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#7
I'm guessing there is an issue in the database with empty song notes being present, which isn't supposed to be allowed (they should be deleted automatically in that case). There were some bugs in my code with not correctly clearing setlist song notes though (which was fixed several updates ago), so you are probably encountering this due to notes being present in the database that shouldn't be there.
Reply
#8
The setlist is empty.

Table SetlistSongNotes contains one entry for this setlist, for a song that probably once has been a member of the setlist.

I'll clear the table.
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.