mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Huami: Fix track name being replaced by album
This commit is contained in:
parent
33d433d206
commit
8030efe019
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user