mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 18:57:36 +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) {
|
if (musicSpec != null) {
|
||||||
artist = StringUtils.truncate(musicSpec.artist, 80);
|
artist = StringUtils.truncate(musicSpec.artist, 80);
|
||||||
album = StringUtils.truncate(musicSpec.album, 80);
|
album = StringUtils.truncate(musicSpec.album, 80);
|
||||||
track = StringUtils.truncate(musicSpec.album, 80);
|
track = StringUtils.truncate(musicSpec.track, 80);
|
||||||
|
|
||||||
if (artist.getBytes().length > 0) {
|
if (artist.getBytes().length > 0) {
|
||||||
length += artist.getBytes().length + 1;
|
length += artist.getBytes().length + 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user