Page 1 of 1

Track Indexed Navigation Subtree

Posted: Fri Apr 20, 2012 12:55 am
by Steevo25
Hi All,

Now I have my server working correctly, it's time to set it up how I want it.

First of all, a quick question. I have just upgraded from version 4 to version 7. Why has the navigation tree creation feature been taken out and replaced with an XML based file editing system that you really have to be a programmer to understand?

Anyway, one of the things I am missing is an alphabetically indexed view of all my music tracks. e.g. you select something like 'Tracks' and then you get an A to Z listing of all the track titles and then I can click on say 'C' and I get all the tracks that start with 'C'.

I have been trying to work it out by looking at the current view files and reading the documentation I found, but I just can't get it working. Here is what I did:

To the view-definitions.xml file I added the following:

<container name='tracks' groupid='music/tracks' class='object.container' createClass='object.item.audioItem.musicTrack'>
<container buildon='dc:title[1]' class='object.container' createClass='object.item.audioItem.musicTrack'>
<container buildon='dc:title' sortcriteria='+dc:title' class='object.container'
createClass='object.item.audioItem.musicTrack'/>
</container>
</container>

I inserted this straight under the line that says <container name='music' id='music'....................

Then in my advanced.view.xml I added the following line:

<link groupid='music/tracks' />

I put this immediately under the line that says

<link id='music/all' />

I then restarted the server completely.

When I browse to music, nothing new shows up. I don't get a track option or anything that wasn't there before.

Is there anything obvious I am doing wrong? Incidently, the server is set to the advanced view. I was expecting a 'Tracks' option in the navigation tree that once selected gave folders labled A to Z.

Re: Track Indexed Navigation Subtree

Posted: Fri Apr 20, 2012 1:07 am
by phibertron
groupid doesn not work in version 7.x
they removed it :evil:

Re: Track Indexed Navigation Subtree

Posted: Fri Apr 20, 2012 1:16 am
by phibertron
your best bet would be to just re-use the all conatainer, which about all we can do without groupid

Change this:

<container name='All Tracks ' id='music/all' createClass='object.item.audioItem.musicTrack' class='object.container'/>

To this:

<container name='All Tracks ' id='music/all' createClass='object.item.audioItem.musicTrack' class='object.container'/>
<container buildon='dc:title[1]' class='object.container' createClass='object.item.audioItem.musicTrack'>
<container buildon='dc:title' sortcriteria='+dc:title' class='object.container'
createClass='object.item.audioItem.musicTrack'/>
</container>
</container>

Re: Track Indexed Navigation Subtree

Posted: Fri Apr 20, 2012 1:20 am
by Steevo25
Many thanks for your help. I guess there is not really an option but to do it that way.

Why do they keep removing things? Everytime there is something useful, they seem to remove it in the next version.

Re: Track Indexed Navigation Subtree

Posted: Fri Apr 20, 2012 1:30 am
by phibertron
Your Welcome

I would agree, they have pulled some very important features
It boggles the mind and defies all reasoning