Re: Twonky Server 7 Video Folders at the root of Navtree

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS
Re: Twonky Server 7 Video Folders at the root of Navtree

Post by UpgradeNAS » Wed Apr 25, 2012 3:17 pm

[quote="phibertron"]It looks like the changes made in version do not allow for this to happen as one would hope
If I find a way, I'll post it here.[/quote]

I've just spent the last few hours 'playing' with the Navtree in an attempt to get this working, then saw the post above! :(

Has anyone found a way to do this? or point me to any DOC's for navtree v7? (if there is any available?)

When using my XB360, I essentially want to display my shared folders at the root of the navigation tree. This is "standard" on lots of other uPnP servers and one of the reasons I wanted to upgrade from Twonky v4 (which doesnt allow you to change it either)

Can anyone tell me what the last version of Twonky is that supported video folders at the root of the navtree?? (will this one work? http://www.twonkyforum.com/downloads/6.0.39/)

TIA!

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Wed Apr 25, 2012 5:35 pm

Your in luck if you want the to show only folders on the videos container nmenu on the xbox

But first to clarify
The xbox does NOT show anything but Video, Music, Photo root containers
So if there were a fourth container at the "root of navtree", it would not be accessable on the xbox
What you want it is to show folders at the root of the video container,
which is something different than at the root of the navtree, two different things

For the record, I dont now which dlna servers you refer to that do that as "standard"
But I woukld disagree in that they may allow for changeing the navtree
But no in do they have folders at the root of video as standard, no way
I have played with a lot, and I mean a lot of dlna servers, and can not think of one that does that as "standard"

The following is for version 7.x

http://www.twonkyforum.com/viewtopic.ph ... 627#p40596

The following is for version 6.x

http://twonkyforum.com/viewtopic.php?f= ... 320#p34292
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

UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS

Re: Twonky Server 7 Video Folders at the root of Navtree

Post by UpgradeNAS » Thu Apr 26, 2012 12:04 am

Hi phibertron,

Okay, I understand re container levels, I guess I was confusing myself as the XB360 video app's "root" is in fact uPnP's "/Video/[here]" i.e. two levels deep!?

I haven't really delved into uPnP servers for a while, the last time I really delved into it was almost 10 years ago (just as DLNA was getting created) but they don't seem to have changed that much. The servers I refer to are various Microsoft / Philips or Intel based ones which I have been using (or copying the tree structure into) for the last 10 years.

I previously found your scripts here (http://www.twonkyforum.com/viewtopic.ph ... 627#p40596) but they don't appear to work as expected. Can you clarify that using the above linked script, any folders that are shared via contentdir= in twonkyserver.ini would appear at the root of the Video container? e.g. "/Video/[here]"

So if I had say "contentdir=+m|/myMedia/Photos,+V|/myMedia/Kids,+V|/myMedia/Fitness" that "Photos", "Kids" and "Fitness" would be the first folders shown in the XB360 video app? (Should "includefolder=" be 1 or 0 ? (or is it not relevant))

If so it's not working on my setup, either via XB360 or when I click the "Video" button on the Twonky HTML browser :( - Intel's AV Media Controller shows no folders for the Twonky server when using the mylibrary.view and view-definitions files. (Twonky "status" show's 100's or 1000's of video/photo/music files in the db when looking via HTML pages)

I'm using Twonky 7.0.5 Special on a Linkstation NAS. The folders in contentdir= are visible if I use the advanced tree and select "By Folder" but not at the root.

I'm not sure if it makes a difference, but if I copy over your files without modification, the "Navigation Type" under "Media Receivers" on Twonky settings shows as "Mobile" (myLibrary isn't an option in that list). To save finding / editing any other files and adding in your myLibrary I copied your <navtree> </navtree> into the standard advanced one. (The end result was no files or containers being displayed in both cases)

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 4:32 pm

Did you restart the server?
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

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 5:13 pm

I just re-tested the example on a default install of version 7.0.7 for windows
and version 7.0.5 on a WD MyBook Live

http://www.twonkyforum.com/viewtopic.ph ... 627#p40596

And it is working as stated
I double checked this on a IE9, Firefox 12, PS3, Xbox, ipad, iphone

It is important to note that if you dont restart the server
changes in views and definitions will not completely take effect
which is also true of a lot of things with the server

It is also worth noteing that if you try to only half do what I did
it might not work, there is a lot going on in there for very specific reasons
I created these working examples for people who have a need/want to achieve those attributes in the navtree
And am very diligent in testing them, as I dont really want to be tech support
but more of an enabler, hence the reason for the pre-canned examples

If you use the two files in the example, and then restart the server, and or the nas
and it doesnt work, we can go from there, basically try to do nothing else
so that I can see what it is that might be the issue
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

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 6:04 pm

Just had an Ahh Haaa Moment, I was able to reproduce what you describe =(
I was able to fix it =)

Give me a bit to put it all together, and I'll post it here,
and then the fun of updateing all of the other stuff =(
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

UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS

Re: Twonky Server 7 Video Folders at the root of Navtree

Post by UpgradeNAS » Thu Apr 26, 2012 6:12 pm

:)

Look forward to testing!

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 6:20 pm

These two files should work for you as they do for me

Add these to the views folder and restart the server

Let me know how it goes
Attachments
mylibrary.view.xml
(175Bytes)Downloaded 272 times
view-definitions.xml
(14.32KiB)Downloaded 284 times
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

UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS

Re: Twonky Server 7 Video Folders at the root of Navtree

Post by UpgradeNAS » Thu Apr 26, 2012 6:50 pm

Those files cause the server to crash upon restart... i.e. I added those files, restarted the server and it didn't come back online. I restarted the NAS and the server is still not online. :(

I'm currently removing the lines you added in view-definitions one by one to see which one(s) are causing it to crash...

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 7:23 pm

It has to be this one, that is the culprit

<container id='video/online' createClass='object.item.videoItem.online1.movie' class='object.container' />

This was added oin 7.0.7

Man, every release changes something, my head spins =(

One thing to note about 7.x
is that if one tries to add an id that "twonky" doesnt like, it does what you describe
they so need to bring back groupid
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

UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS

Re: Twonky Server 7 Video Folders at the root of Navtree

Post by UpgradeNAS » Thu Apr 26, 2012 8:04 pm

Okay, thanks for the tip!

Removing that line (and the reference in the "Container name =") doesn't stop the server crashing, after removing every line and replacing with known working Video container section, it still crashed so I can only assume you have added / changed somthing else in the Music and/or Photo container sections?

I've managed to get it to load by using the default view-definations file, then added in your Video container section (minus the online1 bits) but then no video files were detected after re-scanning! :(

Can I ask how you got it to work initially? What did you change to replicate the issue? (Might help in identifing the issue!? :))

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 8:19 pm

I also just realized, what I gave you was for 7.0.7
As I didnt change anything, but the video section, hence the problem =)
version 7.0.5 does not have an id for online,
and in doing so by being there, cause the crash
So there were other id's in there related to the issue of it causing the crash

<container name='music_online' id='music/online' createClass='object.item.audioItem.online1.musicTrack' class='object.container' />

<container name='picture_online' id='picture/online' createClass='object.item.imageItem.online1.photo' class='object.container' />

My Bad, Sorry for the added chaos
Like I said, each version is its own level of chaos to deal with
Which will get even more interesting with the next version

I think it was a typo/fat finger in the xml
I started from scratch, and added in each piece, until it broke
but each peice was a big peice, still have to go back through it, to see which one it was
when I find it will let you know, but do realize it will pertain to that version of twonky and how it treats the navtree xml
as each has there own quircks
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

UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS

Re: Twonky Server 7 Video Folders at the root of Navtree

Post by UpgradeNAS » Thu Apr 26, 2012 8:32 pm

I have got it working... :)

