[SOLVED] Customized view-definitions

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
nicki4lu
Posts:5
Joined:Thu Feb 24, 2011 9:50 am
AV Hardware:Server: TwonkyServer on Western MyBookWorld (blue light)
Clients: MusicPal, Windows 7
[SOLVED] Customized view-definitions

Post by nicki4lu » Thu Oct 30, 2014 10:30 am

I have changed the view-definitions.xml to add a new container within the album container:

<container name='album' id='video/albums' filteron='dc:description' createClass='object.item.videoItem.movie' class='object.container'>
<container buildon='upnp:album' crosslink='pv:album_crosslink' createClass='object.item.videoItem.movie' class='object.container'>
<container buildon='dc:description' sortcriteria='+upnp:originalTrackNumber' createClass='object.item.videoItem.movie' class='object.container'/>
</container>
</container>

This works perfectly with Twonky Server 7.2.1 but not with the new build 7.2.8. Is there any know change or do I have to change the xml file again?

Thanks for helping!
Last edited by nicki4lu on Tue Nov 04, 2014 10:19 pm, edited 1 time in total.

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: Customized view-definitions

Post by phibertron » Thu Oct 30, 2014 4:33 pm

Looking at the first line, I think the issue is with filteron='dc:description'
you should try it without that first

<container name='album' id='video/albums' filteron='dc:description' createClass='object.item.videoItem.movie' class='object.container'>

note:
all changes to the navtree need a server restart
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

nicki4lu
Posts:5
Joined:Thu Feb 24, 2011 9:50 am
AV Hardware:Server: TwonkyServer on Western MyBookWorld (blue light)
Clients: MusicPal, Windows 7

Re: Customized view-definitions

Post by nicki4lu » Tue Nov 04, 2014 10:17 pm

Thank you! This seems to work perfectly again :-)

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: [SOLVED] Customized view-definitions

Post by phibertron » Wed Nov 05, 2014 3:08 am

your welcome, glad to hear you got it working
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