INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: Vincent Kars on January 26, 2013, 05:09:11 pm

Title: Sorting by disc number
Post by: Vincent Kars on January 26, 2013, 05:09:11 pm
I sorted by disc and by track but somehow it doesn't work properly on disc #
Title: Re: Sorting by disc number
Post by: MrC on January 26, 2013, 05:27:20 pm
Empty and 1 are considered the same with Disc # when using formatted values.

Make them use either, but not both of those values.  Or use [Disc #,0] as an expression column.
Title: Re: Sorting by disc number
Post by: Vincent Kars on January 26, 2013, 05:37:34 pm
Hi MrRegex

I did nothing
Care to explain these formatted values?
Title: Re: Sorting by disc number
Post by: MrC on January 26, 2013, 05:51:19 pm
The values you see in cells and panes are formatted.  They are pretty-printed versions of the raw, actual stored data, or have special treatment applied to certain values or operations (such as for integer or decimal types treating 0 and blank as the same, or for [Disc #] blank and 1 as the same).

A field has two forms of expression:

   Raw:         [field,0]
   Formatted: [field,1]  (the default)

MC uses the formatted version by default (so you can just enter [field]).  So in the case of Disc #, both blank and 1 are treated as one and the same.
Title: Re: Sorting by disc number
Post by: Vincent Kars on January 26, 2013, 05:54:13 pm
Thanks

Looks like I have a feature request…
Title: Re: Sorting by disc number
Post by: MrC on January 26, 2013, 05:58:30 pm
Just change the column you show, from [Disc #] instead to an expression column with the value [Disc #,0] and it will sort the way you want.