Post Reply 
Controlling Track Sorting when multi-disc and multi-audio quality
27-06-2023, 08:54
Post: #4
RE: Controlling Track Sorting when multi-disc and multi-audio quality
(22-06-2023 00:31)SonicREP Wrote:  When the Album is shown (screenshot), the disc are separated (as expected due to showAllDiscs=true), but the tracks appear to be automatically sorted by "Track Number" and then possibly(?) sorted secondarily by AudioQuality. Track 1 is shown with two quality versions, then track 2, ...

I want to have disc 1, followed by the tracks for HD [24/96], followed by the tracks for [256k], then disc 2, ...
Effectively sorting the tracks by AudioQuality, Track Number.
Whilst I too have a use case for a .sortTags at the track listing level, personally I don't think it's a good option in your use case as it doesn't allow you to easily enqueue the album/quality you're interested in.

Assuming the tracks are in the order you requested (as below), the only way to enqueue the HD album would be to enqueue each track individually!
Code:
>> Disc 1
1. Don't Be That Way HD [24/96]
2. Makin' Whooppee HD [24/96]
3. They All Laughed HD [24/96]
4. Come Love HD [24/96]
1. Don't Be That Way LC [256k]
2. Makin' Whooppee LC [256k]
3. They All Laughed LC [256k]
4. Come Love LC [256k]

>> Disc 2
1. ... HD [24/96]
2. ... HD [24/96]
1. ... LC [256k]
2. ... LC [256k]

You haven't actually said why you're indexing both a lossy and lossless version of the same release, but if you do this for every album then wouldn't it be easier to just filter on #AudioQuality before you got to the album level?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Controlling Track Sorting when multi-disc and multi-audio quality - simbun - 27-06-2023 08:54

Forum Jump:


User(s) browsing this thread: 1 Guest(s)