Sort by Year

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag
Sort by Year

Post by phibertron » Sun Jan 30, 2011 7:48 pm

I am trying to modify the following, so that the oder of the year displayed as containers is displayed in reverse order
at present, it gives a list starting from 1900 and descending down 2010
but would like it to give a listing from for ex: 2010 and descend down to 1900

[code]
<container name='By Genre' id='video/genre' createClass='object.item.videoItem.movie' class='object.container' >
<container buildon='upnp:genre' createClass='object.item.videoItem.movie' class='object.container' />
</container>
[/code]

I have tried to add any of the following to the to root container or the buildon container,
and have not been able to make it work

sortcriteria='+pv:year'
sortcriteria='-pv:year'
sortcriteria='+pv:date'
sortcriteria='-pv:date'

Is there something wrong with sorting by year or is it a not able to do this with containers or builon?

Locked