Posts: 4
Threads: 1
Joined: Feb 2020
Reputation:
0
I have created a basic metadata set for the eBook version of Bruce Dix's Parking Lot Pickers book. Neither the Windows 10 nor Android versions of MS Pro can use the file, failing with "Not title column" error. I did find through the forum that the Android version won't recognize commas as field separators so I changed to semi-colons...no joy. Here are the first few records, including the column heading line:
Title;Artists;Albums;Audio files;Pages;Collections;;
Table of Contents;;Dix Bruce Parking Lot Pickers;;2;Songbooks;;
All the Good Times;;Dix Bruce Parking Lot Pickers;1-01 All The Good Times.mp3;10;Songbooks;;
Amazing Grace;;Dix Bruce Parking Lot Pickers;1-02 Amazing Grace.mp3;11;Songbooks;;
Angel Band;;Dix Bruce Parking Lot Pickers;1-03 Angel Band.mp3;12;Songbooks;;
Can anyone help me on this?
Thanks,
Joe
Posts: 13,398
Threads: 302
Joined: Apr 2012
Reputation:
238
02-24-2020, 03:17 AM
(This post was last modified: 02-24-2020, 03:29 AM by Zubersoft.)
All of the fields in the first line should be lower case. The code is not doing a case-insensitive search at the moment. You also don't need the double ;; at the end of each line. Try that and let me know if it fixes the issue. I'll update the code for the next update so that it performs case insensitive comparisons.
Mike
Posts: 13,398
Threads: 302
Joined: Apr 2012
Reputation:
238
Yes, you'll need to list the complete path to the file. Relative paths aren't supported at the moment.
Mike
Posts: 13,398
Threads: 302
Joined: Apr 2012
Reputation:
238
You are correct itsme - I force all the words to lower case before performing comparisons. So I'm not sure what the problem was then...
Mike
Posts: 13,398
Threads: 302
Joined: Apr 2012
Reputation:
238
The Windows 10 version has limitations due to file permissions. Windows will not let my app access any file that is outside the storage location unless the user has first selected that file. This means that if you are importing a CSV file that is outside your storage location, MobileSheets can't access those audio files. So I would advise importing your csv file from inside the storage location if you need to link audio files.
Android should definitely work though. The second path you listed is incorrect: /storage/AAS5B-15E8/Music Documents/Dix Bruce Parking Lot Pickers\1-02 Amazing Grace.mp3
You have to use all forward slashes on Android.
Mike
Posts: 13,398
Threads: 302
Joined: Apr 2012
Reputation:
238
I just updated the code to support relative paths and verified audio files linked through the CSV work on both Android and Windows 10. I also updated the Windows 10 version to no longer require the PDF to be selected separately if the CSV is inside the storage location (as MobileSheets will then have permission to access the PDF directly).
Mike
Posts: 1,880
Threads: 290
Joined: Sep 2014
Reputation:
32
Very helpful. Thank you.
Only relative paths can work on both Android and Win10. Absolute paths can never be identical on both OS'es.
Having to select the PDF separately on Win10 was always a bit annoying. Not a big thing, but great that we got rid of it.