• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ABC files and storage settings V3.9.3
#4
(10-19-2024, 03:31 AM)Zubersoft Wrote: Yes, the same code is used for processing imported files regardless of their file type (at least in terms of handling the copying of files). So .abc files are handled in the same way as a .pdf file. I can't really speak to what you were seeing, as I don't have every piece of information I would need to draw a conclusion. The only time MobileSheets will force a copy of a file is if it resides in a "cache" folder (which can happen when importing files through other apps).

You said you imported from the "Files" directory. I don't know which directory you are referring to. Do you mean /storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files, or some other folder named Files? 

As far as transposing ABC, this was discussed in this forum post: https://www.zubersoft.com/mobilesheets/f...l#pid51491

You have to use %%transpose 1, for example. I haven't decided yet how I want to handle transposing of abc files in MobileSheets, as I don't currently have a place in the database to store the transposition information, and I don't want to have to allocate all the same data as I would for a text/chord pro file just for the one or two fields I would need. I may set up a new table for this when I'm making other database changes so I can support transposing ABC files in MobileSheets itself (which will probably just dynamically insert the transpose statement into the ABC file contents).

Mike

Hi Mike,
sorry, it was getting late...
Yes, the "Files" directory is the one you mentioned:
/storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files 

Actually, Windows reports this location as:
This PC\Tab X\Internal shared storage\Android\data\com.zubersoft.mobilesheetspro\files
but I am assuming that the /storage/emulated/0 part is being hidden but for clarity I'll use it instead of the This PC\Tab X\Internal shared storage\  section for this description.
The file explorer in My Boox TabX reports the folder as:
/storage/Android/data/com.zubersoft.mobilesheetspro/files  - Note the missing: emulated/0/

The "Test" directory is:
/storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files/Test 

The library is also called "Test" with a database named "test.db" in the  /storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files directory

The /storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files/Test directory contains several files which were copied there using Windows file explorer - the same way I copy over PDFs -  but we'll use Test.abc as an example.
  1. Starting conditions: The Test library is empty except for a collection called "Test collection"
  2. In Settings | Storage "Let Mobile Sheets Manage My Files" is UNchecked however "Create Subdirectories For Songs", while greyed out, is checked.*
  3. Import "Test.abc" from  /storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files/Test into the collection
  4. Duplicate file behaviour is set to "Ignore Duplicate Files"
  5. New song appears in the library associated with "Test collection".
  6. I now have a directory called:  /storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files/Test that contains a copy of "Test.abc"
  7. When I delete the song  /storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files/Test disappears as one would expect.

If I repeat the above with Storage settings manipulated to remove the greyed out check in "Create Subdirectories For Songs" then "Test.abc" is copied into  /storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files/ 

This is not how PDF imports behave.  To be certain, I checked a PDF import in case V3.9.3 had an accidental change to the behaviour I am used to.

I will investigate the transposition stuff shortly - I'm still playing really as I've never used ABC files before.


* These are my default settings and behave correctly for PDFs
You're only paranoid if you're wrong  Cool
I'm using an Onyx Boox Tab X, and play low brass: mainly 'Bone and Tuba
Reply


Messages In This Thread
ABC files and storage settings V3.9.3 - by Lawrie - 10-18-2024, 10:17 PM
RE: ABC files and storage settings V3.9.3 - by Lawrie - 10-19-2024, 07:55 AM



Users browsing this thread:
2 Guest(s)


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