Hi Aki,
I can see one issue in that song 'Suuri Herra oot'. In the author field you have a '&' symbol and this technically isn't allowed in an XML file - it should be replaced by the following escaped version & I'm not sure how the app has allowed this. An easy way to fix this is to open that file in the app, open the song edit window and just click on Save. That will fix this error and hopefully stop the overwriting of the other song.
The app was trying to fix this after indexing and writing it to the wrong song (the last one you had open). I'll need to look at why it did this though. Just open the song in the editor and save it, that will stop the issue happening again.
Sorry for the inconvenience.
--
When responding to a post on the forum using your email, please make sure to click on the 'Reply all' button so that your response is also sent to the forum for other people to see the full conversation.
---
You received this message because you are subscribed to the Google Groups "OpenSongApp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opensongapp...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/opensongapp/3bbd7076-7d02-482b-988a-59a726df7fafn%40googlegroups.com.
If you look at the OpenSong/Settings/fileWriteActivity.txt file, you will see lines that say 'autofix' and it will tell you the files that the app has wrongly replaced. Hopefully not many, but if you have a backup file, you can recover them (the backup file is just a zip file with a different file extension).
The lines will look like this:
LoadSong fixXML writeFileFromString content://com.android.externalstorage.documents/tree/primary%3AOpenSong/document/primary%3AOpenSong%2FSongs%2FTemp%2FChocolate%20Cake_ with: <?xml version="1.0" encoding="UTF-8"?>
<song>
<title>Suuri Herra oot</title>
<author>Sons & Daughters</author>.......
In my example above it replaced a file called Chocolate Cake
I'm on holiday with the family until Monday, so I won't get a fix ready until then. I'm the meantime avoid indexing songs
Gareth
Thanks! I removed & symbol and haven't noticed overrides since.
I imported OnSong file of this song and I remember modifying it afterwards with text editor, because there was strange characters in it. For I remember right ä and ö characters (common in Finnish) wasn't shown correctly. So most probably I left the & symbol there plainly. My bad...
Aki