As per my description above, it shows 0 files (for video) on the status yet AV Media Controller shows my folder at the root of Video container with all the files in it (I disabled all but one folder for testing)

I'll do a little more testing then post the working files here (Can I attach files?)

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 8:38 pm

Not sure if the site will let you attach files, that ability has to be added

But, I just did a re-test of version 7.0.5 on my WDMBL
with the two files I posted
I removed the 3 references to for online mentioned previously
and it worked for me without issue

The install is a default install of twonky 7.0.5 except for the two files
Attachments
view-definitions.xml
(13.94KiB)Downloaded 270 times
mylibrary.view.xml
(175Bytes)Downloaded 278 times
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

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 8:51 pm

You mentioned AV Media Controller not working
What is the xbox seeing?
What is the html seeing?
This would help isolate what else is going on
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

UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS

Re: Twonky Server 7 Video Folders at the root of Navtree

Post by UpgradeNAS » Thu Apr 26, 2012 9:27 pm

It is now working, appart from in the Twonky Settings / Status it shows "Videos: 0" when in fact there are a few hundred. This is what initially confused me as I (wrongly) assumed it wasn't working at that point, when it was (just not displaying the status correctly).

I have tested your version and that works as well. I've slightly amended it and added the following (under the buildon=res line):

Code: Select all

