Skip to content

Commit

Permalink
根据前端需求,优化功能。 Optimise functionality based on front-end requirements.
Browse files Browse the repository at this point in the history
中文:
- 导出的本地音乐导出.txt文件新增“歌曲ID”字段。

English:
- Added "Song ID" field to the exported Local Music Export.txt file.
  • Loading branch information
Winnie0408 committed Oct 7, 2023
1 parent 1f89009 commit 7e84be3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ private synchronized void writeToFile(Tag tag, String dfile) {
File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), fileName);
try {
FileWriter fileWriter = new FileWriter(file, true);
fileWriter.write((tag.getFirst(FieldKey.TITLE) + "#*#" + tag.getFirst(FieldKey.ARTIST) + "#*#" + tag.getFirst(FieldKey.ALBUM) + "#*#" + dfile + "\n"));
fileWriter.write((tag.getFirst(FieldKey.TITLE) + "#*#" + tag.getFirst(FieldKey.ARTIST) + "#*#" + tag.getFirst(FieldKey.ALBUM) + "#*#" + dfile + "#*#" + progressPercent + "\n"));
fileWriter.close();
} catch (IOException e) {
e.printStackTrace();
Expand Down

0 comments on commit 7e84be3

Please sign in to comment.