Revert "Enhance flatten_groups function to preserve Trakt group status during merging"

This reverts commit 239a07a3e2.
This commit is contained in:
Goldy
2025-08-19 17:33:57 +02:00
parent 49bb65d0f6
commit 1eac65249b
@@ -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;
}
}
}