<container name='bydate' id='video/date' createClass='object.item.videoItem.movie' class='object.container'>
	<container buildon='pv:year' createClass='object.item.videoItem.movie' class='object.container' />
</container>
...which gives me a "By Date" folder, inside of which it displays all videos seperated by year. This shows in addition to my shared folders and is exactly what I wanted! :D

Only thing left to do now is test it on the XB360 (but I have no doubts about it not working).

Thanks for the assistance! 8)

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Thu Apr 26, 2012 9:41 pm

Your Welcome, Great to hear that it is now working

I too have noticed the behavior of the status display in the web interface
not always being accurate in the actual current state
I notice that if I doa page refresh, that it does clear that up
Its most likely to do with the way the code is calling the status function to the server via rpc call
and not doing a proper refresh in the html to refelct things as they happen
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

UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS

Re: Twonky Server 7 Video Folders at the root of Video Conta

Post by UpgradeNAS » Thu Apr 26, 2012 10:53 pm

Right, for completeness and in case it helps others, I'll include my files here which I have now tested working on my XB360 using Twonky 7.0.5 Special on a Linkstation CHLv2 NAS.

The Twonky Settings / Status still shows as "Videos: 0" but I'm not bothered by that (I think it's related to the advanced view file!?).

Here's my view-definations.xml file which displays folders at the root of the video tree, along with a "By Date" section and "Playlists" (Last viewed, added etc):

Code: Select all

