(if you have ever used mezzmo, all of the below would be a moot point!, but I sill like twonky)
Note:
There have been some changes in Twonky 7
http://www.twonkyforum.com/viewtopic.php?f=2&t=10627
How to Create Your Own Custom Navigation Trees
http://twonkyforum.com/viewtopic.php?f=24&t=6219
TMS-View-Configuration.zip
http://twonkyforum.com/download/file.php?id=78
TMS-View-Configuration addendum.zip
http://twonkyforum.com/download/file.php?id=404
By default the view-definitions.xml contains 3 major sections that MUST exist "music,picture,video"
By default the view-definitions.xml contains predfined containers base off of "fixed id strings" ex: video/folders
If for some reason you dont have all of the above conidtions met, bets are that a navtree wont be displayed
However, Twonky has given us a feature to create custom views, which are nice, but...
These custom views are only links to predefined id's from the view-definitions.xml
So in order to really tweak the navtree, one has to edit the view-definitions.xml to include additional id's
These additional id's MUST be denoted with the groupid , NOT id. for ex: groupid='myvideo'
The mechanics of the navtree post 5.0.68 changed and since then its taken me this long to figure out
how to do things we used to be able to back then, yeah I know!
One of the biggest questions I see asked here in the forums is how to create a folder only view, not the 'By Folder' view,
but rather have all the folders displayed at the root of video or the root of the navtree
Well Im going to you show you how to do both of those seemingly impossible taks with the current 6.x version
Note: In theory this should work for 5.1.x versions also, as I havent tested that far back version wise
I initially wrote a bigger post here, I edited it, trying to keep it simple by the use the scenario posts
But before you go and use them, there are a few things you should know
What makes everyone one of the scenario examples work is I had to edit this line in the view-definitions.xml
Code: Select all
<view name='base' viewlist='advanced,folder,ipodlike,simple,classified,playlists,mobile' guilist='advanceddefault,ipodlike,simpledefault,byfolder,mobile'>
plus if they are there, my examples wont work as expected
Code: Select all
<view name='base' viewlist='advanced' guilist='advanceddefault'>
Scenario 1 show folders at the root of the video container
Scenario 2 show folders at the root of the photo container
Scenario 3 show folders at the root of the music container
Scenario 4 show folders at the root of each section
In the following sceanrios, they show examples of how to display folders on the root
Scenario 5 show only video folders at the root of the navtree
Scenario 6 show only picture folders at the root of the navtree
Scenario 7 show only music folders at the root of the navtree
Scenario 8 show all folders at the root of the navtree
Scenario 9 show all folders at the root of the navtree for all media types
In the following scenarios, they show you how to display custom nodes on the root
Scenario 10 show the default video containers at the root
Scenario 11 show the default music containers at the root
Scenario 12 show the default picture containers at the root
Scenario 13 show all the default sub-containers at the root
Scenario 14 This one is the inverse of Scenario 13
In the following scenario, it shows you how to use buildon twice
Scenario 15 This is the current custom navtree that I use
You can either use them as is, or you try and change some things, and the changes might not work
I made some very specific changes in them to make them work, and some are mandatory
For ex: In some places I used name='' and in some places I used name='Vidoes ' or used no name=
These were done on purpose, so you were warned
But the good news is there are a lot of things you can change or add, just what I did as reference
I hope these examples help the people out there, you know who you are, finally be able to make some real changes to the navtree