Page 1 of 1
Sorting Woes
Posted: Tue Aug 19, 2014 3:26 pm
by Alepsis
Twonky 7.3, Win XP.
"By Folder" view is sorted alphabetically by Title tag. I wanted to change that, so I edited
<C:\Program Files\Twonky\TwonkyServer\resources\views\view-definitions.xml>
It now looks like this
<container name='music' […]
[…]
<container name='byfolder' id='music/folders' class='object.container.storageFolder' createClass='object.item.audioItem.musicTrack'>
<container buildon='res' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.storageFolder' />
[…]
Re-started Twonky, rescanned the library (just in case). Tried several different players -- By Folder tracks are still sorted alphabetically. Tried Twonky's own web interface -- By Folder tracks are still sorted alphabetically.
What am I doing wrong?
Thanks.
Re: Sorting Woes
Posted: Tue Aug 19, 2014 4:05 pm
by phibertron
I know that sorting changes in the view xml require a database rebuild
a rescan or restart wont reflect the changes
There is no rebuild button, so to do a database rebuild, use an rpc call
I played around with you situation while ago, and found an alternate solution in the navtree
once I go re-read my notes and test it, I'll post back the additional option
Re: Sorting Woes
Posted: Tue Aug 19, 2014 4:42 pm
by Alepsis
phibertron wrote:I know that sorting changes in the view xml require a database rebuild
a rescan or restart wont reflect the changes
There is no rebuild button, so to do a database rebuild, use an rpc call
Thanks. You're right on the dot, that worked.
Would you happen to know if these commands, as well as the syntax and options of those XML files, are documented anywhere?
Re: Sorting Woes
Posted: Tue Aug 19, 2014 7:23 pm
by phibertron
Glad to hear that worked out =)
Here is the only known documentation
old, but a lot of it is relative, mostly in regards to the buildon or filteron choices that exist
I did a lot of work in the past on the navtree, here are two huge threads on the subject
its a lot to take in, but it is a gold mine of info
also, starting in 7.2.x things got a little weird, including 7.3.x
as some of the major tactics done prior to them, have to be adjusted to achieve the desired results
In the end not all ideas are possible, but we can get very close to most of them with tweaking it
NOTE:
I haven't posted up any of my new knowledge in 7.2.x or 7.3.x yet
since twonky took down the other community site, I lost all of my hard work
Im a bit hesitant to make a huge thread again, just to have it tossed out like it was nothing
Re: Sorting Woes
Posted: Wed Aug 20, 2014 12:57 am
by Alepsis
Thanks. I'm new to this, so I don't know the history of the Twonky forum, but I certainly sympathize with your point of view. It's a pity that some companies don't understand how much value a good and stable user forum can create for their product. I'm setting up an old Win XP laptop as media server, and I'm trying to decide which server to buy -- Twonky, JRiver, or Asset UPnP. Good documentation and a user forum where one can find help with problems which are sure to crop up are two important criteria.
Thanks again for your help.
Re: Sorting Woes
Posted: Wed Aug 20, 2014 1:27 am
by phibertron
Thanks, and yeah I totally agree
I have been using Twonky since version 4.x,
But I haven't used JRiver or Asset UPnP, so I cant speak to their pluses and minuses
Outside of some issues (that all products have) I would say that Twonky is very stable
and is one of the few that allows you to actually customize things.
they just don't make it user friendly to do so
I've toyed around with Plex, Serviio, Mezzmo, and a lot of others
I was never able to make a switch to a different product,
as for me, twonky does what I need and mostly what I want it to
If you ever have a question just post it or pm me,
and I'll do my best to see I can help or offer suggestions