• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
subdirectories and file names
#1
Hi!
I'd like to know if there's any option I'm not seeing that allows me to organize the imported files in subdirectories, just as I'd do in my file explorer. Just like in the image https://ibb.co/MM2kYp5 .
Experimenting with this, I've noticed that you can't batch import from folders that are inside the Mobilsheets storage folder. I can do it file by file, but not on bath import.

I've also noticed that if I change the name of the file, Mobilesheets will lose track of it and I'll have to import it again.

This two things are important to me, as I want to have all my scores well organized both inside and outside the app, without it requiring me to duplicate every file and consuming double storage space in my unit.

I hope this helps someone else, and sorry if this has already been commented or is on the to do list!


Attached Files Thumbnail(s)
   
Reply
#2
Hi!
Is there any way to create subfolders in the main storage folder to organize my scores, as I've done until now with the file explorer? (see image below). It is important to me having my scores organized without having to duplicate every file, using double storage space.
Experimenting with this, I've noticed that you can't batch import from folders inside the main Mobilesheets storage folder. The appear like empty. You can do it by single files btw.

I've also noticed that if you change the file name with the file explorer, the app will lose track of that file and you'll have to import it again. And I've not see how to change the file name from the app.

If there's any way to do this, please tell. Thank you!


Attached Files Thumbnail(s)
   
Reply
#3
If you import your files from within the storage location, then the folder structure will be maintained and you can manage your own files/folders. Batch importing from inside the storage location absolutely works, but Microsoft's file browser (which I'm required to use for local file selection) will only show folders when the user is selecting folders. It won't show both files and folders when prompting the user to select a folder. So that's not a bug - it's just how Microsoft chose to implement their folder selection dialog. Go ahead and select a folder for the batch import from within the storage location and you will see that it imports all the files and they won't be moved.

You cannot rename files outside MobileSheets without breaking the link to those files and I don't currently have a rename option in the app itself (I will add that at some point). If you want to rename a file, you can go ahead and do so, then go to the song, long press or right click it to select it, tap the three dots at the top right then Swap File, and select the renamed file. That should update the database to point to the new file name. 

Mike
Reply
#4
well... it is not working for me. Here you have a video showing it. (attachment not working so here is a GDrive link https://drive.google.com/file/d/1UOyELe3...sp=sharing )
I forgot to record that the storage directory is the one where all the other folders are, as you can see because the .json and .xml files are there.
Reply
#5
Can you please verify that the file filter is set to *.*, and not "."? The recording makes it very hard to tell, but I want to be sure the file filter isn't causing files to be ignored. I just tested this myself using C:\MobileSheets as my folder and it worked fine.

Thanks,
Mike
Reply
#6
checked. it was ".", but when I change it to *.* it keeps doing the same.
Reply
#7
Try clearing the file filter entirely and import again. That should default it to include all files. I tested importing from all sorts of different directories, and cannot reproduce the problem you are seeing. If you try batch importing a single file from a simple path like C:\Test, does that work? I want to rule out an issue specific to that folder you are selecting.

Thanks,
Mike
Reply
#8
Well... I've kept testing, and it seems that when I batch import, it only reads the folders inside the main folder. Folders within those folders are not read, and if I select those child folders, files are neither read.
So:

MainFolder/folder/PDF will work
but
MainFolder/Folder/childFolder/PDF won't work
Reply
#9
I just specified C:\MobileSheets as my storage location, then created this path:

C:\MobileSheets\Folder1\Folder2\Folder3

I dropped one PDF in Folder3, and then batch imported C:\MobileSheets. It successfully pulled in that file without issue. So that appears to be working for me. If you want to create a small sample of your files/folders for me to test with, zip that up and share it with mike@zubersoft.com, I'm happy to test with that to see if it makes any difference on my machine.

Thanks,
Mike
Reply
#10
I've solved it! I had the exact same issue. My MobileSheets folder was on my Desktop and MobileSheet didn't see files 2 subdirectories deep. Moving the MobileSheets folder to C: (C:/Noten), MobileSheets grabbed every pdf just fine. Hope that helps anyone stumbling to this and maybe a warning can be baked in MobileSheets, as this was a pretty gamebreaking bug to me and I didn't find any solution online.
Reply
#11
That's really interesting - it sounds like maybe something in Windows is interfering with MobileSheets ability to access certain files and folders. I know other users that have had issues were using cloud applications like Dropbox's app that synchronizes folders. This can cause permission issues with MobileSheets as the Dropbox app can randomly block access to certain files/folders.

Mike
Reply
#12
I use a folder/subfolder structure all the time and it works just fine. Song files and folders are synced via GoogleDrive between several windows machines and synced via FolderSync to an Android tablet without problems. MSP databases are copied manually. I don't use batch import.

There are just two open issues:
1.) MSPs backup/restore feature doesn't restore the file paths when restoring on a windows device, see
https://zubersoft.com/mobilesheets/forum...p?tid=8767
So if you use Win10 take care to backup your folder structure and MSPs LocalState folder (that contains the MSP database(s) and various setting files) yourself instead of using MSPs backup/restore mechanism.
My thread mentioned above also shows an example of my folder structure.

2.) Stored user filters (d:\HerbertsGoogleDrive\_MobileSheets\user_filters.xml in my case) are lost every now and then, user_filters.xml is replaced with a probably newly created empty file. By now I was not able to reproduce it reliably. Any idea what could be the case is very welcome. I can easily copy the file from a backup so it's not a serious problem, nevertheless it's annoying.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 21H1
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#13
Could this be caused by the length of the files name/path?

Pre win 10, the maximum file name length is 260 chars (note 260 includes the file path)
For win 10/11, the maximum length can be 32767 ish but you have to opt in to this increased length by changing the registry
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "LongPathsEnabled"=dword:00000001
(see Maximum Path Length Limitation - Win32 apps | Microsoft Docs) for more details

I know in the past that I have had issues (not MSP related) with long names and have fixed it by removing a couple of directories from the path.

Geoff
Samsung Galaxy Tab A6
Reply
#14
(07-27-2022, 05:23 PM)Geoff Bacon Wrote: Could this be caused by the length of the files name/path?

Pre win 10, the maximum file name length is 260 chars (note 260 includes the file path)
For win 10/11, the maximum length can be 32767 ish but you have to opt in to this increased length by changing the registry
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "LongPathsEnabled"=dword:00000001
(see Maximum Path Length Limitation - Win32 apps | Microsoft Docs) for more details

I know in the past that I have had issues (not MSP related) with long names and have fixed it by removing a couple of directories from the path.

Geoff

Hey Geoff

My full file path was 74 characters, so under 260.

 Mike, if you need me to test anything I'd be happy to help.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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