Track export name: first UUID, name and extension (<First 32bits UUID>_<track's name>.<extension>). Fixes #512.

This commit is contained in:
Román Martínez
2021-03-13 14:10:22 +01:00
parent 503cba1315
commit bd48944ad5
4 changed files with 114 additions and 37 deletions
@@ -109,6 +109,19 @@ public class Track {
this.trackStatistics = trackStatistics;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Track track = (Track) o;
return id.equals(track.id);
}
@Override
public int hashCode() {
return Objects.hash(id);
}
public static class Id implements Parcelable {
private final long id;