mirror of
https://github.com/G2-Games/minidisc-cli.git
synced 2025-04-19 03:32:53 -05:00
Fixed track_group_list
to be consistent with netmd-js
This commit is contained in:
parent
4fa7b0ec30
commit
8b193bd16c
1 changed files with 3 additions and 1 deletions
|
@ -1040,11 +1040,13 @@ impl NetMDInterface {
|
|||
));
|
||||
}
|
||||
|
||||
let mut remaining_tracks = Vec::new();
|
||||
for i in 0..track_count {
|
||||
if !track_dict.contains_key(&i) {
|
||||
result.insert(0, (None, None, Vec::from([i])))
|
||||
remaining_tracks.push(i);
|
||||
}
|
||||
}
|
||||
result.insert(0, (None, None, remaining_tracks));
|
||||
|
||||
Ok(result)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue