Fix
This commit is contained in:
parent
95f8644db6
commit
7b43ee0832
1 changed files with 1 additions and 1 deletions
|
@ -992,7 +992,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
||||||
Recording r = new Recording(f);
|
Recording r = new Recording(f);
|
||||||
String encodeName = f.getName();
|
String encodeName = f.getName();
|
||||||
int i = encodeName.lastIndexOf('_');
|
int i = encodeName.lastIndexOf('_');
|
||||||
if (i > 0 && i < 8) {
|
if (i >= 8) {
|
||||||
encodeName = encodeName.substring(i + 1);
|
encodeName = encodeName.substring(i + 1);
|
||||||
}
|
}
|
||||||
i = encodeName.indexOf('.');
|
i = encodeName.indexOf('.');
|
||||||
|
|
Loading…
Reference in a new issue