• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Information for beta testing library sync feature
More on "sync to cloud folder".

In the (Google Drive) cloud folder, the files are stored under their actual names (e.g. Partituren/MyCollection/mysong.pdf) while the hash file and the database have something similar to 1pFbP0Ic6-GNIkiQ99zqJU1WzxHLNl4Yr/mysong.pdf (let's call this the cryptic name).

When the synch is run again, the 'Merging Song' dialog shows the actual name (left) and the cryptic name (right). Moreover, the file size of the cryptic name is zero, which seems to indicate that the file is not yet there. (See screenshot) When I select "Mine" and 'remember choice', all songs seem to be transferred again to the cloud folder. Their timestamps reflects this. The synch runs at a very slow pace -- the run took almost 5 hours.

Comparing songs is very slow. For songs that are just pages in a single, large PDF, is the PDF downloaded and compared for each song? It gives me the feeling there's something wrong with the hashes file.

In mobilesheets_hashcodes.txt, there are 4 lines of information for each library file. The first line is the cryptic name, the second line contains a number (some sort of a hash?). Lines 3 and 4 both contain a zero for all files. I guess here should have been the file lenght and the modification date?

EDIT: If I fill in the length of the file in the 4th line, the compare succeeds.

May I kidly advise to use a more robust (and extendable) file format? JSON, for example. When you later want to add additional information, with the current format this becomes hard and error prone.
Al least, include a first line similar to "MobileSheetsPro Hash file version 1.0. DO NOT MODIFY!".


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


Messages In This Thread
RE: Information for beta testing library sync feature - by sciurius - 07-15-2018, 04:44 AM



Users browsing this thread:
1 Guest(s)


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