Bugfix: export all failed trying to convert to string the Track.Id.

This commit is contained in:
Román
2020-08-31 12:22:59 +02:00
committed by Román Martínez
parent 79d8ba9ef8
commit a733d87c37
@@ -209,7 +209,7 @@ public class ExportProgressDialogFragment extends DialogFragment {
TrackExporter trackExporter = trackFileFormat.newTrackExporter(context);
//TODO Move to helper function
String fileName = track.getId() + "." + trackFileFormat.getExtension();
String fileName = track.getId().getId() + "." + trackFileFormat.getExtension();
// Overwrite a file if it exists; DocumentFile.createFile() creates a new file appending a suffix if the displayname already exists.
DocumentFile file = directory.findFile(fileName);