mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
editor: implement tracks editor parts list
This commit is contained in:
parent
642d9340e5
commit
53680df13d
15 changed files with 311 additions and 32 deletions
|
|
@ -222,7 +222,7 @@ impl MusicusPlayer {
|
|||
if tracks.len() == 1 {
|
||||
items.push(PlaylistItem::new(
|
||||
true,
|
||||
Some(&recording.work.composers_string()),
|
||||
recording.work.composers_string(),
|
||||
&recording.work.name.get(),
|
||||
Some(&performances),
|
||||
None,
|
||||
|
|
@ -250,7 +250,7 @@ impl MusicusPlayer {
|
|||
|
||||
items.push(PlaylistItem::new(
|
||||
true,
|
||||
Some(&recording.work.composers_string()),
|
||||
recording.work.composers_string(),
|
||||
&recording.work.name.get(),
|
||||
Some(&performances),
|
||||
Some(&track_title(&first_track, 1)),
|
||||
|
|
@ -261,7 +261,7 @@ impl MusicusPlayer {
|
|||
for (index, track) in tracks.enumerate() {
|
||||
items.push(PlaylistItem::new(
|
||||
false,
|
||||
Some(&recording.work.composers_string()),
|
||||
recording.work.composers_string(),
|
||||
&recording.work.name.get(),
|
||||
Some(&performances),
|
||||
// track number = track index + 1 (first track) + 1 (zero based)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue