Huami: Fix track name being replaced by album

This commit is contained in:
José Rebelo 2022-06-15 18:56:37 +01:00
parent 33d433d206
commit 8030efe019
1 changed files with 1 additions and 1 deletions

View File

@ -1352,7 +1352,7 @@ public class HuamiSupport extends AbstractBTLEDeviceSupport {
if (musicSpec != null) {
artist = StringUtils.truncate(musicSpec.artist, 80);
album = StringUtils.truncate(musicSpec.album, 80);
track = StringUtils.truncate(musicSpec.album, 80);
track = StringUtils.truncate(musicSpec.track, 80);
if (artist.getBytes().length > 0) {
length += artist.getBytes().length + 1;