Merge branch 'main' of github.com:SamidyFR/monochrome

This commit is contained in:
Samidy 2026-01-19 23:40:54 +03:00
commit e789af30cd
2 changed files with 6 additions and 1 deletions

View file

@ -10,7 +10,7 @@
<br>
[<img src="https://files.catbox.moe/94f3pq.png" alt="Monochrome UI" width="800">](https://monochrome.samidy.com/#album/413189044)
[<img src="https://files.catbox.moe/tpgxii.png" alt="Monochrome UI" width="800">](https://monochrome.samidy.com/#album/413189044)
### Features

View file

@ -574,6 +574,11 @@ export async function handleTrackAction(
}
}
tracks = playlist ? playlist.tracks : item.tracks || [];
if (playlist) item.name = playlist.name;
} else if (type === 'mix') {
const data = await api.getMix(item.id);
tracks = data.tracks;
if (data.mix) item.title = data.mix.title;
}
if (tracks.length > 0) {