mirror of
https://github.com/euzu/tuliprox.git
synced 2026-09-30 21:12:12 +02:00
Revert "Enhance flatten_groups function to preserve Trakt group status during merging"
This reverts commit 239a07a3e2.
This commit is contained in:
@@ -453,8 +453,6 @@ fn flatten_groups(playlistgroups: Vec<PlaylistGroup>) -> Vec<PlaylistGroup> {
|
||||
std::collections::hash_map::Entry::Occupied(o) => {
|
||||
if let Some(pl_group) = sort_order.get_mut(*o.get()) {
|
||||
pl_group.channels.extend(group.channels);
|
||||
// Preserve Trakt group status: if either group is a Trakt group, the merged group should be too
|
||||
pl_group.is_trakt_group = pl_group.is_trakt_group || group.is_trakt_group;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user