mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-21 07:12:25 +02:00
Feature/makefile ci and log with local time (#582)
- Add Makefile to simplify installing required tools - Add CONTRIBUTING.md welcome new contributors - Add fmt, lint, test tasks to makefile and update CONTRIBUTING.md - Add CI workflow - Log with local date
This commit is contained in:
@@ -114,7 +114,7 @@ pub(in crate::processing::processor) fn sort_playlist(
|
||||
) -> bool {
|
||||
let Some(sort) = &target.sort else {
|
||||
for group in &mut *playlist {
|
||||
group.channels.sort_by(|a, b| a.header.source_ordinal.cmp(&b.header.source_ordinal));
|
||||
group.channels.sort_by_key(|a| a.header.source_ordinal);
|
||||
}
|
||||
sort_groups_by_source_order!(playlist);
|
||||
return true;
|
||||
@@ -206,7 +206,7 @@ fn sort_channels_in_groups(
|
||||
for group in groups {
|
||||
group
|
||||
.channels
|
||||
.sort_by(|a, b| a.header.source_ordinal.cmp(&b.header.source_ordinal));
|
||||
.sort_by_key(|a| a.header.source_ordinal);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user