Navtree 6 (How to show folders at the root solved and more)

General discussion about the media server. Feature requests. Hints, tips and tricks.
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Tue Mar 08, 2011 1:17 am

Thanks

The only way at present to be able to do something like that would be like this

1.
you would have to restructure the root of you music share
so that at the root of the share you had folders for the groupings you were looking for
for ex:
"ChildrensMusic"
"Classical"
"Mainstream"

2.
you would then move and or rearrange things into these folders accordingly

3.
you would then use Scenario 3 as a building block

4.
you would then modify the music section to start out like it is by folder
and add sub sections into from there

change the following for ex:

Code: Select all

<container name='music' id='music' upnp:originalTrackNumber='1' createClass='object.item.audioItem.musicTrack,object.item.audioItem.online.musicTrack'>

   <container buildon='res' createClass='object.item.audioItem.musicTrack' class='object.container.storageFolder' />

</container>


to become for ex:

Code: Select all

<container name='music' id='music' upnp:originalTrackNumber='1' createClass='object.item.audioItem.musicTrack,object.item.audioItem.online.musicTrack'>

   <container buildon='res' createClass='object.item.audioItem.musicTrack' class='object.container.storageFolder' >

      <container name='Artist Index' 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' 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>

</container>


5.
doing the above would show the root folders and going into each would then show you the artist index for just that folder

Note:
while this kinda meets the idea, it does have some things that I dont like,
which are that it will show artist index, for every folder, think folders with subfolders etc.

In the long run, it would be best for twonky to allow for the ability to use conditional tree building
but until then, this is what we got

Im working on a parallel solution, which I havent posted yet, but it involves running multiple instances of twonky
In this new scenario that im working on, you would still have to seperate folders out
but, they would then be totally isolated, and treated as there own entity
once i get the idea typed up, ill post for all to see, as it may be something people might try
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Tue Mar 08, 2011 7:30 pm

If your interested, I put that post up about running multiple instances here

http://twonkyforum.com/viewtopic.php?f=2&t=9408
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

salsaholic
Posts: 14
Joined: Tue Mar 27, 2007 9:20 am
AV Hardware: Raidsonic ICY BOX IB-NAS-1000-B / Twonky 4.3
Terratec Noxon iRadio 2
Contact:

