Doesn't seem too difficult to me for either UI or playing. iTunes already supports this idea with their "grouping" tag (though it doesn't really do anything AFAIK). It doesn't need to be constantly visible in the UI. Being available with right click and "Get Info" is good enough for me. If you wanted more, you could add a "grouping" column to the view and a button on that column to collapse or un-collapse groups to appear as one track with the group name.
If you're shuffle playing and the next song in the queue has a non-empty group tag, remove it from the queue and instead add the whole group in the correct order. Everything else should be handled the same.
It might be a bad way of handling it (and if it is, I'd be glad to know why). But that's how I would implement such a feature.
If you're shuffle playing and the next song in the queue has a non-empty group tag, remove it from the queue and instead add the whole group in the correct order. Everything else should be handled the same.
It might be a bad way of handling it (and if it is, I'd be glad to know why). But that's how I would implement such a feature.