<view name='base' viewlist='advanced' guilist='advanceddefault'>
	<navtree sortcriteria='+upnp:originalTrackNumber'>
		<container name='music' id='music' upnp:originalTrackNumber='1' createClass='object.item.audioItem.musicTrack,object.item.audioItem.online.musicTrack'>
			<container name='alltracks' id='music/all' createClass='object.item.audioItem.musicTrack' class='object.container'/>
			<container name='artist' id='music/artists' class='object.container.person.musicArtist' createClass='object.item.audioItem.musicTrack'>
				<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' />
				<container buildon='upnp:artist' albumart='1' class='object.container.person.musicArtist' createClass='object.item.audioItem.musicTrack'/>
			</container>
			<container name='artistindex' id='music/artistindex' class='object.container' createClass='object.item.audioItem.musicTrack'>
				<container buildon='upnp:artist[3]' class='object.container' createClass='object.item.audioItem.musicTrack'>
					<container buildon='upnp:artist' albumart='1' class='object.container.person.musicArtist' createClass='object.item.audioItem.musicTrack'>
						<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' />
						<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
					</container>
				</container>
			</container>
			<container name='composer' id='music/composers' createClass='object.item.audioItem.musicTrack' class='object.container' >
				<container buildon='upnp:author@role' createClass='object.item.audioItem.musicTrack' class='object.container.person.musicArtist' />
			</container>
			<container name='rating' id='music/rating' createClass='object.item.audioItem.musicTrack' class='object.container' >
				<container buildon='pv:rating' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
			</container>
			<container name='artistalbum' id='music/artistalbum' class='object.container.person.musicArtist' createClass='object.item.audioItem.musicTrack'>
				<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' >
					<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
				</container>
				<container buildon='upnp:artist' albumart='1' class='object.container.person.musicArtist' createClass='object.item.audioItem.musicTrack'>
					<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' />
					<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
				</container>
			</container>
			<container name='genre' id='music/genre' class='object.container' createClass='object.item.audioItem.musicTrack'>
				<container buildon='upnp:genre' class='object.container.genre.musicGenre' createClass='object.item.audioItem.musicTrack' />
			</container>
			<container name='genrealbum' id='music/genrealbum' class='object.container' createClass='object.item.audioItem.musicTrack'>
				<container buildon='upnp:genre' class='object.container.genre.musicGenre' createClass='object.item.audioItem.musicTrack' >
					<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
				</container>
			</container>
			<container name='genreartist' id='music/genreartistalbum' class='object.container' createClass='object.item.audioItem.musicTrack'>
				<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' >
					<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' >
						<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' />
						<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
					</container>
					<container buildon='upnp:artist' albumart='1' class='object.container' createClass='object.item.audioItem.musicTrack'>
						<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' />
						<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
					</container>
				</container>
				<container buildon='upnp:genre' class='object.container.genre.musicGenre' createClass='object.item.audioItem.musicTrack'>
					<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' >
						<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' />
						<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
					</container>
					<container buildon='upnp:artist' albumart='1' class='object.container' createClass='object.item.audioItem.musicTrack'>
						<container name='allname' createClass='object.item.audioItem.musicTrack' class='object.container' />
						<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
					</container>
				</container>
			</container>
			<container name='album' id='music/albums' createClass='object.item.audioItem.musicTrack' class='object.container' >
				<container buildon='upnp:album' albumart='1' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.album.musicAlbum' />
			</container>
			<container name='byfolder' id='music/folders' class='object.container.storageFolder' createClass='object.item.audioItem.musicTrack'>
				<container buildon='res' createClass='object.item.audioItem.musicTrack' class='object.container.storageFolder' />
			</container>
			<container name='playlists' id='music/playlists' class='object.container' createClass='object.item.audioItem.musicTrack,object.item.audioItem.online.musicTrack' sortcriteria='+upnp:originalTrackNumber,+dc:title'   restricted='0' flags='pv:playlistRoot=Music' >
				<container name='playlistrecentlyaddedaudio' filteron='pv:addedLast60' sortcriteria='-pv:addedTime' createClass='object.item.audioItem.musicTrack' maxitems='500' upnp:originalTrackNumber='3' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container name='playlistmostplayedaudio' filteron='pv:playcount' sortcriteria='-pv:playcount' createClass='object.item.audioItem.musicTrack' maxitems='500' upnp:originalTrackNumber='1'  restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container name='playlistlastplayedaudio' filteron='pv:lastPlayedTime' sortcriteria='-pv:lastPlayedTime' createClass='object.item.audioItem.musicTrack' maxitems='500' upnp:originalTrackNumber='2' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container name='playlisthighlyrated' filteron='pv:highrated' sortcriteria='-pv:rating' createClass='object.item.audioItem.musicTrack' maxitems='500' upnp:originalTrackNumber='4' class='object.container.playlistContainer' restricted='1'  flags='pv:smartplaylist=1' />
				<container buildon='upnp:playlist' sortcriteria='+upnp:originalTrackNumber' upnp:originalTrackNumber='5' createClass='object.item.audioItem.musicTrack,object.item.audioItem.online.musicTrack' class='object.container.playlistContainer' />
			</container>
			<container name='mytwonky' id='music/mytwonky' createClass='object.item.audioItem.online.musicTrack' class='object.container' />
		</container>
		<container name='pictures' id='picture' upnp:originalTrackNumber='2' createClass='object.item.imageItem.photo,object.item.imageItem.online.photo' class='object.container'>
			<container name='allpictures' id='picture/all' createClass='object.item.imageItem.photo' class='object.container'/>
			<container name='byfolder' id='picture/folders' class='object.container.storageFolder' restricted='0' createClass='object.item.imageItem.photo'>
				<container buildon='res' createClass='object.item.imageItem.photo' class='object.container.storageFolder'/>
			</container>
			<container name='bydate' id='picture/date' createClass='object.item.imageItem.photo' class='object.container'>
				<container name='allname' createClass='object.item.imageItem.photo' class='object.container'>
					<container name='allname' createClass='object.item.imageItem.photo' class='object.container.album.photoAlbum' />
					<container buildon='pv:month' createClass='object.item.imageItem.photo' class='object.container.album.photoAlbum' />
				</container>
				<container buildon='pv:year' createClass='object.item.imageItem.photo' class='object.container'>
					<container name='allname' createClass='object.item.imageItem.photo' class='object.container.album.photoAlbum' />
					<container buildon='pv:month' createClass='object.item.imageItem.photo' class='object.container.album.photoAlbum' />
				</container>
			</container>
			<container name='keywords' id='picture/keywords' createClass='object.item.imageItem.photo'  class='object.container' >
				<container buildon='pv:avKeywords' createClass='object.item.imageItem.photo' class='object.container.album.photoAlbum' />
			</container>
			<container name='album' id='picture/albums' createClass='object.item.imageItem.photo'  class='object.container' >
				<container buildon='upnp:album' createClass='object.item.imageItem.photo' class='object.container.album.photoAlbum' />
			</container>
			<container name='rating' id='picture/rating' createClass='object.item.imageItem.photo' class='object.container' >
				<container buildon='pv:rating' createClass='object.item.imageItem.photo' class='object.container.album.photoAlbum' />
			</container>
			<container name='slideshows' id='picture/playlists' class='object.container' createClass='object.item.imageItem.photo,object.item.imageItem.online.photo' sortcriteria='+upnp:originalTrackNumber,+dc:title' restricted='0' flags='pv:playlistRoot=Picture' >
				<container name='playlistrecentlyaddedimage' filteron='pv:addedLast60' sortcriteria='-pv:addedTime' createClass='object.item.imageItem.photo' maxitems='500' upnp:originalTrackNumber='3' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container name='playlistmostviewedimage' filteron='pv:playcount' sortcriteria='-pv:playcount' createClass='object.item.imageItem.photo' maxitems='500' upnp:originalTrackNumber='1' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container name='playlistlastviewedimage' filteron='pv:lastPlayedTime' sortcriteria='-pv:lastPlayedTime' createClass='object.item.imageItem.photo' maxitems='500' upnp:originalTrackNumber='2' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container name='playlisthighlyrated' filteron='pv:highrated' sortcriteria='-pv:rating' createClass='object.item.imageItem.photo' maxitems='500' upnp:originalTrackNumber='4' class='object.container.playlistContainer' restricted='1' flags='pv:smartplaylist=1' />
				<container buildon='upnp:playlist' sortcriteria='+upnp:originalTrackNumber' createClass='object.item.imageItem.photo,object.item.imageItem.online.photo' upnp:originalTrackNumber='5' class='object.container.playlistContainer' />
			</container>
			<container name='geo' id='picture/geo' createClass='object.item.imageItem.photo' class='object.container' >
				<container buildon='pv:geoNames' createClass='object.item.imageItem.photo' class='object.container.album.photoAlbum' />
			</container>
			<container name='mytwonky' id='picture/mytwonky' createClass='object.item.imageItem.online.photo' class='object.container' />
		</container>
		<container name='videos' id='video' upnp:originalTrackNumber='3' createClass='object.item.videoItem.movie,object.item.videoItem.classified.movie,object.item.videoItem.online.movie' class='object.container'>
			<container name='bydate' id='video/date' createClass='object.item.videoItem.movie' class='object.container'>
				<container buildon='pv:year' createClass='object.item.videoItem.movie' class='object.container' />
			</container>
			<container name='playlists' id='video/playlists' class='object.container' createClass='object.item.videoItem.movie,object.item.videoItem.online.movie' sortcriteria='+upnp:originalTrackNumber,+dc:title' restricted='0' flags='pv:playlistRoot=Video' >
				<container name='playlistrecentlyaddedvideo' filteron='pv:addedLast60' sortcriteria='-pv:addedTime' createClass='object.item.videoItem.movie' maxitems='500' upnp:originalTrackNumber='3' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container name='playlistmostviewedvideo' filteron='pv:playcount' sortcriteria='-pv:playcount' createClass='object.item.videoItem.movie' maxitems='500' upnp:originalTrackNumber='1' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1'  />
				<container name='playlistlastviewedvideo' filteron='pv:lastPlayedTime' sortcriteria='-pv:lastPlayedTime' createClass='object.item.videoItem.movie' maxitems='500' upnp:originalTrackNumber='2' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container name='playlisthighlyrated' filteron='pv:highrated' sortcriteria='-pv:rating' createClass='object.item.videoItem.movie' maxitems='500' upnp:originalTrackNumber='4' restricted='1' class='object.container.playlistContainer' flags='pv:smartplaylist=1' />
				<container buildon='upnp:playlist' sortcriteria='+upnp:originalTrackNumber' createClass='object.item.videoItem.movie,object.item.videoItem.online.movie' upnp:originalTrackNumber='5' class='object.container.playlistContainer'  />
			</container>
			<container id='video/all' createClass='object.item.videoItem.movie' class='object.container' />
			<container id='video/folders' class='object.container.storageFolder' restricted='0' createClass='object.item.videoItem.movie' />
			<container id='video/titleindex' class='object.container' createClass='object.item.videoItem.movie' />
			<container id='video/date' createClass='object.item.videoItem.movie' class='object.container' />
			<container id='video/albums' createClass='object.item.videoItem.movie' class='object.container' />
			<container id='video/rating' createClass='object.item.videoItem.movie' class='object.container' />
			<container id='video/playlists' class='object.container' createClass='object.item.videoItem.movie,object.item.videoItem.online.movie' sortcriteria='+upnp:originalTrackNumber,+dc:title' restricted='0' flags='pv:playlistRoot=Video' />
			<container id='video/classified' class='object.container'  createClass='object.item.videoItem.classified.movie' />
			<container id='video/mytwonky' createClass='object.item.videoItem.online.movie' class='object.container' />
			<container buildon='res' createClass='object.item.videoItem.movie' class='object.container.storageFolder'/>
		</container>
	</navtree>
