Update AudioVideoNotesPlugin.java
This commit is contained in:
parent
8aff6288ae
commit
fd8402cf18
1 changed files with 2 additions and 2 deletions
|
@ -976,9 +976,9 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
|||
}
|
||||
Recording r = new Recording(f);
|
||||
String encodeName = f.getName();
|
||||
int i = encodeName.indexOf('-');
|
||||
int i = encodeName.lastIndexOf('_');
|
||||
if (i > 0) {
|
||||
encodeName = encodeName.substring(0, i);
|
||||
encodeName = encodeName.substring(i + 1);
|
||||
}
|
||||
i = encodeName.indexOf('.');
|
||||
if (i > 0) {
|
||||
|
|
Loading…
Reference in a new issue