How do you turn off indexing of folders?

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
rhoster
Posts:2
Joined:Sat Nov 26, 2011 10:48 pm
AV Hardware:Samsung 630 Series LCD, My World Book II Edition NAS, Vista PC, MacBook Pro, PS3, Xbox360
How do you turn off indexing of folders?

Post by rhoster » Sat Nov 26, 2011 11:00 pm

I did a search on the forums and wasn't able to find this addressed previously, but if it already has, please point me in that direction. I have a My World Book Edition II NAS drive that I am using to stream media to my PC/Mac/PS3/Xbox360. I recently consolidated all of my media onto one drive (video and music) which resulted in me getting awful and sometimes not working performance (I also get DLNA errors). I have an incredibly large music collection (30k+ tracks) that I believe is the problem. The thing is, I don't want to share my music as I can already access it just fine; it's only the video that I'm looking to stream.

My problem: I can't seem to get it to not index the music files. I've taken that folder out of the list on the Sharing tab in the config. I've tried rebuilding the database. Tried restarting the server. No matter what I do, it starts by indexing the video files (and picture folder although I have none), then moves onto my shared music folder (not specified) and starts indexing it.

I'm 99% sure this is the cause of my issues because I have a second My World Book Edition II NAS that has a copy of only the video portion (not the music) and it has no issues being streamed and doesn't run into the same DLNA issues.

Both are running version 5.1.9. I am also very comfortable with computers and could reinstall/upgrade the version of twonky on the NAS vis SSH if necessary. Here is a dump from the config on both versions:

The non-working version with music and video (in progress because I just tried to rebuild the db to fix it):

5.1.9
Cache memory: 5930 KB
Last database change: In Progress
Music tracks: 16744
Photos: 0
Videos: 1359

And the working version:

5.1.9
Cache memory: 972 KB
Last database change: 02:05:55
Music tracks: 33
Photos: 0
Videos: 712

Any ideas on how to get it to not index my music and just do the video? Any help is appreciated, 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: How do you turn off indexing of folders?

Post by phibertron » Sat Nov 26, 2011 11:31 pm

I can think of two ways that might help/work

1.
you could make twonky ignore the video directory

(I think this is in 5.x)
# ignore this directory for scanning (can be a comma separated list)
ignoredir=AppleDouble,AppleDB,AppleDesktop,TemporaryItems,.fseventsd,.Spotlight-V100,.Trashes,.Trash,RECYCLED,RECYCLER,RECYCLE.BIN

(This in addition to the above is in v7 beta)
# content folder will be ignored if it contains any files in this list
ignoredirwithfile=.nomedia,.ignorethis


2.
The NAS versions of twonky use the following setting

# for Linux/NAS systems this is the basedirectory used for content sharing (prepended to all shares)
contentbase=

you could possibly use the path of the music folder as the content base
which might/maybe make it also stop scanning beyond this point
not sure though
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

rhoster
Posts:2
Joined:Sat Nov 26, 2011 10:48 pm
AV Hardware:Samsung 630 Series LCD, My World Book II Edition NAS, Vista PC, MacBook Pro, PS3, Xbox360

Re: How do you turn off indexing of folders?

Post by rhoster » Sat Nov 26, 2011 11:34 pm

Thanks, I'll give that a try!

Locked