This commit is contained in:
Victor Shcherb 2015-06-01 01:18:23 +02:00
parent 95f8644db6
commit 7b43ee0832

View file

@ -992,7 +992,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
Recording r = new Recording(f);
String encodeName = f.getName();
int i = encodeName.lastIndexOf('_');
if (i > 0 && i < 8) {
if (i >= 8) {
encodeName = encodeName.substring(i + 1);
}
i = encodeName.indexOf('.');