</view>

And here's my advanced-view.xml file:

Code: Select all

<view name='advanceddefault' path='advanced.view'>
	<navtree>
		<container id='music'>
			<link id='music/all' />
			<link id='music/artists' />
			<link id='music/artistindex' />
			<link id='music/artistalbum' />
			<link id='music/genre' />
			<link id='music/genrealbum' />
			<link id='music/genreartistalbum' />
			<link id='music/rating' />
			<link id='music/albums' />
			<link id='music/folders' />
			<link id='music/playlists' />
			<link id='music/mytwonky' />
		</container>
		<container id='picture' >
			<link id='picture/all' />	
			<link id='picture/folders' />
			<link id='picture/date' />
			<link id='picture/keywords' />
			<link id='picture/albums' />
			<link id='picture/rating' />
			<link id='picture/playlists' />
		</container>
		<container id='video' >
		</container>
	</navtree>
</view>

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: Twonky Server 7 Video Folders at the root of Navtree

Post by phibertron » Fri Apr 27, 2012 12:03 am

Sharing is always good =)

Hard to say what is causing the Video Items count issue
But I am not seeing the issue on 7.0.7 with any of the modifications
other than waiting for the scan to finish

I wonder if it "might" be being caused by the multiple source paths for content
It would be interesting to note, if the following does or does not show the correct count for videos

http://server:9000/rpc/info_status
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

UpgradeNAS
Posts:12
Joined:Fri Apr 20, 2012 6:08 pm
AV Hardware:Buffalo Linkstation CHLv2 NAS

Re: Twonky Server 7 Video Folders at the root of Navtree

Post by UpgradeNAS » Fri Apr 27, 2012 12:54 am

http://server:9000/rpc/info_status also shows zero for videos. i.e. incorrect

Locked