Sorting Woes

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
Alepsis
Posts: 10
Joined: Wed Jul 30, 2014 6:41 pm
AV Hardware: WD MyCloud

Sorting Woes

Post by Alepsis » Tue Aug 19, 2014 3:26 pm

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.

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

Re: Sorting Woes

Post by phibertron » Tue Aug 19, 2014 4:05 pm

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

Code: Select all

http://127.0.0.1:9000/rpc/rebuild
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
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Alepsis
Posts: 10
Joined: Wed Jul 30, 2014 6:41 pm
AV Hardware: WD MyCloud

Re: Sorting Woes

Post by Alepsis » Tue Aug 19, 2014 4:42 pm

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

Code: Select all

http://127.0.0.1:9000/rpc/rebuild
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?

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

Re: Sorting Woes

Post by phibertron » Tue Aug 19, 2014 7:23 pm

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
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
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
Navtree 6 (How to show folders at the root solved and more)
http://twonkyforum.com/viewtopic.php?f=2&t=9353

Navtree 7 (How to show folders at the root solved and more)
http://twonkyforum.com/viewtopic.php?f=2&t=10627
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
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Alepsis
Posts: 10
Joined: Wed Jul 30, 2014 6:41 pm
AV Hardware: WD MyCloud

Re: Sorting Woes

Post by Alepsis » Wed Aug 20, 2014 12:57 am

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.

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

Re: Sorting Woes

Post by phibertron » Wed Aug 20, 2014 1:27 am

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
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Locked