Folder Sort

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
mrjlaunch
Posts:3
Joined:Fri Feb 11, 2011 12:35 am
AV Hardware:IcyBox IB-NAS4220-B Server
TViX 6640N Client
PS3 Client
Folder Sort

Post by mrjlaunch » Fri Feb 11, 2011 12:55 am

Hi,

I have a NAS with Twonky v4.4 however I'm looking at purchasing a new NAS that comes preloaded with the latest Twonky.

My problem is my NAS contains lots of Movies, TV shows, Music Videos, etc shared by Twonky but when I browse through the Twonky server with my UPnP clients all of these files are displayed in the video folder without suitable categorisation.

My question, is it possible to setup Twonky to instead of creating a Album or Title folder and listing every single video file inside it, can it create say a movie folder and link only to the movie directory on the server?

Thanks

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Folder Sort

Post by phibertron » Sat Feb 12, 2011 1:27 am

This may or may not help, its a post I wrote on doing some tweaks to the nav tree for video

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

mrjlaunch
Posts:3
Joined:Fri Feb 11, 2011 12:35 am
AV Hardware:IcyBox IB-NAS4220-B Server
TViX 6640N Client
PS3 Client

Re: Folder Sort

Post by mrjlaunch » Wed Feb 16, 2011 11:27 am

Thanks phibertron,

I've had a look but not being very familiar with how Twonky works I can’t really see how I could implement that?

I do see how you have added tags to your video to categorise the genres but I'm guessing it would be time consuming to add tags to all my videos?

From what I understand about Twonky is it operates by incorporating every media file on the HDD into its database discarding its file location and from that mass of data it performs a filter to sort out the media into titles, albums, genres, etc....

I was hoping that I could somehow setup Twonky to link its "nodes" to specific folder locations on the HDD, but it doesn't appear to have this capability?

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: Folder Sort

Post by phibertron » Wed Feb 16, 2011 10:38 pm

Yeah it would be great if we had more control over how twonky builds its tree
Sure we have a lot now, but...

And oh yeah, it is a lot of manual prep work I do to keep things organized
but once you have bulk out of the way, its not too bad
just have to be diligante when adding things

I have an idea on the nodes idea you are talking about
I will test this idea sometime today

so here is the server ini section with the shares denoted

Code: Select all

# CSV list of all shares, prepended by the type (A,M,P,V) and a '+' or '-' sign to flag enabled or disabled shares
contentdir=+M|D:\shares\Music,+P|D:\shares\Photos,+V|D:\shares\Videos
what if we add more than one video share, and how does this affect the by folder enmuration is the question?

Code: Select all

# CSV list of all shares, prepended by the type (A,M,P,V) and a '+' or '-' sign to flag enabled or disabled shares
contentdir=+M|D:\shares\Music,+P|D:\shares\Photos,+V|D:\shares\Videos,+V|D:\shares\Other
with one video share, by folder enumerates all sub folders of that share, and then you navigate through those
even with the proposed change as above, it would probably list all the folders in both shares as one list in by folder
so my guess is, if in the root of each of those shares we move all the sub folders into a sub folder

for ex:
if D:\shares\Videos contained folders named after say genre
and if D:\shares\Other was the same
the output of by folder would be a list of all thise genre folders
but if you added a folder in D:\shares\Videos called Videos and moved all of the fodlers into there
and if on the D:\shares\Other we created a folder called other and moved all other folders in there into it
note we still have changed ini to reflect this its still +V|D:\shares\Videos,+V|D:\shares\Other

my hope/guess is that by folder should only return, and from there all sub folders

Videos
Other

God I hope this makes sense to you =)
I'll test this a little later on, for my own sanity

But it the end, its totally stupid that anyone would have to do this
But then again, what choices does one have, and what does one want
sometimes you just gotta make it happen, if at all possible ya 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: Folder Sort

Post by phibertron » Wed Feb 16, 2011 11:27 pm

So I just got done with that test

The good news is that it worked as I thought
It treated the first level folders in each share as folders returned in the buildon for by folder

So for ex:

c:\folder1
c:\folder1\videos

c:\folder2
c:\folder2\Movies

c:\folder3
c:\folder3\Films

Code: Select all

# CSV list of all shares, prepended by the type (A,M,P,V) and a '+' or '-' sign to flag enabled or disabled shares
contentdir=+V|c:\folder1,+V|c:\folder2,+V|c:\folder3
By Folder would return
Films
Movies
Videos

selecting films would then enumerate any sub folders of films

Now the big gotcha is this

If for ex:

c:\folder1
c:\folder1\videos

c:\folder2
c:\folder2\videos

c:\folder3
c:\folder3\Films

By Folder would return
Films
Videos

Note:
By Album would always list all folders from eveywhere

Not sure if this helps achieve your goals
But it might help at least a little I'd hope
As there are not a lot of choices out there that do eveything right
and or work reliably or use optimal system resources etc.

In the end it all depends on how big you collection of stuff is
for ex: I have over 4000 videos, so for me it gets interesting real fast

and then it depends on how much you really need to slice and dice the searching of things

if you give me more exact needs I can try and help modify the tree as best as I know how
within its known limitations of course
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

mrjlaunch
Posts:3
Joined:Fri Feb 11, 2011 12:35 am
AV Hardware:IcyBox IB-NAS4220-B Server
TViX 6640N Client
PS3 Client

Re: Folder Sort

Post by mrjlaunch » Sat Feb 26, 2011 11:33 am

Thanks phibertron,

That's some excellent info, however I'm not that confident changing the structure of ini file and I would really rather not rename and move my folders just to benefit Twonky. I think I'll have to put this on the back burner for now and hope Twonky eventually adds support for mapping folders to nodes.

Cheers

Locked