In D4802#204817, @Stan wrote:In D4802#204816, @lyv wrote:Is there any advantage of having an index attribute rather than relying on the order of definition? I guess it would allow having similarly named tracks grouped while not having them played like that, but is that worth the tradeoff? An attribute also makes it abundantly clear to someone not familiar with this code.
All indexes seem to follow the array index anyway, except one which I presume is a test case.
Well I suppose the only advantage is reducing diff size in case of reorder if the JSON specification says arrays are always parsed in order.
Not sure to understand everything. I thought the scope of this change was to add shuffle only to peace music type. Do we want to shuffle every music? If yes, even when music are shuffled, should Honor Bound music be played at first?
The scope of the change sorry if wasn't clear was to allow to sort (or not) all types of music. I think Honorbound should always be first yeah.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Oct 26 2022
Oct 26 2022
Oct 23 2022
Oct 23 2022
In D4802#204731, @Stan wrote:I think we should be a bit smarter than this. What your patch does is break the randomness because tracks are only shuffled once.
We should instead keep the music object from the json intact until we get into startPlayList(). See inline.
That also requires adding more info to default tracks.
sortFunction sadly cannot be a class member, because players might change the settings.
Does that make sense?
Oct 22 2022
Oct 22 2022
Oct 15 2022
Oct 15 2022
Lionkanzen awarded D4802: Allow Music tracks to be ordered. a Love token.
asterix awarded D4802: Allow Music tracks to be ordered. a Love token.
Oct 14 2022
Oct 14 2022
Wildfire Games ยท Phabricator