INTERACT FORUM

Windows => JRiver Media Center 34 for Windows => Topic started by: jkrzok on May 04, 2025, 08:57:44 pm

Title: Smartlist album shuffle help
Post by: jkrzok on May 04, 2025, 08:57:44 pm
I have a couple of smartlists designed to give a list of 10 albums; enough for a days worth of listening without putting too much thought into it. What I would love to see in the smart list result is something akin to the play shuffled albums [in track order] command.

I see mix and shuffle under modifications but can't seem to get them to work.

As it is now the albums are sorted in album artist order. This results in Bach Beethoven Brahms heavy playback as the smartlist will most likely start there. I'd love to show Wagner and Tchaikovsky some love early in the day.

As an example of what I have:

[Media Type]=[Audio] [Genre]=[Classical ],[Classical] [Date Imported]=<4w ~limit=-1,1,[album artist (auto)] ~limit=-1,1,[album] ~n=10 ~a ~sort=[Track #]

Any help is appreciated.
Title: Re: Smartlist album shuffle help
Post by: zybex on May 05, 2025, 03:44:33 am
This may not be currently possible. The ~a expands to full albums, but adds tracks based on their FileKey instead of Disc#/Track#. The Filekey is assigned on Import and, depending on the order of the files on the actual filesystem, often doesn't match the disc/track ordering.

Some possible fixes on MC side, ordered by complexity:

1. change the ~a modifier to preserve disc/track ordering

2. change the ~a modifier to preserve and copy the existing seq number to all added tracks, instead of resetting it to zero as it does now - ie, all tracks for first album would get seq=1, tracks of second album get seq=2, and so on.
This would allow:
      ~seq ~a ~sort=[Sequence],[Disc #],[Track #]

3. add a new Sort mode or modifier like [AlbumSeq] to sort tracks within albums, while still preserving the current album order

4. add an optional field list to ~seq, like ~seq=[field1],[field2],... . The would assign Seq numbers that increase only when the mentioned fields changed. With this you could write:
      ~a ~seq=[Album Artist (auto)],[Album],[Disc #] ~sort=[Sequence],[Track #]
   The ~seq here would also assign the same Seq number to all tracks on the same album, and then the ~Sort would use that to sort the tracks while preserving the general album order.
Title: Re: Smartlist album shuffle help
Post by: Matt on May 05, 2025, 08:10:21 am
~a should sort by the track number today. If it needs some tuning, please provide more details.

Thanks.