Re: Navtree (How to show folders at the root solved and more

Postby salsaholic » Tue Mar 08, 2011 11:38 pm

Thanks a lot for the replies!
If get this right, this solution would force me to load all music of one category into one folder - which is bound for issues...
The multiple instances in the other thread sound much more interesting, I'll ask some curious questions over there :)

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Thu Mar 17, 2011 5:39 pm

Added some notes on equally named containers
with named= or buildon= being the same
and how to use that to our advantage

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

Postby phibertron » Thu Mar 17, 2011 6:42 pm

Addes some notes on What I learned about mediafusion
And how to put them into a single container
or as containers on the root of navtree

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

Postby phibertron » Thu Mar 17, 2011 8:20 pm

Addes some notes on What I learned about Playlists
And how to put them into a single container
But not individually at the root of navtree

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

Postby phibertron » Thu Mar 17, 2011 8:25 pm

Does anyone know what the Classified Videos container is for?

<container name='classifiedvideos' id='video/classified' class='object.container' createClass='object.item.videoItem.classified.movie'/>

My guess is that it has something to do with TwonkyManager and not TwonkyServer direclty
in that Im guessing they are tags generated from TwonkyManager
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

xmantium
Posts: 3
Joined: Sun Mar 20, 2011 9:32 pm
AV Hardware: QNAP 639 Pro Running TwonkyServer

Bravia 52NX803
XBOX 360 Slim
PS3 Slim

Re: Navtree (How to show folders at the root solved and more

Postby xmantium » Sun Mar 20, 2011 9:45 pm

This is a brilliant post, was wondering if anyone can help.

Im using Scenario 1, which shows the Video folders, this works brilliant.

I liked to view playlists on my iPad to see which TV episode i watched last, this didnt show up on my Renderer like my Bravia TV

I tried doing:
<container id='video' />
<link id='video/playlists' />

But this shows up a "Playlist" folder on my TV, i like it to be hidden like before, as i like to browse my playlist using TwonkyServer setting HTML page on my iPad or PC

How do i change this not to show up with "Playlist" folder but still cann my playlist using TwonlyServer setting

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Sun Mar 20, 2011 10:12 pm

Im a little confused

You say you want it hidden, but want it also to be accessable?

I think what you are saying is:
You want client devices to NOT see the playlists container
But from a web browser you DO want to see the playlists container

Is that correct?
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

xmantium
Posts: 3
Joined: Sun Mar 20, 2011 9:32 pm
AV Hardware: QNAP 639 Pro Running TwonkyServer

Bravia 52NX803
XBOX 360 Slim
PS3 Slim

Re: Navtree (How to show folders at the root solved and more

Postby xmantium » Tue Mar 22, 2011 2:12 pm

Yes that's correct

My client, in this case my Bravia TV never showed up playlist before

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Tue Mar 22, 2011 2:57 pm

At present, the best way to accomplish this
is going to be to create a view.xml just for the tv
and then assign it to the tv from the twonky config page for devices

You'll have for example something kind of like this:

advanced.view.xml

Code: Select all

<view name='advanceddefault' path='advanced.view'>
   <navtree>
      <container id='video' />
      <link id='video/playlists' />
   </navtree>
</view>


bravia.view.xml

Code: Select all

<view name='Bravia View' path='bravia.view'>
   <navtree>
      <container id='video' />
   </navtree>
</view>


view-definitions.xml

Code: Select all

<view name='base' viewlist='advanced,bravia' guilist='advanceddefault,Bravia View'>
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Tue Mar 22, 2011 3:20 pm

The other option is to to add it the video container, kind of like before
But instead of just being folders at the root
It would be folders at the video root, and the playlists container at the video root

In the view-definitions.xml change the following

Code: Select all

<container buildon='res' createClass='object.item.videoItem.movie' class='object.container.storageFolder'/>


To add the playlists container like this

Code: Select all

<container buildon='res' createClass='object.item.videoItem.movie' class='object.container.storageFolder'/>

<container name='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='playlistrecentlyadded' 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='playlistmostviewed' 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='playlistlastviewed' 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>


Now this wont help you in finding it quickly, as youll have to scroll down to playlists
If you change <container name='playlists'
To become <container name='- Playlists -'
It will show up on the top of the list based on the way sorting works

The other way to change the list in which things appear is like this
By adding upnp:originalTrackNumber= to a container
We can make the root video container sort the sub containers bases in track number
of which we just assisgned to the containers

<container name='playlists' upnp:originalTrackNumber='1'
<container buildon='res' upnp:originalTrackNumber='2'


This would negate the need to rename the <container name='- Playlists'
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

xmantium
Posts: 3
Joined: Sun Mar 20, 2011 9:32 pm
AV Hardware: QNAP 639 Pro Running TwonkyServer

Bravia 52NX803
XBOX 360 Slim
PS3 Slim

Re: Navtree (How to show folders at the root solved and more

Postby xmantium » Wed Mar 23, 2011 9:43 pm

I've tried the second option, playlists still shows up on my client but now it shows up in every folder I go into... :x

I'm gonna have to try the first option

I used to use default advanced view before and the playlist used to be hidden on my client... Going to tinker with setting 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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Mar 23, 2011 10:10 pm

I think I know why playlists showed up inside of each folder
Have to go try some tests, to remember why that happens
just cant remember why at the moment

I have attached an example that should work for your scenario
which is what I put in a previous post
as long as you assign the bravia view, to the tv, it should be ok
Attachments
xmantium Custom Navtree Scenario 1.zip
(2.83 KiB) Downloaded 348 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

MartinS
Posts: 24
Joined: Thu Mar 25, 2010 10:08 pm
AV Hardware: Buffalo LinkStation Pro (V2, 3TB [2TB], TMS 6.0.38)
Buffalo LinkStation Pro (V2, 1TB, TMS 6.0.38)
Buffalo LinkStation Live (2TB, TMS 6.0.38)
Cisco Linksys WRT610N (DD-WRT build 18024)
Philips 52PFL9704H
WD HD TV Live (1.6.15)
Philips NP2900
Noxon iRadio
HTC Sensation (CoreDroid 2.7 [Android 2.3.4], TM 2.1.2)
HTC Desire HD (Stock ROM [Android 2.3.3], TM 2.1.2)
Apple iPad2 (64GB, 3G, iOS 5.0.1, TM 2.1.2)

Re: Navtree (How to show folders at the root solved and more

Postby MartinS » Wed Mar 30, 2011 10:22 pm

Dear Phibertron,

I read your navtree thread and tried scenario 1 (http://twonkyforum.com/viewtopic.php?f=2&t=9353&p=34320#p34292) to not show "by folder" but everything that's within this folder at the video root of the navtree, so my Twonky client would show all this content immediately when I choose "Video", not having to click on "by folder".

So I altered the two XML files - MartinsDefault.xml and views-definitions.xml - this way:

<view name='MartinsDefault' path='MartinsDefault.view'>
<navtree>
<container id='music'>
<link id='music/artistalbum' />
<link id='music/albums' />
<link id='music/folders' />
<link groupid='music/onlineservices' />
</container>
<container id='picture' >
<link id='picture/all' />
<link id='picture/folders' />
<link id='picture/year' />
<link id='picture/date' />
<link id='picture/keywords' />
<link id='picture/albums' />
<link id='picture/rating' />
<link id='picture/playlists' />
<link groupid='picture/onlineservices' />
</container>
<container id='video' />
</navtree>
</view>

...and just deleted stuff in the video section of view-definitions.xml leaving this...

<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 buildon='res' createClass='object.item.videoItem.movie' class='object.container.storageFolder' />
</container>

But it would only show one file on the web config page and the "Video" node would not be accessible anymore on any Twonky client. I have the Buffalo LinkStation version 6.0.32 of TMS installed.

Is there anything you could see I am doing wrong here?

Thank you very much in advance!

Cheers,

Martin

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Mar 30, 2011 10:48 pm

The problem is with your view-definitions.xml

1.

I do the following so that the other view.xml files dont make twonky go kaplooey

<view name='base' viewlist='advanced' guilist='advanceddefault'>

you could change it to

<view name='base' viewlist='MartinsDefault' guilist='MartinsDefault'>

2.

All the stuff that exist in the video section of view-definitions.xml just can not be blindy deleted
which is why if you look at the the view-definitions.xml example I showed, I moved it out of the video section
twonky expects the id to exist and be defined, if not, you get blamo
I'm just leveraging that to our advantage
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Mar 30, 2011 11:03 pm

I went ahead and made the changes for you to point it to the martins view
I've attached them below
Let me know if there are any issues or if you have questions about what i changed
which is basically what I just mentioned in the previous post
Attachments
MartinS Custom Navtree Scenario 1.zip
(2.37 KiB) Downloaded 372 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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Mar 30, 2011 11:46 pm

If you were wondering

I used name='Martins View'
which is the name one has to use in guilist='Martins View
and if for some reason if viewlist is the same as guilist
it shows a blank name for the view in the gui

<view name='Martins View' path='Martins.view'>

<view name='base' viewlist='Martins' guilist='Martins View'>
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

MartinS
Posts: 24
Joined: Thu Mar 25, 2010 10:08 pm
AV Hardware: Buffalo LinkStation Pro (V2, 3TB [2TB], TMS 6.0.38)
Buffalo LinkStation Pro (V2, 1TB, TMS 6.0.38)
Buffalo LinkStation Live (2TB, TMS 6.0.38)
Cisco Linksys WRT610N (DD-WRT build 18024)
Philips 52PFL9704H
WD HD TV Live (1.6.15)
Philips NP2900
Noxon iRadio
HTC Sensation (CoreDroid 2.7 [Android 2.3.4], TM 2.1.2)
HTC Desire HD (Stock ROM [Android 2.3.3], TM 2.1.2)
Apple iPad2 (64GB, 3G, iOS 5.0.1, TM 2.1.2)

Re: Navtree (How to show folders at the root solved and more

Postby MartinS » Thu Mar 31, 2011 7:13 pm

Dear Phibertron,

I already had everything in place - I even saw that you moved the content from inside the video container to the top - but since I could not understand why I would not work if I just deleted the lines I did not try to just move the lines.

Thank you so much, it is working like charm :-)

You're the best.

Cheers!

Martin

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Thu Mar 31, 2011 7:30 pm

Nice! Thanks Man

Yeah, there is a lot of things going in there, that I learned from cause and effect
You know, the lets see what it does if I do this approach
Of course with lots of head scratching
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

MartinS
Posts: 24
Joined: Thu Mar 25, 2010 10:08 pm
AV Hardware: Buffalo LinkStation Pro (V2, 3TB [2TB], TMS 6.0.38)
Buffalo LinkStation Pro (V2, 1TB, TMS 6.0.38)
Buffalo LinkStation Live (2TB, TMS 6.0.38)
Cisco Linksys WRT610N (DD-WRT build 18024)
Philips 52PFL9704H
WD HD TV Live (1.6.15)
Philips NP2900
Noxon iRadio
HTC Sensation (CoreDroid 2.7 [Android 2.3.4], TM 2.1.2)
HTC Desire HD (Stock ROM [Android 2.3.3], TM 2.1.2)
Apple iPad2 (64GB, 3G, iOS 5.0.1, TM 2.1.2)

Re: Navtree (How to show folders at the root solved and more

Postby MartinS » Thu Mar 31, 2011 8:31 pm

Dear Phibertron,

another update and I think a pretty interesting one:

it is working on my Buffalo LinkStation Pro V2 (1TB) which displays the following...

Version: 6.0.32
Videos: 346
Server build date: Mar 10 2011 p28

But THE SAME configuration files are NOT working on my Buffalo LinkStation Live (2TB) displaying this...

Version: 6.0.32
Videos: 2187
Server build date: Mar 10 2011 p33

Since the LS Live is the drive with old stuff on it and I am using the other one 95% of the time anyway I don't mind, but it got me curious...p28 & p33...these are seperate builds with the same version?

Cheers,

Martin

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Thu Mar 31, 2011 8:40 pm

If remember that is related to the processor and not the build
meaning its telling you what proc its running on
for ex: mine on a intel is p6
that one through me for a loop a while back also :D
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

MartinS
Posts: 24
Joined: Thu Mar 25, 2010 10:08 pm
AV Hardware: Buffalo LinkStation Pro (V2, 3TB [2TB], TMS 6.0.38)
Buffalo LinkStation Pro (V2, 1TB, TMS 6.0.38)
Buffalo LinkStation Live (2TB, TMS 6.0.38)
Cisco Linksys WRT610N (DD-WRT build 18024)
Philips 52PFL9704H
WD HD TV Live (1.6.15)
Philips NP2900
Noxon iRadio
HTC Sensation (CoreDroid 2.7 [Android 2.3.4], TM 2.1.2)
HTC Desire HD (Stock ROM [Android 2.3.3], TM 2.1.2)
Apple iPad2 (64GB, 3G, iOS 5.0.1, TM 2.1.2)

Re: Navtree (How to show folders at the root solved and more

Postby MartinS » Sun Apr 03, 2011 8:52 pm

Dear Phibertron,

after moving the contents of "by folder" to the top of the navtree some files were missing - all MKV, more or less the last files to be displayed (alphabet) - but when I move then at least one folder downwards TMS immediately has them.

They will not be shown on my WD TV Live HD or both TMS web pages, so I guess they are really not in TMS' database.

I reverted my configuration back to standard "by folder" - I don't want to get into trouble with my wife ;-)

Anyway - again, thank you very much for your help! Much appretiated!

Cheers,

Martin

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Mon Apr 04, 2011 1:28 am

Yeah there is some odd stuff with using the buildon='res' command
and how it builds the container
It gets worse if you use it outside of the video container
meaning, makeing the by folder a root container like video, music, photo's are
in essence a 4th container

I hope we see some improvements on navtree's in the upcoming 6.1
and I hope we dont have to wait to 7.0 to see things change
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

jdz
Posts: 2
Joined: Tue Jun 21, 2011 2:55 pm
AV Hardware: ABEO H2003

Re: Navtree (How to show folders at the root solved and more

Postby jdz » Mon Jul 04, 2011 3:28 pm

Hi Phibertron and/or others

I've got a so called Abeo-H2003 "Internet Radio Adaptor". The Internet-Radio-part plays fine. But the little machine should also work as an UPNP mediaplayer. And that is where the difficulties start.

The Abeo has great difficulties with navigation trees. Most of the time it looses direction in it. Where it should come with songs, it sometimes comes with completely different albums, or it is starting over again with the 'music' map.

This great and interesting forumthreat gave me the opportunity to try some different navtrees. It came out that the Miktle-test-4 gave pretty good results. Better than ever before. The Abeo seems to work now, under one strong condition: I may not use any subdirectories. I have to place all my musicalbums directly in the music-map. I cannot make any diversions like 'classical' or 'Beatles', or 'CD1' and 'CD2'. So I have a long list of >1000 foldernames now.

I did a little experiment. I reduplicated one single music map, and placed it in a subdirectory. As expected I could play the songs placed in the maindirectory (music -> albumdir -> songs.mp3). But I could not play (most of) the songs in the subdirectory (music -> subdirectory -> albumdir ->songs.mp3). The Abeo showed (in this case) only the first song - but as a map.

With telnet I can see that the Abeo stores tree-information in a file called upnpdir.dat. This is what it showes:
Example 1 - album in maindir - works (shows and plays all songs):

OvertureO0$8I16650.mp3The Ballad of Mack the KnifeO0$8I16906.mp3Mr. Peachum&apos;s Morning HymnO0$8I17162.mp3Instead-of SongO0$8I17418.mp3Wedding Song for Poor PeopleO0$8I17674.mp3Cannon SongO0$8I17930.mp3 etc. etc.

Example 2 - album in subdir - does not work (shows only first song 'overture', as a map):
0$263$264$OvertureOvertureO0$8I16650.mp3The Ballad of Mack the KnifeO0$8I16906.mp3Mr. Peachum&apos;s Morning HymnO0$8I17162.mp3Instead-of SongO0$8I17418.mp3Wedding Song for Poor PeopleO0$8I17674.mp3Cannon SongO0$8I17930.mp3etc. etc.

Does anybody have any idea what could e the cause of errors like these - and how to construct the Twonky xmls in a way that this error will be overcome?
TIA
JDZ

CharlesBrowner
Posts: 6
Joined: Sat May 14, 2011 9:10 am
AV Hardware: Noxon IRadio Cube

Re: Navtree (How to show folders at the root solved and more

Postby CharlesBrowner » Tue Aug 23, 2011 4:56 pm

Hi everybody,

is there also a solution for the Revo Axis (http://www.revo.co.uk/digital-radio/revo-axis.php)?

Many thanks

User avatar
Fozzie Bear
Posts: 15
Joined: Tue Sep 01, 2009 3:11 pm
AV Hardware: Dell Poweredge 830 server running Windows Home Server PP2
1 PC with Vista Media Centre Edition
2 PCs with XP 2005 MCE

Re: Navtree (How to show folders at the root solved and more

Postby Fozzie Bear » Thu Sep 08, 2011 12:02 pm

Hi, Thanks for a fantastic post that has really helped people out. Unfortunately much of the code and how it works goes right over my head, and I am not trying to do anything fancy but it relates to your opening premise.
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


I am using Twonky Server to stream to two Bravia TVs. However the rub is in the way the tree is displayed on the TV cross bar. Like the playstation 3 you can navigate side to side across the menu bar and choose Analogue TV, Digital TV Pictures, Music Video etc.
Under the Twonky Server by default you get under Music sub folders for Video, Music and Pictures, under the menu for Video you get sub folders for Video Music and Pictures and the same again for the Pictures menu.

This is a bit confusing as nothing will display if you choose pictures under the Video option or video under the Pictures option. Is there a way to modify the tree menu to display only the appropriate sub folder under each option or ideally no sub folder at all so that when you choose Twonky Server under Video you only see the sub folders By Date, By Folder By Title etc,
If the folders cannot be removed can they at least be hidden? Perhap this has already been acheived by someone but I have trawled through various posts and forums and can't find what I need.
Regards
Fozzie

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Thu Sep 08, 2011 3:07 pm

@Fozzie Bear

Many streaming media client devices just enumerate the root folders of a DLNA server
As you already know, this is what you are seeing with the PS3
There are a couple of devices (an xbox for example) wich actually do navigate
to the appropriate media type off of the root folders of a DLNA Server
But the xbox is limited in media file type support, so it isnt the best choice as a client

If all you want to use the PS3 for is Video streaming from Twonky
then either of the two below tweaks will do the job
(note: if done, then under photo or music, you will see what the video tab see's
so in essence you wont be able to stream them to the ps3)

Scenario 5 show only video folders at the root of the navtree
viewtopic.php?f=2&t=9353&p=34320#p34296

Scenario 10 show the default video containers at the root
viewtopic.php?f=2&t=9353&p=34320#p34302
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
Fozzie Bear
Posts: 15
Joined: Tue Sep 01, 2009 3:11 pm
AV Hardware: Dell Poweredge 830 server running Windows Home Server PP2
1 PC with Vista Media Centre Edition
2 PCs with XP 2005 MCE

Re: Navtree (How to show folders at the root solved and more

Postby Fozzie Bear » Thu Sep 08, 2011 6:00 pm

Hi Philberton,
Many thanks for the quick reply.
Unfortunately either I dont quite understand your reply or I have not explained the scenario adequately.

I am streaming from a Windows Home Server directly to a Sony Bravia tv(s), not to a PS3. The only reason I mentioned this is that as both are made by Sony the menu bars are almost identical and may have been more familiar to you.

I wish to stream video, photos and music to my TV but as I tried to explain using the default Advanced Media View and on the media sharing section selecting Only video for Video, Only music for Music etc I still get three folder under each of the media types.
To demonstrate please see photos of TV screen:-
Playstation like menu bar
https://skydrive.live.com/?docsf=1&BICIRefSrc=OLW&BICIRefPub=SDX.Docs&sc=documents#!/?cid=D61E6D97C941151F&id=D61E6D97C941151F%21133&sc=documents

Root?? folders when selecting Video (note the three folders two of which do not relate to the media):-
https://skydrive.live.com/?docsf=1&BICIRefSrc=OLW&BICIRefPub=SDX.Docs&sc=documents#!/?cid=D61E6D97C941151F&id=D61E6D97C941151F%21133&sc=documents!cid=D61E6D97C941151F&id=D61E6D97C941151F%21131&sc=documents

Subfolders of Video as served up by the Advanced Media view selected in Twonky:-
https://skydrive.live.com/?docsf=1&BICIRefSrc=OLW&BICIRefPub=SDX.Docs&sc=documents#!/?cid=D61E6D97C941151F&id=D61E6D97C941151F%21133&sc=documents!cid=D61E6D97C941151F&id=D61E6D97C941151F%21126&sc=documents

And finally two further images of Photos and Music both with three "root"????? folders two of which do not relate to the media type

Photos https://skydrive.live.com/?docsf=1&BICIRefSrc=OLW&BICIRefPub=SDX.Docs&sc=documents#!/?cid=D61E6D97C941151F&id=D61E6D97C941151F%21133&sc=documents!cid=D61E6D97C941151F&id=D61E6D97C941151F%21127&sc=documents and
Music https://skydrive.live.com/?docsf=1&BICIRefSrc=OLW&BICIRefPub=SDX.Docs&sc=documents#!/?cid=D61E6D97C941151F&id=D61E6D97C941151F%21133&sc=documents!cid=D61E6D97C941151F&id=D61E6D97C941151F%21128&sc=documents

What I am trying to achieve is either a single folder under each media type ie Video under Video menu, Music under Music menu etc or better still just the sub categories ie under Video Menu All Videos, By Date, By folder etc and under Photos All Photos, By Folder, By Date etc etc.
Will any of your scenarios achive the above result?
Fozzie
ps sorry for messy post but you cannot upload images on forum and I had to do a quick and dirty to Skydrive

User avatar
Briain
Posts: 478
Joined: Thu Jan 03, 2008 8:07 pm
AV Hardware: Linn Klimax DS
Linn Majik DS-I
Linn Sneaky DS
WDTV Live Hib
Sonos 80
Location: Edinburgh, Scotland

Re: Navtree (How to show folders at the root solved and more

Postby Briain » Tue Sep 13, 2011 6:07 pm

salsaholic wrote:Hello Phibertron,
wow, this is an impressive thread!
Do you know if the following would be possible:
Offer a few different options in root like "ChildrensMusic", "Classical", "Mainstream", which all point to different (sub-)directories. From there on I would like to see the normal navigation options (or just some of them), like "artist/album", "by year" and so on.


Hi Salsaholic

I was reading this post chain and was pondering the idea (unsuccessfully), then someone asked the exact same question on the Linn forum! :)

I don't think there's an easy way to do it by folder segregation, but I have done something similar in that I have a copy of my NAS at my mother's house (with 24,600 FLAF files) and have come up with a way to separate a bunch of albums she likes (so she can find stuff without having to deal with thousands of my rubbish albums).

I've copied the post below, and in the example below, you could use "-ChildrensMusic", "-Classical" and "-Mainstream" in place of "-Person 1", "-Person 1" and "-Person 3". The thing is that this is only really useful when using my custom tree packs (which have been designed to cater for large music collections) as in these, I have designed a bespoke genre container to cater for it (well, it was actually designed so I could use genre/composer/album and genre/composer/artist etc, but it also works well for the below scenario).

In case you are interested, I've below this are the links to the two tree packs that would make this fly, and below that is a copy of my Linn forum post which describes how you can do it via the multiple genre featrue.

Tree pack downloads (you'll likely want the second pack; the first pack is for folks who wish to use the album artist tags).

Album Artist version: click here (Aug 2011)
Artists only version: click here (Aug 2011)

NB Though the custom containers only show in advanced media view, don't be tempted to delete the [now somewhat 'minimalized'] standard PV ones from view.definitions as they not only ensure greater device compatibility, but their presence also significantly decreases the db rebuild times; counterintuitively, removing them actually slows things down! Note that they're also only applicable to music (the picture and video containers are both the usual PV advanced ones) and they only add real value if your music tagging is in high order (I do like my caveats) but all that said, the below concept does actually work.

My Linn forum post

Hi

I'm having a think about this and nothing is springing to mind as an obvious solution. I can see the potential attraction of the idea, the obvious for me being that I could separate my compilations (of which there are lots) and browse either the comps or the single artist albums. Another use could be for my mother's NAS (there's no point in her having to wade through all that techno, house, punk, etc). On the flip side, it means you have two places to search for things instead of one. :)

I don't think there's a way to do this at the moment, and the nearest you can get is to use the multiple genre feature to combine groups of albums, but due to the work retagging them, this is only really suitable for ring-fencing a small group of albums. I've done this to cut the 'browse' quantity for my mum's system, I've created a new genre with her name (and a - in front of it; that takes it to the top of the list).

This is better described by example, so in the above case, I could create a genre called -Person 1 and another called -Person 2 (then appended these to the existing genres). So to take that rather splendid Linn 24/192 Beethoven 3, 4 & 5 album, the genre entry for it could be as below:

Classical,Classical - Piano,Chilled,-Person 1,-Person 3 (not the lack of spaces between the terms)

From small sections copied from my actual genre list, that album would appear in -Person 1, -Person 3, Chilled, Classical and Classical - Piano, but not anywhere else (so not in -Person 2).

-Person 1
-Person 2
-Person 3
Acid House
Acid Jazz
Acid Rock
Acoustic
.
.
.
Chilled
Classical
Classical - Piano
.
.
.
World - Moroccan
World - Pakistan
World - Senegal
World - Tuva
World - Zydeco

By doing it that way, it means you can still browse in the normal way as that album is still under 'Classical' etc, but also means you have people-centric containers (right at the top of the list) to give them swift access to their favourites. Given that entering the Genre container in my tree gives you the below options (in other words, the below is the new sub-menu that you see after selecting your genre 'filter' of '-Person 1' etc):

-Album Artists-
-Track Artists-
-Composers-
-Albums-
-List Tunes-

It means each person has a very comprehensive selection music pre-filtered to only the albums they like (so clicking on -Albums- will only show their favourite albums). Of course, it still means they can access the albums in the normal way (from the 'upper' containers) so it's not going to hide any swearing albums from your kids; I don't have kids and thus that's okay for me :)

Bri
Last edited by Briain on Wed Sep 14, 2011 8:26 am, edited 14 times in total.

Smuge
Posts: 2
Joined: Tue Sep 13, 2011 9:38 pm
AV Hardware: Lacie mini HD connect, Buffalo Nas, computer

Re: Navtree (How to show folders at the root solved and more

Postby Smuge » Tue Sep 13, 2011 10:03 pm

Hello.

New here and tired to find good navtree but no luck... Should those XML on this thread install just by replacing the advanced.view.xml and view-definitions.xml on the TwonkyMedia\resourcs\views and replacing the old ones and selecting the "advanced view" on websettings?

I have tried to find very easy and simple xml code to show my navtree way i would like it should be done.

I'm using my computer + buffalo harddrives as file storage and multiple folder on a different disks.
Heres what I would like it to show when I start my Lacie HD and select mediaserver(twonky)... Some thing or just like on a computer style... On the root! like my example..

D:\videos\ -> Folder ABCD --> Alfa, Beta, Celcius and under those are finally files on those folders !
Folder EFGH --> Ex,Farao, etc.....
Folder etc...
Folder ALL VIDEOS


E:\Music --> Folder ABCD (same multi folder type as before)

E:\Photos --> Same again

F:\Picture --> Same again.

F:\Music --> Same again.

So there is many hard drives on computer and folders also but I wish some one could make this simple view type to ready-install XML file.. :mrgreen: :?:

User avatar
Briain
Posts: 478
Joined: Thu Jan 03, 2008 8:07 pm
AV Hardware: Linn Klimax DS
Linn Majik DS-I
Linn Sneaky DS
WDTV Live Hib
Sonos 80
Location: Edinburgh, Scotland

Re: Navtree (How to show folders at the root solved and more

Postby Briain » Tue Sep 13, 2011 11:02 pm

Hi

I can't speak for all the hints and tips (and files) on this thread as I haven't tried them. For my ones (a couple of posts up) they are a complete package (of XML files) to directly replace the original files in the /resources/views folder. If experimenting yourself, the best thing to use is Notepad++ (and it's free) as that not only shows the layout correctly, but it also shows links between the container starts and closures (in the form of purple vertical lines) and thus shows up any mistakes (I'm good at mistakes and thus find that invaluable). :)

It also gives the option to save them in Unix 'End of Line' (EoL) format and thus in the correct format for Linux based NAS devices.

Bri

Smuge
Posts: 2
Joined: Tue Sep 13, 2011 9:38 pm
AV Hardware: Lacie mini HD connect, Buffalo Nas, computer

Re: Navtree (How to show folders at the root solved and more

Postby Smuge » Wed Sep 14, 2011 6:45 pm

Thanks for fast reply.

Yes and I have tried sooooo many variations on this post and other post i could find, but the common problem is that when I want to seek out a photo or video it just shows ALL OF THEM in a lump.

Hope you understand sample...

I know that the video is in D:\Video\Youtube\*artist* and on Youtube folder has 20 folders only like Fav.,Dance,Dance 2, Rock

But it adds all the video files on D:\ + all the others folders videos from E:\ F:\ Same thing in music and photos.

IF i just could browse my system like PC ?? There should be that feature style from the beginning. Thats the basic folder view style that everyone uses everery day on PC !! :evil:

OR is the any other program like twonky (simple and easy and fast to change settings) that has already that feature viewing style ?

Thanks for the replies :D

User avatar
Fozzie Bear
Posts: 15
Joined: Tue Sep 01, 2009 3:11 pm
AV Hardware: Dell Poweredge 830 server running Windows Home Server PP2
1 PC with Vista Media Centre Edition
2 PCs with XP 2005 MCE

Re: Navtree (How to show folders at the root solved and more

Postby Fozzie Bear » Thu Sep 15, 2011 3:29 pm

Hi all,
I am still trying to get a definitive answer to my question posted to Philberton.
In order for the Navtree to work at all is it critical that you have the three root folders under each media type eg
Under Video there are Music, Photo and Video folders under Music there are Music Photo Video folders etc. or is this just how my Bravia TV displays the tree.
All I want to do is remove the two non applicable folders under each media type so under Video all I have is a Video folder containing sub folders and the same for music and photos. Surely this is not impossible to achieve?
Are there any Bravia TV owners out there that have cracked this?
regards
Fozzie

JoeSammamish
Posts: 9
Joined: Mon Oct 11, 2010 5:21 pm
AV Hardware: Western Digital My Book World Edition II (WDH2NC20000N) NAS
Twonky Media server (version 5.1?) came pre-installed on the WD NAS
Denon AVR-3310CI receiver
Windows 7 laptop

Re: Navtree (How to show folders at the root solved and more

Postby JoeSammamish » Fri Sep 16, 2011 6:31 am

I'm mostly happy with the default navigation, except that when I am in "Artist / Index" or "Artist Album" and have multiple albums by an artist, the albums are sorted alphabetically rather than chronologically. I would prefer that the albums be sorted chronologically (Neil Young / Everyone Knows This is Nowhere / After the Gold Rush / Harvest / etc.).

Can anyone post a Navtree so that I get Artist / Album and Artist / Index / Album sorted chronologically? I am using TwonkyServer 6.0.32.

Thanks!

mcweck
Posts: 4
Joined: Wed Oct 06, 2010 10:15 am
AV Hardware: Twonky Server Version: v6.0.34
Server: ReadyNAS Duo (RAIDiator 4.1.8 [1.00a043])
NOXON iRadio Cube
NOXON iRadio 300
Panasonic TX-L 37 EW 30 S
Contact:

Re: Navtree (How to show folders at the root solved and more

Postby mcweck » Sat Sep 17, 2011 6:40 pm

Really great work, thank you. Would just be cool to sort mp3 files NOT by Track Titel as more by TrackNumber. Found in a different post a How to but could not adapt it into your files.

"sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber'"

btw: was using example 4.

colognesupporter
Posts: 1
Joined: Sat Oct 15, 2011 12:59 pm
AV Hardware: WD My Book World Edition II (2TB) with Twonky Media Server 5.1.9
Panasonic TX-P42GW20

Re: Navtree (How to show folders at the root solved and more

Postby colognesupporter » Sat Oct 15, 2011 3:31 pm

hi,

I use the wd my book world edition II with twonky media server 5.1.9. In the folder view the music files are sorted by trackname (id3tag) and the videos are sorted by date (it doesn't matter if I access via tv (panasonic tx-p42gw20) or via pc over webinterface).
Is there a way to get the directories and files appear just as they are on the nas (sorted alphabetically by file name)?
I've read a lot of posts in this forum, but not yet found a solution for my problem. the various scenarios don't seem to work well for my problem.
I hope someone can help.

User avatar
Fozzie Bear
Posts: 15
Joined: Tue Sep 01, 2009 3:11 pm
AV Hardware: Dell Poweredge 830 server running Windows Home Server PP2
1 PC with Vista Media Centre Edition
2 PCs with XP 2005 MCE

Re: Navtree (How to show folders at the root solved and more

Postby Fozzie Bear » Sun Oct 16, 2011 1:10 pm

Hi guys, well I finally found out the reason for the multiple root folders. Shame I only got response and a solution from another forum!
Its related to the dlna standard which presumably dictate the number of root folders for each media type.

Looks like twonky developers haven't seen it as a priority for users? Unlike serviio who have just released version 0.6 which effectively hides the folders by tricking the transcoder. Needless to say I have reluctantly abandoned twonky server and installed serviio and I am really pleased especially the thumbnails for videos.
Fozzie

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Oct 19, 2011 6:04 pm

Smuge wrote:Thanks for fast reply.

Yes and I have tried sooooo many variations on this post and other post i could find, but the common problem is that when I want to seek out a photo or video it just shows ALL OF THEM in a lump.

Hope you understand sample...

I know that the video is in D:\Video\Youtube\*artist* and on Youtube folder has 20 folders only like Fav.,Dance,Dance 2, Rock

But it adds all the video files on D:\ + all the others folders videos from E:\ F:\ Same thing in music and photos.

IF i just could browse my system like PC ?? There should be that feature style from the beginning. Thats the basic folder view style that everyone uses everery day on PC !! :evil:

OR is the any other program like twonky (simple and easy and fast to change settings) that has already that feature viewing style ?

Thanks for the replies :D


One possible way to sort of achieve this, is to modify your video sources in two ways

1.
you would have to move all existing folders into a sub folder

for ex:

If I had a source folder of d:\videos\ with sub folders, I would create a sub folder called D
and would now have d:\videos\d\ with sub folders

2.
you would then modify twonky to include this point "d:\videos\"
doing step 1 and then step 2
would show "D" when looking under folders,
and you could then drill down from there

for ex:
say you had an additional drives E
say on drive E you had videos in e:\mysuff\video
you would create a folder in video called E, and move all videos into it
so E was the only folder in it, and all sub folders below it
if you then added "e:\mystuff\video" as additional share to the video section
when viewing by folder you would see at the root D and E
and could drill down accoridngly

Sure this tactic makes one have to modify the share structure,
but it is the only way I can think of to achieve the output at present

Note
for ex:
say you had a 3rd drive of F just like E
say it had f:\mysuff\video
if say you created a subfolder of E as opposed to F
in foldre view you would only see one E,
as twonky concatenates folders it sees at the same level
which can be a good thihng or a bad thing =)

hope this helps
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Oct 19, 2011 6:09 pm

Fozzie Bear wrote:Hi guys, well I finally found out the reason for the multiple root folders. Shame I only got response and a solution from another forum!
Its related to the dlna standard which presumably dictate the number of root folders for each media type.

Looks like twonky developers haven't seen it as a priority for users? Unlike serviio who have just released version 0.6 which effectively hides the folders by tricking the transcoder. Needless to say I have reluctantly abandoned twonky server and installed serviio and I am really pleased especially the thumbnails for videos.
Fozzie


the standard doens dictate it the rigiidly, its the clients that do
but it can still be manipulated to show a lot
what cant be changed is how the top parent works
for ex: on a ps3 when going to the video nav bar
it will show what is on the network, as devices,
it can not be hard coded to a device
many devices work this way

sadly all software and hardware have +'s and -'s
sometimes its pick your poison, and sometimes its pick you preference
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Oct 19, 2011 6:20 pm

mcweck wrote:Really great work, thank you. Would just be cool to sort mp3 files NOT by Track Titel as more by TrackNumber. Found in a different post a How to but could not adapt it into your files.

"sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber'"

btw: was using example 4.


in this post i think i have it the way you want

http://twonkyforum.com/viewtopic.php?f= ... 320#p34540
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Oct 19, 2011 6:35 pm

colognesupporter wrote:hi,

I use the wd my book world edition II with twonky media server 5.1.9. In the folder view the music files are sorted by trackname (id3tag) and the videos are sorted by date (it doesn't matter if I access via tv (panasonic tx-p42gw20) or via pc over webinterface).
Is there a way to get the directories and files appear just as they are on the nas (sorted alphabetically by file name)?
I've read a lot of posts in this forum, but not yet found a solution for my problem. the various scenarios don't seem to work well for my problem.
I hope someone can help.


like the previous post i just replied to
youll have to modify the defeault sort criteria in the music section in the xml
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

sonofdad
Posts: 1
Joined: Sat Nov 05, 2011 8:33 am
AV Hardware: Windows 7
WHS
Xbox 360

Re: Navtree (How to show folders at the root solved and more

Postby sonofdad » Sat Nov 05, 2011 8:43 am

I'm hoping someone cn help me with a view I require for browsing video files through my 360 because most of the tutorial goes over my head. I have three differenct 'Videos only' shares setup in Twonky on my WHS; the existing Videos as well as Television and Movies, each of these points to a seperate share on WHS ie D:\Shares\[folder]. When I select TMS from the videos screen on my 360 all I'd like to see is each seperate share (Videos, Television, Movies) and when I select either I see the folder structure of that share. EG select Television see folder list TV series 1, TV series 2, etc

Is this possible? I really thought Twonky would be capable of doing this by default given it allows for multiple shares to be setup :?

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: Navtree (How to show folders at the root solved and more

Postby phibertron » Sat Nov 05, 2011 6:09 pm

@sonofdad

There are a couple of ways to accomplish what you want

But First...

When twonky is told to look at a folder/share it usually does not include that path as the starting point,
this is even further compplicated when it is pointed to multiple folder/share starting points
I know this doesnt make sense yet, but I had to get that point out so that hopefully the following makes sense.

A. In the case of a single folder d:\shares\videos for video

If you browsed via twonky from any client the "By Folder" would return a list of folders in d:\shares\videos
but never the folder Videos itsef as the parent where you would have to drill down like in explorer


B. In the case of multiple folders d:\shares\videos d:\shares\movies d:\shares\televisionfor video


If you browsed via twonky from any client the "By Folder" would return a list of folders from all 3 shares
and yes again it would never return the root parents in the list
It would though give a concatenated list of sub folders in all 3 shares
which is even further complicated by the following:

If you had a folder d:\shares\videos\favorites and also d:\shares\movies\favorites
you would only see one "favorites" in browsed by folder list returned by twonky
becase the twonky is concatenateing the list and they at the same level off of the root shares


Note:
The semi-exception to the above is if one uses the "By Album"
and a video file is literally in one of the root folders and not a sub folder off of the root
it will return the name of the root folder
however, the returned list would still be concatenated, and would not be a tree list
it would be a complete list of all folders that had video, not what you wantr

So what are your choices with what I just talked about...

Choice 1.

You can keep using the multiple shares, and not have to change anything,
but you will have to create create sub folders in them and move all the content into that folder
this will make "By Folder" return those as the 3 root folders for real

move all content of d:\shares\videos to d:\shares\videos\videos
move all content of d:\shares\movies to d:\shares\movies\movies
move all content of d:\shares\television to d:\shares\television\television

Choice 2.

You can not use the two additional shares, and just one share, still have to move folders though

move all content of d:\shares\videos to d:\shares\videos\videos
move all content of d:\shares\movies to d:\shares\videos\movies
move all content of d:\shares\television to d:\shares\videos\television

Choice 3.

You could use d:\shares\ as the root in twonky BUT!!!
you will have to edit the ignoredir= in the twonky server.ini to include a list of folders
to not look at for content

I use Choice 2, I also run a WHS =)
I go a step further and in videos\videos I have sub folders for each genre

Yes this all sounds like a move from the department of redundancy department
But it is what it is
And yes when looking at the share via \\server\videos
it would see \\shares\videos\videos \\shares\videos\movies \\shares\videos\television

a 4th choice could be to use choice 2 with a twist
and is to repoint on whs the shares for videos to the respective new folder in the d:\shares\video
and for the movies and televsion shares
so you would then have the appearance as if things had never changed from a \\share point of view
on your network, while still gaining what you want from twonky
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Wed Nov 09, 2011 8:42 pm

@sonofdad

I have been recenlty playing with the twonky server 7 included with the my twonky portal
and diging through the server ini I noticed the following

# set to 1 to include the folder name of the shares in the 'By Folder' navigation
includefolder=0


setting to 1 does exactly what you are looking to do right now

I went ahead and tested it on 3 roots that were in different locations
and it works like a charm

So if you can hold off making any major changes right now
you should be able to leverage this on the as of yet unreleased 7.x standalone version
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

gregorv
Posts: 11
Joined: Thu Nov 24, 2011 5:01 pm
AV Hardware: Fritz!Box

Navtree differenciate different types of same media

Postby gregorv » Sat Dec 10, 2011 1:28 pm

@phibertron

First a big thanks for your work - really helpfull. :!:
I found some approaches for my main problem - to have seperate root selections for music and audio books (both mp3).
Some experiments with folders looked promising, but finally do not exactly what I want.
The goal is to have them strictly seperated and to have different lower level selection criteria for them ( e.g it makes no sense to list all audio book files alphabetically or list all audio book files from one author. Not to talk about namings - for music an artrist is the same like an author for audio books).
The best approach seems your idea to run multiple instances of TwonkyMediaServer. But I am afraid to overload my FritzBox where Twonky is running on.
Two other possibilities may work as well:
1. As I do not need video, could it be possible to place the audio books into a modified video section
2. To use multi genres, if containers could differenciate between position of genres

I tried 1. but did not get it to work. I tried it before I found your post and am sure that I did not obbey all the rules that you found. So this may be the reason why it did not work.
Question: Do you think that it could be possible to make the video section handle mp3 files ?

For the second approach this only would work as wanted, if it would be possibe to create genre containers that only look for the first genre and below that to create genre containers that only look for the second genre ...
Question: Did you ever experiment with this and possibly found a way to do so ?

Another question you may have stubled over. For music I like to set my player to shuffle, which brings me into great trouble, if my wife starts an audio book without knowing what shuffle is.
Would it be possible to assign anyhow the shuffle / no shuffe mode to the views ?
I know, this is more a client question but who knows - may be there is a way to control the clients mode.

Of course any other thread reader is also invited to add his ideas here - it seems I am not allone with that needs :wink:

raphidae
Posts: 2
Joined: Fri Dec 16, 2011 12:43 am
AV Hardware: Mvix + TwonkyServer on WIndows SBS 2011

Re: Navtree (How to show folders at the root solved and more

Postby raphidae » Sat Dec 24, 2011 2:08 pm

Thanks for the time you put into this post :)

I'm having some problems getting scenario 9 to work with TwonkyServer 6.0.38.

I have a storage directory that already has the structure that I want, like so:

----
Directory of D:\STORAGE

12/16/2011 01:19 AM <DIR> .
12/16/2011 01:19 AM <DIR> ..
12/20/2011 01:55 AM <DIR> !_NEW
07/21/2011 06:30 PM <DIR> GUESTSPACE
12/16/2011 01:10 AM <DIR> _CLIPS
12/16/2011 01:10 AM <DIR> _DEBATES
12/16/2011 01:10 AM <DIR> _DOCU
12/16/2011 01:10 AM <DIR> _MOVIES
12/16/2011 01:10 AM <DIR> _MUSIC
12/16/2011 01:10 AM <DIR> _SERIES
12/14/2011 01:23 PM <DIR> _SOFTWARE
12/16/2011 01:10 AM <DIR> _TTC
0 File(s) 0 bytes
12 Dir(s) 12,778,321,444,864 bytes free
----

I wish this directory structure to be used verbatim by TwonkyServer, regardless of content type. I believe that would require scenario 9.

The directory D:\STORAGE is added with the 'all content types' option and I have replaced the two files that come in the zipfile for scenario 9.

Now, after rebuilding the database the TwonkyServer HTML browser shows only the '!_NEW' directory at the root and my Mvix does not show anything for the media server.

I have tried adding each individual directory to TwonkyServer (D:\STORAGE\!_NEW, D:\STORAGE\GUESTSPACE, etc., etc.), but that results in some (apparently random) files at the root in the HTML interface and still nothing via my Mvix.

In the logs there are a zillion messages like:

12/24/11 14:11:58:504 [Error] - LOG_DB: addContainerToFilteredGroupNode : need more nodes for myfolders
12/24/11 14:11:58:504 [Error] - LOG_DB: addContainerToFilteredGroupNode : need more nodes for myfolders
12/24/11 14:11:58:504 [Info] - LOG_SYSTEM: upnp_translate : NO TRANSLATION FOR
12/24/11 14:11:58:504 [Error] - LOG_DB: addContainerToFilteredGroupNode : need more nodes for myfolders
12/24/11 14:11:58:504 [Error] - LOG_DB: addContainerToFilteredGroupNode : need more nodes for myfolders
12/24/11 14:11:58:504 [Info] - LOG_SYSTEM: upnp_translate : NO TRANSLATION FOR


What's going wrong here and how would I fix this so TwonkyServer just shows the directory tree and nothing else?

Thanks in advance!

jbol
Posts: 4
Joined: Thu Dec 01, 2011 3:09 am
AV Hardware: openfiler NAS

Re: Navtree (How to show folders at the root solved and more

Postby jbol » Sun Jan 08, 2012 4:11 am

nevermind the stuff below - I am modifying scenario 11 to get the results I want and no trouble seeing the html Browser (interestingly, for a while the java browser disappeared)

I hope this is trivial - I just wanted to keep my music folders for my various users separate (eg a folder named music with folders under it named jim, judy, and bob). It seemed that your scenario 7 worked fine except it only works correctly in twonkymanager and the flash version of Media Browser on server. The html version of Media Browser and my Sony Bravia TV only show music and just one of the users under it. If I rename the user folders and/or try capitalizing some I get different users showing up (sometimes 2).
I am running version 6.0.38 on a linux openfiler NAS.
eagerly anticipating your wise and knowledgeable response
jim

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: Navtree differenciate different types of same media

Postby phibertron » Mon Feb 13, 2012 6:32 pm

@gregorv

Sadly none of what you want is completly possible as a whole
About the only one thing can do is to do manual folder creation on the server
and then put approriate content on those folders

I know... =(
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: Navtree (How to show folders at the root solved and more

Postby phibertron » Mon Feb 13, 2012 6:42 pm

@raphidae

What does it show from a web interface view ? (aka a web browser)

What client devices are you using ?
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


Return to “TwonkyServer”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron